Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse

Direc­tory tex-archive/support/plastex

Installation of this package is done just like any other Python package.
See the INSTALL file for details.

Once you have plasTeX installed, you can use the command-line utility,
called "plastex" just like latex or pdflatex.  For example, if you
have a LaTeX file called mybook.tex, simple run:

    plastex mybook.tex

This will convert mybook.tex into XHTML (the default renderer).  Of course,
there are many options to control the execution of plastex.  Simply type
"plastex" on the command line without options or arguments to see the
full list of command-line options.

It is also possible to write your own command-line utilities that leverage
the power of the plasTeX framework.  In fact, the essence of the "plastex"
command can be written in just one line of code (not including the Python
import commands):

    import sys
    from plasTeX.TeX import TeX
    from plasTeX.Renderers.XHTML import Renderer
    Renderer().render(TeX(file=sys.argv[1]).parse())

plasTeX is really much more than just a LaTeX-to-other-format converter 
though.  See the documentation at http://plastex.sf.net/ for a complete
view of what it is capable of.

Files

Name Size Date Notes
README 1145 2007-11-29 01:17
plastex-0.9.2.tgz 865856 2009-07-01 05:20

plasTeX – A LaTeX to HTML trans­la­tor

Plas­tex is a Python-based LaTeX doc­u­ment pro­cess­ing frame­work. It gives DOM-like ac­cess to a LaTeX doc­u­ment, as well as the abil­ity to gen­er­ate mulit­ple out­put for­mats (e.g. HTML, DocBook, tBook, etc.).

Pack­age De­tailsplasTeX
Home pagehttp://plas­tex.source­forge.net/
Ver­sion0.9.2
Li­censeFree li­cense not oth­er­wise listed, or more than one free li­cense ap­plies
Main­tainerKevin Smith
Topics gen­er­ate HTML from TeX-ish sources
Guest Book Sitemap Contact