Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.07 KB

compiling_instructions.md

File metadata and controls

44 lines (34 loc) · 1.07 KB

Dependencies

  • Homebrew == 3.5.2

To build the documents:

  • Pandoc == 2.18
    • pandoc-types == 1.22.2
    • texmath == 0.12.5
    • skylighting == 0.12.3
    • citeproc == 0.7
    • ipynb == 0.2
    • hslua == 2.2.0
    • Lua == 5.4
  • pdfTeX 3.141592653-2.6-1.40.24 (TeX Live 2022/Homebrew)
    • kpathsea version 6.3.4
  • Eisvogel == 2.0.0

To run the code in /src/:

  • GHC == 8.10.7

Building

To generate the build scripts provision a cabal and stack with pandoc in it. This is done by the .cabal and stack.yaml files.

To generate the pdf, I use the Eisvogel Pandoc LaTex template. To set up the pandoc and latex environments execute

$ brew install openjdk
$ brew install texlive
$ mkdir /Users/[username]/.pandoc/
$ mkdir /Users/[username]/.pandoc/templates/
$ cd /Users/[username]/.pandoc/templates/
$ cp ~/Documents/Eisvogel-2/eisvogel.latex ./

Generation of the pdf from markdown by executing

$ make docs/part1.pdf