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.
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 projectmermaid-filter
which can be installed viayarn
- The included
package.json
contains version constraints and can be used viayarn install
- The included
dot
on the$PATH
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