Jamfile.v2 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # Copyright 2005 Daniel James.
  2. # Distributed under 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 boostbook ;
  5. using quickbook ;
  6. path-constant images_location : ../ ;
  7. path-constant admonishment_location : ../../../../doc/src/images ;
  8. xml unordered : unordered.qbk :
  9. <xsl:param>generate.consistent.ids=1 ;
  10. boostbook standalone : unordered :
  11. <xsl:param>chunk.first.sections=1
  12. <xsl:param>chunk.section.depth=2
  13. <xsl:param>generate.section.toc.level=2
  14. <xsl:param>toc.section.depth=1
  15. <xsl:param>toc.max.depth=1
  16. <xsl:param>boost.compact.typedef=0
  17. <xsl:param>boost.compact.function=0
  18. <xsl:param>boost.compact.enum=0
  19. <xsl:param>generate.consistent.ids=1
  20. # HTML Options:
  21. <format>html:<xsl:param>boost.root=../../../..
  22. <format>html:<xsl:param>img.src.path=../../../../doc/html/
  23. <format>xhtml:<xsl:param>boost.root=../../../..
  24. <format>xhtml:<xsl:param>img.src.path=../../../../doc/html/
  25. # PDF Options:
  26. # TOC Generation: this is needed for FOP-0.9 and later:
  27. <xsl:param>fop1.extensions=0
  28. <format>pdf:<xsl:param>xep.extensions=1
  29. # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
  30. <format>pdf:<xsl:param>fop.extensions=0
  31. # No indent on body text:
  32. <format>pdf:<xsl:param>body.start.indent=0pt
  33. # Margin size:
  34. <format>pdf:<xsl:param>page.margin.inner=0.5in
  35. # Margin size:
  36. <format>pdf:<xsl:param>page.margin.outer=0.5in
  37. # Paper type = A4
  38. <format>pdf:<xsl:param>paper.type=A4
  39. # Yes, we want graphics for admonishments:
  40. <xsl:param>admon.graphics=1
  41. # Set this one for PDF generation *only*:
  42. # default png 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>use.role.for.mediaobject=1
  46. <format>pdf:<xsl:param>preferred.mediaobject.role=print
  47. <format>pdf:<xsl:param>img.src.path=$(images_location)/
  48. #<format>pdf:<xsl:param>admon.graphics.path=$(admonishment_location)
  49. <format>pdf:<xsl:param>draft.mode="no"
  50. <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/libs/unordered/doc/html
  51. ;
  52. ###############################################################################
  53. alias boostdoc
  54. : unordered
  55. :
  56. :
  57. : ;
  58. explicit boostdoc ;
  59. alias boostrelease ;
  60. explicit boostrelease ;