Various packaging tweaks, documentation, etc.

This commit is contained in:
Claude Brisson
2024-04-13 00:55:38 +02:00
parent 837661e4b0
commit 2d0e3b48a5
12 changed files with 351 additions and 10 deletions

17
doc/md2pdf Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
# HTML doc generation. Needs 'pandoc'.
INPUT=$1
BASE=$(basename -s .md $INPUT)
if test -f "$BASE.css"
then
pandoc --pdf-engine-opt=--enable-local-file-access -t html -F mermaid-filter --css $BASE.css $INPUT -o $BASE.pdf
else
pandoc --pdf-engine=xelatex -F mermaid-filter $INPUT -o $BASE.pdf
# pandoc --pdf-engine-opt=--enable-local-file-access -t html -F mermaid-filter $INPUT -o $BASE.pdf
fi
## See also pandoc --number-sections