corda/docs/source/whitepaper/build-whitepapers.sh
Mike Hearn c05b5911c6 Rename the new platform white paper back to introductory white paper,
because there are still quite a few links to the old name and URL even
within our own repository.

Reformat docsite slightly to make the white papers more prominent.

Also link to the Chinese/Japanese translations of the old paper.

Make the build script do both platform/intro and tech white papers.
2019-08-22 19:09:39 +02: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