[texhax] LaTeX, Webpages, and PDF files

Leo sdl.web at gmail.com
Fri Aug 20 06:16:46 CEST 2010

On 2010-08-19 22:40 +0100, Thomas Jacobs wrote:
> Hi there,
> I have an interdisciplinary question regarding the use of LateX for webpages
> and the production of .pdf documents.  Suppose I wish to create a bunch of
> faculty resource pages on my website.  I want them easily accessible for
> faculty desiring a quick answer to something as well as comprehensively
> available in a .pdf document someone could download to read and study on a
> more macro basis which would encompass many of the web pages of material.
>  Is there any way to do this and only maintain the material in one place so
> one could browse website pages or hit a button and download a .pdf file?  I
> know how to do the latter in LaTeX but am unfamiliar with using LaTeX to
> generate web pages.  If one can do this, is it better to compile the .pdf
> documents every time the page material is updated or is there a way to have
> the webpage be smart enough to compile the material into a .pdf document
> whenever someone wishes to download?  Thanks for any thing anyone could
> recommend.  If anyone has good resources for creating web pages with LaTeX
> (assuming that is not nonsensical), that would also be appreciated.
> Sincerely,
> Tom

I am surprised to see that tex2page¹ is rarely mentioned when it comes
to converters. I heard about this tool 8 years ago but only started
using it a few days ago. It understands plain TeX and LaTeX out of box
along with a few traditional packages people use with LaTeX. Everything
else can be programmed in a file jobname.t2p of your project. You can
also program TeX in either scheme or lisp. Check out the short manual on
its web page. Quite a few MIT on-line textbooks are generated by


¹  http://evalwhen.com/tex2page/index.html

More information about the texhax mailing list