lfs-pdf.xsl 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version='1.0' encoding='ISO-8859-1'?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. xmlns:fo="http://www.w3.org/1999/XSL/Format"
  4. version="1.0">
  5. <!-- We use FO and FOP as the processor -->
  6. <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.68.1/fo/docbook.xsl"/>
  7. <xsl:param name="fop.extensions" select="1"/>
  8. <xsl:param name="draft.mode" select="'no'"/>
  9. <!-- Including our others customized templates -->
  10. <xsl:include href="pdf/lfs-index.xsl"/>
  11. <xsl:include href="pdf/lfs-pagesetup.xsl"/>
  12. <xsl:include href="pdf/lfs-sections.xsl"/>
  13. <xsl:include href="pdf/lfs-admon.xsl"/>
  14. <xsl:include href="pdf/lfs-mixed.xsl"/>
  15. <xsl:include href="pdf/lfs-xref.xsl"/>
  16. <!-- This file contains our localization strings (for internationalization) -->
  17. <xsl:param name="local.l10n.xml" select="document('lfs-l10n.xml')"/>
  18. <!-- Standart paper size -->
  19. <xsl:param name="paper.type" select="'letter'"/>
  20. <!-- Paper size required by the publisher
  21. <xsl:param name="paper.type" select="'Customized'"/>
  22. <xsl:param name="page.width">7.25in</xsl:param>
  23. <xsl:param name="page.height">9.25in</xsl:param>
  24. -->
  25. <!-- Printing Style -->
  26. <xsl:param name="double.sided" select="1"/>
  27. <xsl:param name="hyphenate">false</xsl:param>
  28. <xsl:param name="alignment">justify</xsl:param>
  29. <!-- Font size -->
  30. <xsl:param name="body.font.master">9</xsl:param>
  31. <xsl:param name="body.font.size">12pt</xsl:param>
  32. <!-- TOC stuff -->
  33. <xsl:param name="generate.toc">
  34. book toc
  35. part nop
  36. </xsl:param>
  37. <xsl:param name="toc.section.depth">1</xsl:param>
  38. <xsl:param name="generate.section.toc.level" select="-1"></xsl:param>
  39. <xsl:param name="toc.indent.width" select="18"></xsl:param>
  40. <!-- Page number in Xref ?-->
  41. <xsl:param name="insert.xref.page.number">no</xsl:param>
  42. <!-- Prevent duplicate e-mails in the Acknowledgments pages-->
  43. <xsl:param name="ulink.show" select="0"/>
  44. </xsl:stylesheet>