TeX2page

 Dorai Sitaram 

  

TeX2page makes Web pages from TeX documents. It reads an input document that is marked up in a TeX format (viz, plain TeX, LaTeX, Texinfo), and produces an output document with the functionally equivalent HTML markup. TeX2page uses the same input file syntax, calling conventions, and error-recovery mechanisms as TeX, and thus demands no additional expertise of a user already familiar with TeX.

There are several advantages to keeping the document source in TeX: (1) There is no need to write and maintain two separate documents, one for paper and the other for the screen. (2) Creating TeX documents requires no special-purpose software; any text editor will do. (3) TeX is stable. It has a mature tradition and widespread intellectual resources behind it [5]. It is here to stay for at least a couple of centuries. (4) Powerful and reliable tools such as BibTeX [34], MakeIndex [3], and MetaPost [20] have developed around TeX, and their benefits can be enjoyed by TeX2page too. (5) TeX, unlike HTML, is a programming language, which lets the composer of the document exercise a fine control over its structure and presentation. A converter such as TeX2page that can convert TeX macro definitions in addition to basic TeX markup enables the format converted to to also benefit from TeX's extensibility.

For the cases where TeX2page's implementation of the TeX macro system is not manipulable enough, the document writer can use the TeX2page extension language, which is full Scheme augmented with all the TeX2page procedure definitions.

The rest of this manual is organized as follows:

    1  Running TeX2page
    2  TeX and TeX2page commands
    3  Sections
    4  Verbatim text
    5  Cross-references
    6  Images
    7  Style sheets
    8  Paper and screen
    9  Scheme as TeX's extension language
    10  Recovery from errors
    A  Auxiliary files
    B  Bibliography
    C  Concept index

Last modified: Wed, Dec 18, 2002, 2:44 pm US/Eastern
HTML conversion by TeX2page 4p14a