#!/bin/bash # # PY Barriat, May 2022 # # Install pandoc & pandac-crossref # sudo apt install ghc-9.0.1 # https://github.com/jgm/pandoc/releases/tag/2.17.1.1 # https://github.com/lierdakil/pandoc-crossref/releases/tag/v0.3.12.2a # https://github.com/jgm/pandoc-types/releases/tag/1.22.1 # # Download and install diagrams: # sudo apt install graphviz python3-pydotplus # pip install diagrams # # Install npm (needed for mermaid: nice extension to make diagramm) # npm i # # with diagrams python assets/dia_nc_simple.py python assets/dia_nc_pelican.py python assets/dia_nc_improved.py # without mermaid #pandoc -s Projet_brevet.md -o Projet_brevet.pdf \ # --from markdown \ # --template assets/eisvogel \ # --lua-filter assets/columns.lua \ # --listings pandoc -s Projet_brevet.md -o Projet_brevet.pdf \ --from markdown \ --template assets/eisvogel \ --filter pandoc-crossref \ --lua-filter assets/columns.lua \ --listings #/opt/quarto/bin/quarto render tufte.qmd --to pdf # with mermaid