\inputcss to have your HTML output use style
sheets [27, 18, 21]. E.g.,
\ifx\shipout\UnDeFiNeD % HTML only \inputcss basic.css \fi
in your TeX source will cause the HTML output to
use the presentation advice contained in the
style sheet basic.css.
In the style sheet, you can have rules for the various HTML elements to change the appearance of your document. E.g., if you do not want your HTML page width to increase beyond a certain point (regardless of how the wide the reader makes their browser window), you could put the following in your style sheet:
body {
max-width: 36em;
}
You can get finer control on the look of your document by defining rules for some classes that are peculiar to TeX2page. These special classes are discussed in this manual alongside the commands that they govern (p. 8).
You can have as many \inputcss’s in your
document as you wish. They will be combined in
the sequence in which they appear. It is perhaps
necessary to add that style sheets are completely
optional.
You can also embed style sheet information
in the TeX source between the control sequences
\cssblock and \endcssblock. E.g.,
\ifx\shipout\UnDeFiNeD % HTML only
\cssblock
body {
max-width: 36em;
}
\endcssblock
\fi
You can
have multiple \cssblocks in the document; they
are all evaluated in sequence.
TeX2page generates a very basic default style
that
does little beyond setting some margins. You
can augment or override the default style by supplying your
own style info via \cssblock or by loading
stylesheets with \inputcss. Some general-purpose
style sheets are the W3C Core
Styles [28].
t2pslides.tex by embedding
\input t2pslides anywhere in the document. t2pslides.tex is included
in the TeX2page distribution, and uses a version of the
MozPoint [23] library to produce the appropriate
Javascript and style sheets to convert your sequence of HTML
pages into a Web presentation. t2pslides.tex has no
effect on the DVI version of the document.
HTML pages meant for presentation use larger, bolder fonts, and
avoid navigation bars. To bring up the next slide, left-click the mouse
anywhere on the screen, or press the space bar, n, right or down
arrow. To go back to the previous slide, right-click the
mouse, or press p, left or up arrow.
To go immediately to the first (i.e., title) slide, press t or 0. To go
immediately to the nth slide after the title slide, type n. If n has
two or more digits, they should be pressed fairly rapidly so that they are
interpreted together. To blank the screen, press b
(black) or w (white); to unblank, press the same key again.