Pdx

Pdx Home Page

 

Table of Contents

NAME

-
pdx2html.py convert to HTML
pdx2latex.pyconvert to LaTeX
pdx2docbook.pyconvert to SGML in Docbook format

USAGE

  pdx2html.py [options] myfile.pdx

DESCRIPTION

Pdx is a translator which reads a simple markup language (pasically, perl's POD format) and generates outputs. It extends the syntax with features from sdf.

See also:

OPTIONS

-
Name Default Command line option Comment
toc_p 1 --toc or --notoc make a table of contents
index_p 0 --index or --noindex make an index
expand_p 0 --expand or --noexpand expand @...@ values
numbered_heads_p0 --numbered_heads Number headings, e.g. 1.1, 1.1.1, etc.

EXAMPLES

hello.pdx
The main input file.

default_cfg.pdx
The default configuration for all documents in this area

article_style.pdx
This local file provides redirection to a common article_style which calls the driver specific style. For html, that is: html_article.pdx. (You will have to view page source to see this file clearly.)

Of course, you can also make up your own style sheets.

hello.html
The HTML output when you run pdx2html hello.pdx

See testcases for more examples.

 
Creator: Harry George
Updated/Created: 2002-06-24