Jamfile.v2 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # Copyright John Maddock 2005. Use, modification, and distribution are
  2. # subject to the Boost Software License, Version 1.0. (See accompanying
  3. # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  4. import modules ;
  5. using quickbook ;
  6. using auto-index ;
  7. path-constant boost-images : ../../../doc/src/images ;
  8. path-constant here : . ;
  9. xml type_traits : type_traits.qbk ;
  10. boostbook standalone
  11. :
  12. type_traits
  13. :
  14. # Index generation:
  15. # Path for links to Boost:
  16. <xsl:param>boost.root=../../../..
  17. # Some general style settings:
  18. <xsl:param>table.footnote.number.format=1
  19. <xsl:param>footnote.number.format=1
  20. # HTML options first:
  21. # Use graphics not text for navigation:
  22. <xsl:param>navig.graphics=1
  23. # How far down we chunk nested sections, basically all of them:
  24. <xsl:param>chunk.section.depth=10
  25. # Don't put the first section on the same page as the TOC:
  26. <xsl:param>chunk.first.sections=1
  27. # How far down sections get TOC's
  28. <xsl:param>toc.section.depth=10
  29. # Max depth in each TOC:
  30. <xsl:param>toc.max.depth=4
  31. # How far down we go with TOC's
  32. <xsl:param>generate.section.toc.level=10
  33. # PDF Options:
  34. # TOC Generation: this is needed for FOP-0.9 and later:
  35. <xsl:param>fop1.extensions=0
  36. <xsl:param>xep.extensions=1
  37. # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
  38. <xsl:param>fop.extensions=0
  39. # No indent on body text:
  40. <xsl:param>body.start.indent=0pt
  41. # Margin size:
  42. <xsl:param>page.margin.inner=0.5in
  43. # Margin size:
  44. <xsl:param>page.margin.outer=0.5in
  45. # Paper type = A4
  46. <xsl:param>paper.type=A4
  47. # Yes, we want graphics for admonishments:
  48. <xsl:param>admon.graphics=1
  49. # Set this one for PDF generation *only*:
  50. # default pnd graphics are awful in PDF form,
  51. # better use SVG's instead:
  52. <format>pdf:<xsl:param>admon.graphics.extension=".svg"
  53. <format>pdf:<xsl:param>admon.graphics.path=$(boost-images)/
  54. <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/libs/type_traits/doc/html
  55. <format>pdf:<auto-index-internal>off
  56. <format>html:<auto-index-internal>on
  57. <auto-index-script>$(here)/index.idx
  58. <auto-index-prefix>$(here)/../../..
  59. <auto-index>on
  60. ;
  61. install pdfinstall : standalone/<format>pdf : <install-type>PDF <location>. <name>type_traits.pdf ;
  62. explicit pdfinstall ;
  63. ###############################################################################
  64. alias boostdoc ;
  65. explicit boostdoc ;
  66. alias boostrelease : standalone ;
  67. explicit boostrelease ;