bz-common.xsl 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0"?> <!-- -*- sgml -*- -->
  2. <xsl:stylesheet
  3. xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  4. <!-- we like '1.2 Title' -->
  5. <xsl:param name="section.autolabel" select="'1'"/>
  6. <xsl:param name="section.label.includes.component.label" select="'1'"/>
  7. <!-- Do not put 'Chapter' at the start of eg 'Chapter 1. Doing This' -->
  8. <xsl:param name="local.l10n.xml" select="document('')"/>
  9. <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
  10. <l:l10n language="en">
  11. <l:context name="title-numbered">
  12. <l:template name="chapter" text="%n.&#160;%t"/>
  13. </l:context>
  14. </l:l10n>
  15. </l:i18n>
  16. <!-- don't generate sub-tocs for qanda sets -->
  17. <xsl:param name="generate.toc">
  18. set toc,title
  19. book toc,title,figure,table,example,equation
  20. chapter toc,title
  21. section toc
  22. sect1 toc
  23. sect2 toc
  24. sect3 toc
  25. sect4 nop
  26. sect5 nop
  27. qandaset toc
  28. qandadiv nop
  29. appendix toc,title
  30. article/appendix nop
  31. article toc,title
  32. preface toc,title
  33. reference toc,title
  34. </xsl:param>
  35. </xsl:stylesheet>