A pandoc template to create scientific reports.
See demo: https://felix-andreas.github.io/reports/demo.html
The flake.nix
provides a development environment with:
- pandoc + pandoc-crossref
- GNU MAKE
- rsync
Copy this template using nix:
nix flake new --template github:felix-andreas/reports <desired name>
Activate development environment:
nix develop
# or install direnv to automatically activate env
direnv allow
Update global metadata in metadata.yaml
and adjust the bibliography.bib
file.
The reports
environment variable defines which .md
file will be compiled.
Running
reports=demo make all
results in:
dist
<name>.html
- web version<name>.print.html
- paginated web version<name>.pdf
- pdf file
You can deploy the dist
folder to GitHub pages using:
make deploy