Jamfile.v2 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. using quickbook ;
  5. path-constant boost-images : ../../../doc/src/images ;
  6. xml regex : regex.qbk ;
  7. boostbook standalone
  8. :
  9. regex
  10. :
  11. # HTML options first:
  12. # Use graphics not text for navigation:
  13. <xsl:param>navig.graphics=1
  14. # How far down we chunk nested sections, basically all of them:
  15. <xsl:param>chunk.section.depth=10
  16. # Don't put the first section on the same page as the TOC:
  17. <xsl:param>chunk.first.sections=1
  18. # How far down sections get TOC's
  19. <xsl:param>toc.section.depth=10
  20. # Max depth in each TOC:
  21. <xsl:param>toc.max.depth=4
  22. # How far down we go with TOC's
  23. <xsl:param>generate.section.toc.level=10
  24. # Path for links to Boost:
  25. <xsl:param>boost.root=../../../..
  26. # PDF Options:
  27. # TOC Generation: this is needed for FOP-0.9 and later:
  28. <xsl:param>fop1.extensions=0
  29. # Or enable this if you're using XEP:
  30. <xsl:param>xep.extensions=1
  31. # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
  32. <xsl:param>fop.extensions=0
  33. # No indent on body text:
  34. <xsl:param>body.start.indent=0pt
  35. # Margin size:
  36. <xsl:param>page.margin.inner=0.5in
  37. # Margin size:
  38. <xsl:param>page.margin.outer=0.5in
  39. # Yes, we want graphics for admonishments:
  40. <xsl:param>admon.graphics=1
  41. # Set this one for PDF generation *only*:
  42. # default pnd graphics are awful in PDF form,
  43. # better use SVG's instead:
  44. <format>pdf:<xsl:param>admon.graphics.extension=".svg"
  45. <format>pdf:<xsl:param>admon.graphics.path=$(boost-images)/
  46. <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/libs/regex/doc/html
  47. ;
  48. ###############################################################################
  49. alias boostdoc ;
  50. explicit boostdoc ;
  51. alias boostrelease : standalone ;
  52. explicit boostrelease ;