Next: Question 14 Up: Common Things People Want To Know Top: Top

[13] Can I use LaTeX with FWEB?

In principle, you may use any package of TeX macros you like. However, an arbitrary macro package may contain conflicts with macros used in fwebmac.sty. Such conflicts are supposed to be eliminated for LaTeX).

As for LaTeX which is probably the package most widely used, you have to do two things at minimum [M-20.7.22]:

In most cases, to use LaTeX with FWEB it suffices to just say `latex test' instead of `tex test'. (I.e., an attempt is made to hide internally whatever differences there are.) It never hurts, and sometimes helps, to use the command-line option -PL (select post-processor LaTeX). To print a | in a verbatim environment, use @|, like: `\begin{verbatim} ... @| ... \end{verbatim}'.

Since FWEB overrides the `\output' routine of LaTeX, some clever page layout facilities will not work - e.g. there are no floating bodies: while the `table' environment is lost, the `tabular' environment still works. See [M-19.22] for details.

Bart Childs reports that the use of AMSTeX causes some problems but that it has been done.

Difficulties with using LaTeX should be reported directly to Krommes.

For bringing in `lex' and `yacc' scripts and the problem of using LaTeX's `\footnote', See Question 14.