nrao nrao
next up previous contents index home.gif
Next: 5 General Practice Up: 4 Installation and Configuration Previous: 4.4 Initialization file

4.5 NRAO-specific modifications to LaTeX2HTML

When using LATEX2HTML for documents that will be published on the NRAO web pages, it is useful if the HTML output incorporates the standard NRAO server-side includes so that it conforms to the observatory's uniform web style. If you obtained your copy of LATEX2HTML from the NRAO distribution on Cvsnap1, it contained the option to do this, which you can exercise by setting the variables

$NRAO = 1;
$ALLOW_SSI = 1;

in the initialization file. The first setting activates the NRAO options, and the second tells LATEX2HTML to write out the files with .shtml extensions that will invoke the server-side includes when installed on an NRAO web server.

Setting

$NRAO = 0;
$ALLOW_SSI = 0;

in the initialization file will produce the default (i.e., non-NRAO-specific) LATEX2HTML output.

If you did not obtain your LATEX2HTML from Cvsnap1, you can add the NRAO options to it by hand-editing the master perl script (latex2html.bat in the Windows version) exactly as described for latex2html.pin in TEX, LATEX, and HTML Tools for Windows PC's (the line numbers to be edited will not be identical to the example shown there, but the required perl code changes are exactly the same).

NOTE: The cvsnap1 file server no longer exists and Alan Bridle has retired from the NRAO, but you may still contact him by email if you are interested in resurrecting these tools.


next up previous contents index home.gif
Next: 5 General Practice Up: 4 Installation and Configuration Previous: 4.4 Initialization file


Home | Contact Us | Directories | Site Map | Help | Search


2001-06-08