README 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. ----------------------------------------------------------------------
  2. README file for the DocBook XSL Stylesheets
  3. ----------------------------------------------------------------------
  4. $Id: README 9731 2013-03-17 05:01:54Z bobstayton $
  5. These are XSL stylesheets for transforming DocBook XML document
  6. instances into various output formats.
  7. This README file provides only very minimal documentation on using
  8. the stylesheets. For more complete information, see Bob Stayton's
  9. book "DocBook XSL: The Complete Guide", available online at:
  10. http://www.sagehill.net/docbookxsl/
  11. ----------------------------------------------------------------------
  12. Installation
  13. ----------------------------------------------------------------------
  14. See the INSTALL file for information about installing this release.
  15. ----------------------------------------------------------------------
  16. How to use the stylesheets
  17. ----------------------------------------------------------------------
  18. The base canonical URI for these stylesheets is:
  19. http://docbook.sourceforge.net/release/xsl/current/
  20. You call any of the stylesheets in this distribution by doing one
  21. of the following:
  22. - Use the base canonical URI in combination with one of the
  23. pathnames below. For example, for "chunked" HTML, output:
  24. http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
  25. If your system has a working XML Catalog or SGML Catalog setup
  26. (most Linux systems do), then that URI will automatically be
  27. resolved and replaced with a local pathname on your system.
  28. - Use a "real" local system base path in combination with one of
  29. the pathnames below. For example, for "chunked" HTML, output:
  30. /usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl
  31. To transform documents created with the standard DocBook
  32. schema/DTD, use one of the following stylesheets:
  33. fo/docbook.xsl - for XSL-FO
  34. html/docbook.xsl - for HTML (as a single file)
  35. html/chunk.xsl - for HTML (chunked into multiple files)
  36. html/onechunk.xsl - for HTML (chunked output in single file)
  37. xhtml/*.xsl - for XHTML versions of the above
  38. xhtml-1_1/*.xsl - for XHTML 1.1 versions of the above
  39. xhtml5/*.xsl - for XHTML5 versions of the above
  40. epub/docbook.xsl - for .epub version 2 and earlier
  41. epub3/docbook.xsl - for .epub version 3 and later
  42. htmlhelp/htmlhelp.xsl - for HTML Help
  43. javahelp/javahelp.xsl - for JavaHelp
  44. eclipse/eclipse.xsl - for Eclipse Help
  45. manpages/docbook.xsl - for groff/nroff man pages
  46. */profile-* - single-pass-profiling versions of all above
  47. roundtrip/*.xsl - for DocBook to WordML, etc., to DocBook
  48. assembly/assemble.xsl - converts an assembly into a DocBook document
  49. assembly/topic-maker-chunk.xsl
  50. - converts a DocBook document into an assembly
  51. with topic files.
  52. webhelp/build.xml - Ant script to generate webhelp output.
  53. webhelp/Makefile - Makefile to generate webhelp output.
  54. To transform documents created with the DocBook Slides schema/DTD,
  55. use one of the following stylesheets:
  56. slides/xhtml/*.xsl - for XHTML slides of various kinds
  57. slides/fo/plain.xsl - for XSL-FO slides
  58. To transform documents created with the DocBook Website
  59. schema/DTD, use one of the following stylesheets:
  60. website/website.xsl - for non-tabular, non-chunked output
  61. website/tabular.xsl - for tabular, non-chunked output
  62. website/chunk-* - for chunked output
  63. To generate a titlepage customization layer from a titlepage spec:
  64. template/titlepage.xsl
  65. For fo titlepage customizations, set the stylesheet parameter named 'ns'
  66. to 'http://www.w3.org/1999/XSL/Format' when using this stylesheet.
  67. For xhtml titlepage customizations, set the stylesheet parameter named 'ns'
  68. to 'http://www.w3.org/1999/xhtml' when using this stylesheet.
  69. For details about creating titlepage spec files and generating and
  70. using titlepage customization layers, see "DocBook XSL: The
  71. Complete Guide" <http://www.sagehill.net/docbookxsl/>
  72. ----------------------------------------------------------------------
  73. Manifest
  74. ----------------------------------------------------------------------
  75. AUTHORS contact information
  76. BUGS about known problems
  77. COPYING copyright information
  78. INSTALL installation instructions
  79. README this file
  80. RELEASE.* per-release cumulative summaries of user-visible changes
  81. TODO about planned features not yet implemented
  82. VERSION release metadata, including the current version
  83. number (note that the VERSION file is an XSL stylesheet)
  84. NEWS changes since the last public release (for a cumulative list of
  85. changes, see the ChangeHistory.xml file)
  86. assembly/ for making and processing DocBook assemblies.
  87. common/ code used among several output formats (HTML, FO, manpages,...)
  88. docsrc/ documentation sources
  89. eclipse/ for producing Eclipse Help
  90. epub/ for producing .epub version 2.
  91. epub3/ for producing .epub version 3 and beyond.
  92. extensions/ DocBook XSL Java extensions
  93. fo/ for producing XSL-FO
  94. highlighting files used for adding source-code syntax highlighting in output
  95. html/ for producing HTML
  96. htmlhelp/ for producing HTML Help
  97. images/ images used in callouts and graphical admonitions
  98. javahelp/ for producing Java Help
  99. lib/ utility stylesheets with schema-independent functions
  100. manpages/ for producing groff/troff man pages
  101. profiling/ for profiling (omitting/including conditional text)
  102. roundtrip/ for "round trip" conversion among DocBook and
  103. various word-processor formats (WordML, etc.)
  104. slides/ for producing slides output (from Slides source)
  105. template/ templates for building stylesheet customization layers
  106. tools/ assorted supplementary tools
  107. webhelp/ templates and scripts for generating webhelp output
  108. website/ for producing website output (from Website source)
  109. xhtml/ for producing XHTML
  110. xhtml-1_1/ for producing (stricter) XHTML 1.1
  111. xhtml5/ for producing XHTML5
  112. ----------------------------------------------------------------------
  113. Changes
  114. ----------------------------------------------------------------------
  115. See the NEWS file for changes made since the previous release.
  116. See the RELEASE-NOTES.html or RELEASE-NOTES.txt or RELEASE-NOTES.pdf
  117. files for per-release cumulative summaries of significant
  118. user-visible changes.
  119. For online access to a hyperlinked view of all changes made over
  120. the entire history of the codebase, see the following:
  121. http://docbook.svn.sourceforge.net/viewvc/docbook/trunk/xsl/?view=log
  122. WARNING: That above change history is a very long list and may
  123. take a long time to load/download.
  124. You can also create an XML-formatted "ChangeHistory.xml" copy of
  125. the complete change history for the codebase by running the
  126. following commands:
  127. svn checkout https://docbook.svn.sf.net/svnroot/docbook/trunk/xsl
  128. svn log --xml --verbose xsl > ChangeHistory.xml
  129. ----------------------------------------------------------------------
  130. Copyright information
  131. ----------------------------------------------------------------------
  132. See the accompanying file named COPYING.