Recommended Exercises

  1. Download doc4.tex and compile the file with the commands pdflatex, xhlatex, and mzlatex. View the output web pages with a browser.
  2. Download doc5.tex and compile the file with the command xhlatex doc5 "html,3"’. Check the log file to how the index should be created.
  3. Download the files file.tex and cfile.cfg and invoke the command ‘xhlatex file "cfile"’.
  4. Download doc8.tex and do the following.
    • Compile the file with the ‘mzlatex doc8’ command.
    • Validate the doc8.xml file created by the compilation.
    • Use the messages of the validator to locate in doc8.xml where the first error is.
    • The XML file carries comments similar to <!--l. ...--> pointing to line numbers of the source LaTeX file. Use those pointers to locate the first error in the source LaTeX file.

33, prev, up, toc