This build is used for writing manuscripts in Markdown and converting them to PDF through Pandoc and (Xe)LaTeX
To compile files using this image:
- Pull this image to your computer (change TAG below):
docker pull ghcr.io/rasilab/pandoc-latex:TAG
- Start a container
pandoc-latex
from this image (change TAG below):
docker run -i -d --name pandoc-latex -v $HOME:$HOME ghcr.io/rasilab/pandoc-latex:TAG
- Run
pandoc
using the above running container:
docker exec -w $(pwd) pandoc-latex pandoc <manuscript>.md --citeproc --template=latex_templates/manuscript.tex --metadata-file=pandoc-options.yaml --pdf-engine=xelatex -o <manuscript>.pdf --filter=pandoc-svg.py
See Dockerfile for the build details.
The commit tag and the package tag are set to be the same as the software version.