Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 994 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 994 Bytes

Discrete Maths Collection

This is a collection of discrete mathematics exercises from the TU Vienna course of the same name, with detailed solutions. The rendered pdfs can be found here.

Installation

For compilation, we use pandoc together with various filters for mermaid and graphviz code blocks.

Requirements:

  • pandoc
  • lua-graphviz-filter.lua which is vendored with this project
  • mermaid-filter which can be installed via yarn
    • The included package.json contains version constraints and can be used via yarn install
  • dot on the $PATH

Usage

To compile the markdown files to .html use:

$ pandoc --mathjax -F ./node_modules/.
bin/mermaid-filter --lua-filter lua-graphiv-filter.lua --from markdown+tex_math_dollars+tex_math_single_backslash+tex_math_double_backslash --standalone $input -o $output

or alternatively, use the Makefile:

$ make sheet_$num.html