Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1025150
  • 博文数量: 231
  • 博客积分: 10469
  • 博客等级: 上将
  • 技术积分: 2219
  • 用 户 组: 普通用户
  • 注册时间: 2005-10-20 10:26
文章分类

全部博文(231)

文章存档

2017年(1)

2013年(2)

2012年(5)

2011年(14)

2010年(3)

2009年(7)

2008年(11)

2007年(130)

2006年(57)

2005年(1)

我的朋友

分类: LINUX

2006-10-13 20:46:45

TEX2page

  
 Download  
 (A copy is included in ) 

 [t2p.png] 



Making books is a skilled trade,
like making clocks.

— Jean de la Bruyère (†1696)

TeX2page makes Web pages from TeX [] manuscripts. It reads an input document that is marked up in plain TeX or LaTeX [] 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 [, , ]. Creating TeX source requires no special-purpose software; any text editor will do. Furthermore, powerful and reliable tools such as BibTeX [], MakeIndex [], and MetaPost [] 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:

       
       
       
       
        V  Referring to external documents
       
       
       
       
       
       
       
       
       
       

Last modified: Friday, June 23rd, 2006 2:47:00pm US/Eastern
阅读(885) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~