Convert Scala Language Specification markdown files to pdf format or epub format.
-
git clone --recursive https://github.com/Ldpe2G/Scala_Language_Specification_pdf.git
; -
Install pandoc;
-
Install
pdflatex
andxelatex
by following command:
sudo apt-get install texlive-latex-base
sudo apt-get install texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra
sudo apt-get install texlive-xetex
sudo apt install texlive-math-extra
Checkout the scala submodule to the version you want and run the convert.sh
script. Then you should get all the pdf files under the pdf
folder and the same all the epub files under the epub
folder. Additionally the merge.epub file contains all the contents of the other epub files in the epub
folder. If you get pdf convert error during the conversion, the following answer may help:
https://tex.stackexchange.com/questions/428975/multiple-alignment-inside-cases-environment.