lfs-pdf.xsl 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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.67.2/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-mixed.xsl"/>
  14. <!-- Paper size required by the publisher -->
  15. <xsl:param name="paper.type" select="'Customized'"/>
  16. <xsl:param name="page.width">7.25in</xsl:param>
  17. <xsl:param name="page.height">9.25in</xsl:param>
  18. <!-- Printing Style -->
  19. <xsl:param name="double.sided" select="1"/>
  20. <xsl:param name="hyphenate">false</xsl:param>
  21. <xsl:param name="alignment">justify</xsl:param>
  22. <!-- Font size -->
  23. <xsl:param name="body.font.master">10</xsl:param>
  24. <xsl:param name="body.font.size">12pt</xsl:param>
  25. <!-- TOC stuff -->
  26. <xsl:param name="generate.toc">
  27. book toc
  28. part nop
  29. </xsl:param>
  30. <xsl:param name="toc.section.depth">1</xsl:param>
  31. <xsl:param name="generate.section.toc.level" select="-1"></xsl:param>
  32. <xsl:param name="toc.indent.width" select="18"></xsl:param>
  33. <!-- Page number in Xref ?-->
  34. <xsl:param name="insert.xref.page.number">no</xsl:param>
  35. <!-- Prevent duplicate e-mails in the Acknowledgments pages-->
  36. <xsl:param name="ulink.show" select="0"/>
  37. </xsl:stylesheet>