This appendix lists Hevea files supplied by me, and which are not part of Luc Maranget’s Hevea distribution. Names marked with an asterisk (*) have versions in both the \html and \text subdirectories of the main Hevea directory.
|swp.hva (*)||General SWP support|
|white.hva||Make Hevea produce text on a white background|
|promote.hva (*)||Sections become H1 headings (and so on down) instead of H2|
|star.hva (*)||Sections do not get numbered|
|sqrt.hva||Support for the square-root macro \sqrt.|
|theorem.hva||Support for the theorem package|
|sebase.hva||Basic Style Editor support|
|xhvbc.hva (*)||Support for .hvb and .hvc files|
Names marked with an asterisk (*) are from the general Hevea distribution.
|xxdate.exe (*)||Support for the \today macro, using Windows functions|
|xxdate.cpp (*)||Source for xxdate.exe|
|xdate.exe (*)||Support for the \today macro, using the TZ environment variable|
|xdate.c (*)||Source for xdate.exe|
|bau.zip||Alternate versions of batch files which do not use xhvbc.hva|
|redir.zip||Utility for capturing error messages: see Appendix C|
The distribution includes redir.zip from D.J. Delorie, which provides a way to run Hevea and capture error reports into a file. To use redir:
from a DOS command line. This will capture any messages from Hevea into myerr.txt (and they will not be visible on the screen).
The following is a list of all macros defined in the \html version of swp.hva (the \text version may not have all of them), and their definition types:
Here is the list of warnings produced by Hevea after making all the customizations described through section 18.10 of the Tutorial.
d:\ocaml\hevea\hevea-1999-12-13\html\swp.hva:164: Warning: ignoring definition of \text .\szabo.tex:21: Warning: ignoring definition of \solution .\szabo.tex:24: Warning: defining a macro with \renewcommand, \arraystretch .\szabo.tex:73: Warning: \vspace with arg ``% 1pt'' .\szabo.tex:5503: Warning: Undefined label: standard basis for de .\szabo.tex:7687: Warning: Undefined label: nullspace basis 1 .\szabo.tex:8124: Warning: Undefined label: invertibility:f .\szabo.tex:8184: Warning: Undefined label: invertibility:f .\szabo.tex:8519: Warning: Undefined label: isomorphismtheorem .\szabo.tex:9335: Warning: Undefined label: matrix-column product theorem .\szabo.tex:9336: Warning: Undefined label: matrix-vector combination theorem .\szabo.tex:10679: Warning: Multiple definitions for label: matrix norms .\szabo.tex:11173: Warning: Undefined label: positive eigenvalues .\szabo.tex:11467: Warning: Undefined label: trace inner product on R23 .\szabo.tex:11791: Warning: Multiple definitions for label: pearson .\szabo.tex:12510: Warning: Multiple definitions for label: concrete orthogonal projections .\szabo.tex:13155: Warning: Multiple definitions for label: gram schmidt process .\szabo.tex:15916: Warning: Undefined label: concrete orthogonal projections .\szabo.tex:16093: Warning: Multiple definitions for label: least squares .\szabo.tex:16104: Warning: Undefined label: matrix transformation .\szabo.tex:16106: Warning: Undefined label: image equals column space .\szabo.tex:16668: Warning: Undefined label: orthogonal diagonalizability .\szabo.tex:16772: Warning: Undefined label: matrix-column product theorem .\szabo.tex:18298: Warning: Undefined label: singular value decomposition theorem .\szabo.tex:18321: Warning: Undefined label: mutally orthogonal vectors .\szabo.tex:18390: Warning: Undefined label: zerokernel .\szabo.tex:19150: Warning: Undefined label: orthogonal diagonalizability .\szabo.tex:19566: Warning: Undefined label: inverse eigenvalue theorem
As noted in the text, support for document-specific configuration files is through the Hevea package xhvbc.hva; this is a recent addition to the Hevea-SWP setup, and has not been thoroughly tested. In case this turns out to be flawed, I provide an alternative set of batch files, which take a different approach. If Hevea seems not to be finding its document-specific files, you may want to try these files.
The files are contained in the archive bau.zip, and have the same names as the batch files, but extension .bau. To install them:
Important: the .bau batch files have a significantly different syntax from the “regular” batch files:
The reason is that we need to tell, from a variable number of command-line parameters, which is the source file (so it must come first) and we need to extract just the file name (so you can’t include the extension) in order to make up the full name of the .hvb file. The batch file checks for the existence of the .hvb file associated with your source, and depending on whether it is found, branches to a different Hevea command line.
This Appendix explains how to set up Steve Mayer’s TEX-Converter, a graphical front-end to TEX conversion programs, to work with the SWP version of Hevea. We will be setting up a series of Configurations, which you can select using the Load Configuration button on the Converter. The names of the configurations will correspond to the names of the batch files discussed here, except that we do not support fhevea for running Hevea as a filter.
Assuming you’ve successfully installed the TEX-Converter, and have the correct paths set up for Hevea, here’s how to configure it for the SWP support:
In the Excluded File box enter tcilatex.tex. Then for each column in the table below
|- - - - - -||swp.hva||swp.hva||swp.hva||swp.hva|
|- - - - - -||article.hva||book.hva||book.hva|
|- - - - - -||- - - - - -||- - - - - -|
Now check the radio button marked Text and enter one more configuration:
|- - - - - -|
The TEX-Converter is now ready to use with Hevea-for-SWP. For example, to convert the Style-Editor book szabo.tex to HTML using the converter’s version of the sebook batch file: