safe_numerics/doc/boostbook/makepdf.sh
Robert Ramey 4153b7f58a Numerous changes to better handle floating point.
Turns out that these changes should also better position us to handle other underlying types - but we're not there yet.
Added example for composition with other types - example boost rational and boost multi precision
Added performance test using boost multi precision
Many other small corrections
2017-07-16 13:36:09 -07:00

15 lines
425 B
Bash
Executable File

if test x = x$BOOST_ROOT
then
echo BOOST_ROOT not set
exit 1
fi
#use -r switch on fop for relaxed validation
xsltproc --xinclude --nonet bb2db.xsl safe_numerics.xml \
| fop -r -dpi 300 -xsl db2fo.xsl -xml - -pdf ../safe_numerics.pdf
# equivalent alternative?
# xsltproc --xinclude --nonet bb2db.xsl safe_numerics.xml \
# | xsltproc --xinclude --nonet db2fo.xsl - \
# | fop -r -dpi 300 -fo - -pdf safe_numerics.pdf