book-latex

Summary

The book-latex.ll report program produces a file that, once processed with LaTeX, renders a very book-like descendant (or ancestor) report with a type-set appearance. This report program is based in part upon an earlier report program, register-tex.

What's New

I fixed book-latex so that it can render harmless those characters meaningful to the LaTeX system. In most cases this amounts to just preceeding the special character with a backslash. This is done by wrapping any text output (coming from the user's database) with a function that acts as a filter. It echoes safe characters, and transforms the others.

Additionally, an option was added to supress e-mail addresses of source authors (when the e-mail address is given as a subnode of the AUTHor node using the EMAI tag). In the code of this program, tabs have been replaced with spaces to help ensure consistent indenting (which helps make the code easier to follow).

book-latex.ll

This enhanced report is now available in the CVS reports repository. Or, if you like, here's a direct link to the book-latex.ll log from which you can click on 'download' to obtain the most up-to-date copy. Feel free to e-mail me about any bugs.

Samples

Here are some samples (note how the e-mail addresses are blocked in the bibliographies):

Short Users Guide

A short sequence of questions is asked:

To process the outputfile, one just has to 'typeset' the document. On Unix systems, with a LaTeX package installed, this is just a matter of issuing a few commands.
Here's an excerpt from the comments in the program:

** The output is in LaTeX format.  Therefore, the name of the output file
** should end in ".tex".  To print (assuming the name of the output file is
** "out.tex"):
**      latex out      < ignore lots of warnings about underfull \hboxes >
**      makeindex out  < not all systems have makeindex available
**                       if yours is one, just remove the \input{file.ind} line
**                       from the LaTeX output and skip the 'makeindex'>
**      latex out      < repeat latex-ing to get cross-references resolved>
**      latex out      < needed to get the index into the TOC>   
**                     < you may need to repeat more if Latex  
**                       says so, e.g. if page refs change. >
**      dvips out
**      lpr out.ps
**                     < the last three commands here may be replaced by >
**                       pdflatex out    -- if you have 'pdflatex' and a PDF is
**                       the desired final product >