worstead has asked for the wisdom of the Perl Monks concerning the following question:

How do I find the following error from running latex on my .tex file?

! Missing $ inserted.
<inserted text> 
                $
l.6   \item
            $<$, less than, 13
? x

By looking at my .ind file I find the following:

  \item !, shebang, 7
  \item !=, not equal, 13
  \item $, \${29}
  \item $<$, less than, 13

If I remove "\item $, \${29}" from the .ind file the .dvi file is produced without apparent problems. I have searched the .tex file line by line but cannot find the errant missing $. What does {29} refer to? The .dvi output page?

Update: Fixed closing <p> tags and updated title, per Consideration. (footpad, 24 Sep 2019)

Replies are listed 'Best First'.
Re: Finding error in .ind file (OT)
by rjt (Curate) on Sep 21, 2019 at 17:24 UTC

    Hi worstead!

    This is perlmonks. We deal with the Perl programming language. TeX is pretty far off-topic, so you might not get much help here. You will find more help on a TeX or LaTeX forum. When you do find such a forum, I'd also suggest posting a more complete code snippet that demonstrates your problem. The always-helpful How do I post a question effectively?, while written for this site and with Perl examples, applies pretty well universally when asking for programming help.

Re: Finding error in .ind file (OT) (TeX is OT)
by LanX (Saint) on Sep 21, 2019 at 17:06 UTC
    uhm ... how is this a Perl question???

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Re: Finding error in .ind file (OT)
by worstead (Acolyte) on Sep 21, 2019 at 18:04 UTC
    Sorry wrong site. worstead