--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To post to this group, send email to latexus...@googlegroups.com.
To unsubscribe from this group, send email to latexusersgro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/latexusersgroup?hl=en.
One particularly painful thing to find is an error in the macros that you've
created. That can lead the compiler to point to locations where the macro
is used and report some bizarre error occurring there, when in reality, the
error is in the definition of the macro, which is defined somewhere else
entirely.
For example, your macro could use a parenthesis when it should have used a
brace. Then, when you call it, the call will look ok, \mymacro{x}, but the
problem may be in the definition of \mymacro itself.
It sucks to have to do that, and its time consuming, but that always works
for me.
Good luck...
James
--------------------------------------------------
From: "Gerry Wolff" <gerryw...@gmail.com>
Sent: Monday, November 08, 2010 7:05 AM
To: "LaTeX Users Group" <latexus...@googlegroups.com>
Subject: [latexusersgroup] Checking for errors in a latex document
"Runaway argument?" - You either forgot a "{" or maybe have "(" or "["
instead of a "{", or maybe don't have a "}" or have a ")" or "]" instead.
If you have the latter, the
"Undefined control sequence". You either forgot to define this command
entirely, or have a typo in the command's name where it is defined, or where
it is used. *command names are case sensitive and you cannot have a number
in a command name: "mymacro" is ok but "mymacro1" is not. The second
results in weird things such as maybe a "Missing \begin{document}.
Hope that helps, too
James
--------------------------------------------------
From: "James" <james_mc...@hotmail.com>
Sent: Monday, November 08, 2010 9:59 AM
To: <latexus...@googlegroups.com>
Subject: Re: [latexusersgroup] Checking for errors in a latex document
To answer the original question, the only real syntax checker is LaTeX itself. Learning to read the log file is a valuable skill.
///Peter
On 8 Nov 2010 15:55, "Gerry Wolff" <gerryw...@gmail.com> wrote:
Thanks very much for both tips. I've tried commenting out sections of
the text and finally tracked down where the error is and corrected it.
Thanks again.
Gerry
On Nov 8, 3:14 pm, "James" <james_mcelhan...@hotmail.com> wrote:
> One more thing... search the log...
> From: "James" <james_mcelhan...@hotmail.com>
> Sent: Monday, November 08, 2010 9:59 AM
> To: <latexus...@googlegroups.com>
> Subject: Re: [l...
> > From: "Gerry Wolff" <gerrywolf...@gmail.com>
> > Sent: Monday, November 08, 2010 7:05 AM
> > To: "LaTeX Users Group" <latexusersgroup@googlegroup...