###
Support for FoilTeX

The FoilTeX system presents some additional problems for LATEX2`HTML`:

- It has additional commands like `\foilhead` and `\rotatefoilhead`, that roughly correspond to sectioning commands,
- The images are produced at the sizes suitable for large screen presentation, but not for the HTML.

The package `foils.perl` deals with these problems. It treats foils as starred subsections and ignores FoilTeX-specific commands that have no meaning for HTML, like `\LogoOn`. The header `\documentclass[`+`options``]{foils}` in the `images.tex` file is substituted by the header `\documentclass[``$FOILOPTIONS``]{``$FOILCLASS``}`, where the variables `$FOILOPTIONS` and `$FOILCLASS` can be set in the configuration file (by default they are `'10pt'` and `'article'` correspondingly). A further variable `$FOILHEADLEVEL` holds the level of sectioning at which a `foil' is to correspond; the default level is 4 (sub-section).

The LATEX style file `foilhtml.sty` in the `texinputs/` directory provides some additional features for FoilTeX. It implements structural markup commands like `\section`, `\tableofcontents` for foils. See the directory `docs/foilhtml/` for the details.