README 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. This directory contains a number of auxiliary files that are used by the
  2. docbook build system to convert the documentation in docbook-xml format to
  3. various output formats.
  4. * catalog.xml:
  5. This is a XML catalog file. The file is used by the tools that process
  6. docbook sources to map public identifiers, which are commonly found in
  7. docbook source files, such as
  8. "-//OASIS//DTD DocBook XML V4.3//EN"
  9. to local files. The default version of the file refers to a generic
  10. catalog file that is commonly found in /etc/xml/catalog.
  11. You can modify the file if you want to use a particular version of docbook
  12. schema files or XSL stylesheets to produce the output. This is very useful
  13. because there is no need to modify source docbook files, the catalog file
  14. can be used to re-map the public identifier in those files to a local (and
  15. possibly customized) version of the schema or stylesheets.
  16. * common.xsl:
  17. This file contains docbook XSL stylesheet customizations that are shared
  18. by all output-specific XSL files, for example, the code that strips
  19. leading and trailing whitespace in <screen> sections is located here.
  20. * dep.xsl:
  21. This file contains a special XSL stylesheet which can be used to produce a
  22. file with dependencies for any given docbook source file. The stylesheet
  23. traverses docbook documents and looks for files included with the
  24. xi:include mechanism, or for files included by docbook tags, such as
  25. images, screen listings, etc. The list of dependencies is then written in
  26. a separate file and the file can be included in a Makefile that is used to
  27. build documentation. This is all done by the docbook makefile system.
  28. * html.chunked.xsl:
  29. The stylesheet in this file is used to generate HTML output split in
  30. multiple files. This is useful if you need to generate HTML files with
  31. documentation for browsers that do not support XHTML.
  32. * Makefile:
  33. This is the main Makefile of the Docbook build system. Rules implemented
  34. in this Makefile can be used to validate docbook documents, generate lists
  35. of dependendies, generate HTML, plain-text, READMEs, and other output
  36. formats out of docbook documents. This file is not meant to be used
  37. directly. Instead, each directory with docbook source files should have
  38. its own minimal Makefile which includes this file.
  39. * man.xsl:
  40. This stylesheet can be used to convert docbook sources into man pages. The
  41. docbook build system uses this stylesheet to convert docbook files with
  42. man pages contents to real man pages, some modules contain such docbook
  43. files.
  44. * readme.xsl:
  45. This stylesheet is used to generate module README files from docbook sources.
  46. * sr-doc.css:
  47. The CSS stylesheets that are used for online HTML documentation generated
  48. from docbook sources.
  49. * txt.xsl:
  50. The XSL stylesheet used to generate plain text version of the
  51. documentation. XHTML stylesheets are used to generate XHTML code that is
  52. then fed to lynx to produce plain a text version. This stylesheet contains
  53. XHTML customization that are applied only when a plain-text output is
  54. desired.
  55. -- Jan Janak <[email protected]>