Jamfile.v2 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. # Copyright John Maddock 2011. 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. using quickbook ;
  5. using auto-index ;
  6. path-constant images_location : html ;
  7. path-constant here : . ;
  8. xml multiprecision : multiprecision.qbk ;
  9. boostbook standalone
  10. :
  11. multiprecision
  12. :
  13. # Path for links to Boost:
  14. <xsl:param>boost.root=../../../..
  15. # Some general style settings:
  16. <xsl:param>table.footnote.number.format=1
  17. <xsl:param>footnote.number.format=1
  18. #<xsl:param>html.stylesheet=../../../../doc/src/boostbook.css
  19. # HTML options first:
  20. # Use graphics not text for navigation:
  21. <xsl:param>navig.graphics=1
  22. # How far down we chunk nested sections, basically all of them:
  23. <xsl:param>chunk.section.depth=10
  24. # Don't put the first section on the same page as the TOC:
  25. <xsl:param>chunk.first.sections=10
  26. # How far down sections get TOC's
  27. <xsl:param>toc.section.depth=10
  28. # Max depth in each TOC:
  29. <xsl:param>toc.max.depth=4
  30. # How far down we go with TOC's
  31. #<xsl:param>generate.section.toc.level=10
  32. # Index on type:
  33. <xsl:param>index.on.type=1
  34. <xsl:param>html.stylesheet=multiprecision.css # Local variant for multiprecision,
  35. # extending 'standard' BOOST_ROOT/doc/src/boostbook.css with
  36. # @import url('../../../../doc/src/boostbook.css');
  37. # in location multiprecision/doc/html/multiprecision.css
  38. # PDF Options:
  39. # TOC Generation: this is needed for FOP-0.9 and later:
  40. <xsl:param>fop1.extensions=0
  41. <format>pdf:<xsl:param>xep.extensions=1
  42. # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
  43. <format>pdf:<xsl:param>fop.extensions=0
  44. <format>pdf:<xsl:param>fop1.extensions=0
  45. # No indent on body text:
  46. <format>pdf:<xsl:param>body.start.indent=0pt
  47. # Margin size:
  48. <format>pdf:<xsl:param>page.margin.inner=0.5in
  49. # Margin size:
  50. <format>pdf:<xsl:param>page.margin.outer=0.5in
  51. # Paper type = A4
  52. <format>pdf:<xsl:param>paper.type=A4
  53. # Yes, we want graphics for admonishments:
  54. <xsl:param>admon.graphics=1
  55. # Set this one for PDF generation *only*:
  56. # default pnd graphics are awful in PDF form,
  57. # better use SVG's instead:
  58. <format>pdf:<xsl:param>admon.graphics.extension=".svg"
  59. <format>pdf:<xsl:param>use.role.for.mediaobject=1
  60. <format>pdf:<xsl:param>preferred.mediaobject.role=print
  61. <format>pdf:<xsl:param>img.src.path=$(images_location)/
  62. <format>pdf:<xsl:param>draft.mode="no"
  63. <format>pdf:<xsl:param>boost.url.prefix=http\://www.boost.org/doc/libs/release/libs/math/doc/sf_and_dist/html
  64. # Index generation:
  65. <auto-index>on
  66. <auto-index-script>$(here)/index.idx
  67. <auto-index-prefix>$(here)/../../..
  68. <auto-index-verbose>on
  69. <format>html:<auto-index-internal>on
  70. <quickbook-define>enable_index
  71. <format>pdf:<xsl:param>index.on.type=1
  72. ;
  73. install pdfinstall : standalone : <location>. <install-type>PDF <name>multiprecision.pdf ;
  74. ###############################################################################
  75. alias boostdoc ;
  76. explicit boostdoc ;
  77. alias boostrelease : standalone ;
  78. explicit boostrelease ;