next up previous contents index
Next: Fancy List-Markers Up: Environments and Special Features Previous: Document Classes and Options   Contents   Index


Packages and Style-Files

325
Similar to the document-class mechanism described in the previous section, LATEX2HTML provides a mechanism whereby the code to translate specific packages and style-files is automatically loaded, if such code is available. For example, when use of a style such as german.sty is detected in a LATEX source document, either by the translator looks for a corresponding .perl file having the same file-name prefix; e.g. the file $LATEX2HTMLDIR/styles/german.perl. If such a .perl file is found, then its code will be incorporated with the main script, to be used as required.


This mechanism helps to keep the core script smaller, as well as making it easier for others to contribute and share solutions on how to translate specific style-files.
change_begin96.1
The current distribution includes the files to support the styles listed in the table below. These provide good examples of how you can create further extensions to LATEX2HTML.
change_end 96.1

330

Table 6: Supported LATEX2HTML style-files.
.perl file Description 
alltt335 Supports the LATEX2e's alltt package.
amsfonts336 provides recognition of the special AMS font symbols.
amsmath337 same as amstex.perl.
amssymb338 same as amsfonts.perl.
amstex339 Supports much of the AMS-LATEX package (not yet complete).
babel340 Interface to german.perl via the babel package.
changebar341 Provides rudimentary change-bar support.
chemsym342 defines the standard atomic symbols.
color343 Causes colored text to be processed as ordinary text by LATEX2HTML.
colordvi344 supports the Crayola colors.
enumerate345 supports structured labels for enumerate environments.
epsbox346 Processes embedded figures not enclosed in a figure environment.
epsfig347 Processes embedded figures not enclosed in a figure environment.
floatfig348 Processes floating figures.
floatflt349 Processes floating figures and tables.
foils350 Supports FoilTeX system.
frames351 Provides separate frames for navigation and footnotes.
francais352 Special support for the French language, same as french.perl.
french353 Special support for the French language.
german354 Special support for the German language.
germanb355 Special support for the German language, same as german.perl.
graphics356 Supports commands in the graphics package.
graphicx357 Supports the alternate syntax of graphics commands.
harvard358 Supports the harvard style of citation (same as fnnharvard.perl).
heqn359 Alters the way displayed equations are processed.
hthtml360 gives an alternative syntax for specifying hyperlinks, etc.
htmllist361 Provides support for fancy lists.
justify362 supports paragraph alignment--no longer needed.
latexsym363 supports the LATEX symbol font.
lgrind364 macros for nice layout of computer program code.
longtable365 366 supports use of long tables, as a single table.
makeidx367 provides more sophisticated indexing.
multicol368 suppresses requests for multi-columns.
natbib369 Supports many different styles for citations and bibliographies.
nharvard370 Supports harvard-style citations, using natbib.
seminar371 for creation of overhead-presentation slides.
supertabular372 supports use super-tables, as an ordinary table.
texdefs373 Supports some raw TEX commands.
verbatim374 Supports verbatim input of files.
verbatimfiles375 Supports verbatim input of files, also with line-numbering.
wrapfig376 Supports wrapped figures.
xspace377 Supports use of the xspace package and \xspace command.
xy378 379 Supports use of the XY-pic graphics package.

The problem however, is that writing such extensions requires an understanding of Perl programming and of the way the processing in LATEX2HTML is organised. Interfaces that are more ``user-friendly'' are being investigated. Some of the techniques currently used are explained in a later section.


next up previous contents index
Next: Fancy List-Markers Up: Environments and Special Features Previous: Document Classes and Options   Contents   Index
Markus Pilzecker
1998-12-14