safe_numerics/doc/boostbook/makeepub.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

13 lines
433 B
Bash
Executable File

if test x = x$BOOST_ROOT
then
echo BOOST_ROOT not set
exit 1
fi
xsltproc --nonet --xinclude bb2db.xsl safe_numerics.xml | xsltproc --xinclude --nonet --stringparam base.dir ebooktmp db2epub.xsl -
cp *.png ebooktmp/OEBPS/
xsltproc --xinclude --nonet opf.xsl ebooktmp/OEBPS/package.opf >ebooktmp/OEBPS/t.opf
# mv ebooktmp/OEBPS/t.opf ebooktmp/OEBPS/package.opf
cd ebooktmp
zip -r -X ../book.epub mimetype META-INF OEBPS
cd -