Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
TeX2page
[go: Go Back, main page]

TEX2page

 Dorai Sitaram 
 Download Version 20070803 
 (A copy is included in PLT Scheme

 [t2p.png] 



Making books is a skilled trade,
like making clocks.

— Jean de la Bruyère (†1696)

TeX2page makes Web pages from TeX [27] manuscripts. It reads an input document that is marked up in plain TeX or LaTeX [29] 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. Thus, TeX2page demands no additional expertise of a user already familiar with TeX. TeX2page runs on modern Schemes and Common Lisp.

There are several advantages to keeping the document source in TeX and leaving the task of converting to HTML to TeX2page: There is no need to write and maintain two separate documents, one for paper and the other for the screen. Indeed, there is no need to learn a new input format, as TeX2page reuses a format already in wide and stable use for printed documents [10396]. Creating TeX source requires no special-purpose software; any text editor will do. Furthermore, powerful and reliable tools such as BibTeX [34], MakeIndex [28], and MetaPost [20] have developed around TeX, and their benefits can be enjoyed by TeX2page too.

Finally, 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:

        I  Running TeX2page
        II  TeX commands
        III  TeX2page commands
        IV  TeX commands with a difference
        V  Referring to external documents
        VI  Flags
        VII  Style
        VIII  Verbatim text
        IX  Images
        X  Scheme as TeX’s extension language
        XI  Recovery from errors
        A  Auxiliary files
        B  Bibliography
        C  Concept index
        D  Downloading and installing TeX2page

Last modified: Saturday, March 3rd, 2007 7:19:21am US/Eastern