using quickbook ;
using auto-index ;
import modules ;
+import regex ;
path-constant images_location : html ;
path-constant here : . ;
+constant here-url : [ regex.replace $(here) "\\\\" "/" ] ;
-xml math : math.qbk ;
+xml math : math.qbk :
+ <quickbook-define>enable_index
+ <quickbook-define>__base_path__=$(here-url)
+ <format>pdf:<quickbook-define>__build_pdf
+ <format>html:<quickbook-define>__build_html
+;
boostbook standalone
:
math
<format>pdf:<xsl:param>fop.extensions=0
<format>pdf:<xsl:param>fop1.extensions=0
# No indent on body text:
+ #<format>pdf:<xsl:param>body.start.indent=15px indents ALL the text relative to the title :-(.
<format>pdf:<xsl:param>body.start.indent=0pt
# Margin size:
<format>pdf:<xsl:param>page.margin.inner=0.5in
<auto-index-script>$(here)/index.idx
<auto-index-prefix>$(here)/../../..
#<auto-index-verbose>on
- <quickbook-define>enable_index
<format>pdf:<xsl:param>index.on.type=1
;
install pdfinstall : standalone/<format>pdf : <location>. <install-type>PDF <name>math.pdf ;
-explicit pdfinstall ;
+explicit pdfinstall ; # b2 pdf pdfinstall to do this pdf file copy.
+
+install css_install : math.css : <location>$(here)/html ;
###############################################################################
alias boostdoc ;