jamfile.v2 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. # Boost.cstdfloat documentation Jamfile.v2
  2. #
  3. # Copyright Paul A. Bristow 2014.
  4. # Use, modification and distribution is subject to
  5. # the Boost Software License, Version 1.0.
  6. # (See accompanying file LICENSE_1_0.txt or copy at
  7. # http://www.boost.org/LICENSE_1_0.txt)
  8. # boost-no-inspect
  9. # This builds a standalone version of the cstdfloat docs
  10. # using the same cstdfloat.qbk called from cstdfloat_header.qbk
  11. # The full math only uses cstdfloat.qbk.
  12. import modules ;
  13. path-constant images_location : html ;
  14. path-constant nav_images : html/images ;
  15. path-constant here : . ;
  16. using quickbook ;
  17. xml cstdfloat : cstdfloat_header.qbk ;
  18. using boostbook ;
  19. boostbook standalone
  20. :
  21. cstdfloat
  22. :
  23. # General settings
  24. # =================
  25. # Path for links to Boost folder, for example: boost_1_55_0 or boost-trunk, relative to folder /doc/html.
  26. <xsl:param>boost.root=../../../../..
  27. # Path for libraries index:
  28. <xsl:param>boost.libraries=../../../../../../libs/libraries.htm
  29. # Or a local custom stylesheet:
  30. #<xsl:param>html.stylesheet=boostbook.css
  31. <xsl:param>html.stylesheet=boostbook.css
  32. #<xsl:param>nav.layout=none # No navigation bar (home, prev, next).
  33. # Defining creates a runtime error: Global parameter nav.layout already defined.
  34. <xsl:param>nav.layout=horizontal # to get a horizontal navigation bar (you probably DO want this).
  35. # Path for links to Boost logo.
  36. #<xsl:param>boost.image=Boost # options are: none (no logo), Boost (for boost.png), or your own logo, for example, inspired_by_boost.png
  37. #<xsl:param>boost.image.src=boost.png #
  38. #<xsl:param>boost.image.w=180 # Width of logo in pixels. (JM has W = 162, h = 46)
  39. #<xsl:param>boost.image.h=90 # Height of logo in pixels.
  40. # Some general style settings:
  41. <xsl:param>table.footnote.number.format=1
  42. <xsl:param>footnote.number.format=1
  43. # HTML options first:
  44. # Use graphics not text for navigation:
  45. <xsl:param>navig.graphics=1
  46. # How far down we chunk nested sections, basically all of them:
  47. <xsl:param>chunk.section.depth=10
  48. # Don't put the first section on the same page as the TOC:
  49. <xsl:param>chunk.first.sections=1
  50. # How far down sections get TOC's
  51. <xsl:param>toc.section.depth=10
  52. # Max depth in each TOC:
  53. <xsl:param>toc.max.depth=4
  54. # How far down we go with TOC's
  55. <xsl:param>generate.section.toc.level=10
  56. # Index on type:
  57. <xsl:param>index.on.type=1
  58. <xsl:param>boost.noexpand.chapter.toc=1
  59. #<xsl:param>root.filename="sf_dist_and_tools"
  60. #<xsl:param>graphicsize.extension=1
  61. #<xsl:param>use.extensions=1
  62. # PDF Options:
  63. # TOC Generation: this is needed for FOP-0.9 and later:
  64. <xsl:param>fop1.extensions=0
  65. <format>pdf:<xsl:param>xep.extensions=1
  66. # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
  67. <format>pdf:<xsl:param>fop.extensions=0
  68. <format>pdf:<xsl:param>fop1.extensions=0
  69. # No indent on body text:
  70. <format>pdf:<xsl:param>body.start.indent=0pt
  71. # Margin size:
  72. <format>pdf:<xsl:param>page.margin.inner=0.5in
  73. # Margin size:
  74. <format>pdf:<xsl:param>page.margin.outer=0.5in
  75. # Paper type = A4
  76. <format>pdf:<xsl:param>paper.type=A4
  77. # Yes, we want graphics for admonishments:
  78. <xsl:param>admon.graphics=1
  79. # Set this one for PDF generation *only*:
  80. # default pnd graphics are awful in PDF form,
  81. # better use SVG's instead:
  82. <format>pdf:<xsl:param>admon.graphics.extension=".svg"
  83. <format>pdf:<xsl:param>use.role.for.mediaobject=1
  84. <format>pdf:<xsl:param>preferred.mediaobject.role=print
  85. <format>pdf:<xsl:param>img.src.path=$(images_location)/
  86. <format>pdf:<xsl:param>draft.mode="no"
  87. <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/libs/math/doc/html
  88. <format>pdf:<xsl:param>index.on.type=1
  89. ;
  90. install pdf-install : standalone : <install-type>PDF <location>. <name>cstdfloat.pdf ;