corda/docs/whitepaper/build-whitepapers.sh
ivanterziev 73d5fc4db6
EG-1404 - Retired the rst doc source structure under /docs and update… (#6147)
* Retired the rst doc source structure under /docs and updated the /docs/README.md
*Rollback of /example-code and /whitepaper dirs back under /docs dir until new code example process is in place
2020-04-23 09:56:57 +01:00

17 lines
555 B
Bash
Executable File

#!/bin/sh
# Utility to render the white papers. LaTeX has the UX from hell and requires us to run the same commands over and over to make the paper
# render correctly, with a ToC and citations.
cmd="pdflatex -shell-escape"
for wp in introductory technical; do
$cmd corda-$wp-whitepaper.tex
bibtex corda-$wp-whitepaper.aux
$cmd corda-$wp-whitepaper.tex
$cmd corda-$wp-whitepaper.tex
rm corda-$wp-whitepaper.toc corda-$wp-whitepaper.out corda-$wp-whitepaper.log corda-$wp-whitepaper.blg corda-$wp-whitepaper.bbl corda-$wp-whitepaper.aux
done