## Customising the Layout of HTML pages

LATEX2`HTML` is a program for creating hyperlinked sets of `HTML` pages from a document marked-up using LATEX commands. Previous sections have discussed the results of specific LATEX commands. In this section we discuss instead the extensive range of command-line switches and options, and other aspects of Perl code, that affect the way the translation is performed.

To use LATEX2`HTML` to translate a file `<file>.tex` containing LATEX commands, type:

> `latex2html` `<file>.tex`

This will create a new directory called `<file>` which will contain the generated `HTML` files, some log files and possibly some images. To view the result use an `HTML` browser, such as NCSA Mosaic or Netscape Navigator, on the main `HTML` file which is ``<file>`/`<file>`.html`. The file will contain navigation links to the other parts of the generated document.The `.tex` suffix is optional and will be supplied by the program if it is omitted by the user. Other suffixes are acceptable also, such as `.doc`.

It is possible to customise the output from LATEX2`HTML` using a number of command-line options with which you can specify:

- how to break up the document;
- where to put the generated files, and what are their names;
- the title for the whole document;
- the signature at the end of each page is;
- how many navigation panels to provide, what links to put in them;
- what other documents this one links to;
- extra information to include about the document;
- whether to retain the original LATEX section-numbering scheme;
- and many other things that affect how the information is obtained, processed or displayed in the resulting `.html` files and images.

The LATEX2`HTML` script includes a short manual which can be viewed with the command:

      perldoc latex2html

- Developing Documents using LATEX2`HTML`
- Command-Line Options
  - Options controlling Titles, File-Names and Sectioning
  - Options controlling Extensions and Special Features
  - Switches controlling Image Generation
  - Switches controlling Navigation Panels
  - Switches for Linking to other documents
  - Switches for Help and Tracing
  - Other Configuration Variables, without switches
- Extending the Translator
  - Asking the Translator to Ignore Commands
  - Asking the Translator to Pass Commands to LATEX
  - Handling ``order-sensitive'' Commands
- Customising the Navigation Panels