-Please see the troubleshooting section in the Tex2RTF manual, but
-here is one important tip:
-
- If you get a "Macro not found: \end{document}" error,
- this is a spurious side-effect of an earlier error, usually an
- incorrect number of arguments to a command. The location of the
- true error is then anywhere in the document.
-
- To home in on the error, try putting \begin{comment}...\end{comment}
- around much of the document, and then move the \begin{comment}
- line down until the error manifests itself again. Note that
- you can abort Tex2RTF after the syntax error stage by clicking
- on the close button, so you don't have to wait while the whole
- document is processed.
-
- Before looking at a file in detail, you can comment out the
- \input{myclass.tex} line in classes.tex using the single
- line comment character (%) to see whether it was that file that
- caused the problem.
-
- When making changes/additions to the documentation, always use
- the '-checkcurleybraces' and '-checksyntax' commandline parameters
- (or turn these options on in the GUI version via the OPTIONS menu
- choice), BEFORE checking in your changes. These two debugging
- options will catch many of the more common mistakes that are made
- while writing documents, plus they will catch some of the uses
- of TeX that are correct syntax-wise, but that tex2rtf cannot
- handle properly, and report the problems (usually along with
- a filename and line number that they occur in!) in the programs
- output window (GUI mode).
-
-Elements in a class file
-========================