/Scala_Language_Specification_pdf

Convert Scala Language Specification markdown files to pdf / epub format

Primary LanguageShellApache License 2.0Apache-2.0

Convert Scala Language Specification markdown files to pdf format or epub format.

Configuration

  1. git clone --recursive https://github.com/Ldpe2G/Scala_Language_Specification_pdf.git;

  2. Install pandoc;

  3. Install pdflatex and xelatex 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

Convert markdown to pdf or epub

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.