2011-08-17 21:48:49 +02:00
|
|
|
----------------------------------------------------------------
|
|
|
|
This file is part of bzip2/libbzip2, a program and library for
|
|
|
|
lossless, block-sorting data compression.
|
|
|
|
|
|
|
|
bzip2/libbzip2 version 1.0.5 of 10 December 2007
|
|
|
|
Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
|
|
|
|
|
|
|
|
Please read the WARNING, DISCLAIMER and PATENTS sections in the
|
|
|
|
README file.
|
|
|
|
|
|
|
|
This program is released under the terms of the license contained
|
|
|
|
in the file LICENSE.
|
|
|
|
----------------------------------------------------------------
|
|
|
|
|
2005-08-02 10:57:26 +02:00
|
|
|
The script xmlproc.sh takes an xml file as input,
|
|
|
|
and processes it to create .pdf, .html or .ps output.
|
|
|
|
It uses format.pl, a perl script to format <pre> blocks nicely,
|
|
|
|
and add CDATA tags so writers do not have to use eg. <
|
|
|
|
|
|
|
|
The file "entities.xml" must be edited to reflect current
|
|
|
|
version, year, etc.
|
|
|
|
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
|
2011-08-17 21:48:49 +02:00
|
|
|
./xmlproc.sh -v manual.xml
|
2005-08-02 10:57:26 +02:00
|
|
|
Validates an xml file to ensure no dtd-compliance errors
|
|
|
|
|
2011-08-17 21:48:49 +02:00
|
|
|
./xmlproc.sh -html manual.xml
|
2005-08-02 10:57:26 +02:00
|
|
|
Output: manual.html
|
|
|
|
|
2011-08-17 21:48:49 +02:00
|
|
|
./xmlproc.sh -pdf manual.xml
|
2005-08-02 10:57:26 +02:00
|
|
|
Output: manual.pdf
|
|
|
|
|
2011-08-17 21:48:49 +02:00
|
|
|
./xmlproc.sh -ps manual.xml
|
2005-08-02 10:57:26 +02:00
|
|
|
Output: manual.ps
|
|
|
|
|
|
|
|
|
|
|
|
Notum bene:
|
|
|
|
- pdfxmltex barfs if given a filename with an underscore in it
|
|
|
|
|
|
|
|
- xmltex won't work yet - there's a bug in passivetex
|
|
|
|
which we are all waiting for Sebastian to fix.
|
|
|
|
So we are going the xml -> pdf -> ps route for the time being,
|
|
|
|
using pdfxmltex.
|