lfs-pdf.xsl 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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.69.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. <!-- Change "double.sided" to "1" for published versions -->
  27. <xsl:param name="double.sided" select="0"/>
  28. <xsl:param name="hyphenate">false</xsl:param>
  29. <xsl:param name="alignment">justify</xsl:param>
  30. <!-- Font size -->
  31. <xsl:param name="body.font.master">9</xsl:param>
  32. <xsl:param name="body.font.size">12pt</xsl:param>
  33. <!-- TOC stuff -->
  34. <xsl:param name="generate.toc">
  35. book toc
  36. part nop
  37. </xsl:param>
  38. <xsl:param name="toc.section.depth">1</xsl:param>
  39. <xsl:param name="generate.section.toc.level" select="-1"></xsl:param>
  40. <xsl:param name="toc.indent.width" select="18"></xsl:param>
  41. <!-- Page number in Xref ?-->
  42. <xsl:param name="insert.xref.page.number">no</xsl:param>
  43. <!-- Prevent duplicate e-mails in the Acknowledgments pages-->
  44. <xsl:param name="ulink.show" select="0"/>
  45. </xsl:stylesheet>