For automatic .pdf generation a GitHub Action here runs upon every push to the master branch. It performs the following steps:
- Check out the repo.
- Install
pandocandpdflatex. - Modify some markdown documents to cut away parts that are undesirable in their
.pdfversion. - Loop through each file in
pdf_conversion_list.tsvand runpandocto generate thetargetfile from thesource.pandocuses the configuration inpandoc_pdf_config.yml, which in turn pulls in the.texfiles in this directory at various points.- It also integrates the bibliography information in
references.bibto render proper citations in the resulting .pdf files.
- Commit and push the changes to any
.pdffiles if they have changed or been added by step 4..