README.XML.STUFF 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ----------------------------------------------------------------
  2. This file is part of bzip2/libbzip2, a program and library for
  3. lossless, block-sorting data compression.
  4. bzip2/libbzip2 version 1.0.8 of 13 July 2019
  5. Copyright (C) 1996-2019 Julian Seward <jseward@acm.org>
  6. Please read the WARNING, DISCLAIMER and PATENTS sections in the
  7. README file.
  8. This program is released under the terms of the license contained
  9. in the file LICENSE.
  10. ----------------------------------------------------------------
  11. The script xmlproc.sh takes an xml file as input,
  12. and processes it to create .pdf, .html or .ps output.
  13. It uses format.pl, a perl script to format <pre> blocks nicely,
  14. and add CDATA tags so writers do not have to use eg. &lt;
  15. The file "entities.xml" must be edited to reflect current
  16. version, year, etc.
  17. Usage:
  18. ./xmlproc.sh -v manual.xml
  19. Validates an xml file to ensure no dtd-compliance errors
  20. ./xmlproc.sh -html manual.xml
  21. Output: manual.html
  22. ./xmlproc.sh -pdf manual.xml
  23. Output: manual.pdf
  24. ./xmlproc.sh -ps manual.xml
  25. Output: manual.ps
  26. Notum bene:
  27. - pdfxmltex barfs if given a filename with an underscore in it
  28. - xmltex won't work yet - there's a bug in passivetex
  29. which we are all waiting for Sebastian to fix.
  30. So we are going the xml -> pdf -> ps route for the time being,
  31. using pdfxmltex.