Ensure that Docker is installed on your system, https://docs.docker.com/install/, then run the following command to build a PDF version of the whitepaper:
$ ./ci/build.sh
The .tex
files in this directory are rendered to PDF by LuaTeX.
-
Install MacTeX.
-
Compile .tex file:
$ lualatex solana-whitepaper-jp.tex
- Install TeX Live.
$ wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
$ tar xvf install-tl-unx.tar.gz && cd install-tl*
$ sudo ./install-tl --repository http://mirror.ctan.org/systems/texlive/tlnet/
When prompted "Enter command:" type "I" and hit Enter key, then just wait until installation has completed. This may take a few hours.
- Deploy a symbolic link under /etc/local/bin
$ sudo /usr/local/texlive/2018/bin/x86_64-linux/tlmgr path add
- Update TeX Live
$ sudo tlmgr update --self --all
- Compile .tex file
$ lualatex solana-whitepaper-jp.tex