Commit ed184ebc authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

feat: list pandoc packages manually

parent 60ab254f
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
---
variables:
  PANDOC_EXTRA_ARGS: ""
  PANDOC_DEFAULT_PACKAGES:
    fvextra footnotebackref pagecolor mdframed zref needspace sourcesanspro
    sourcecodepro titling koma-script lineno hardwrap catchfile
  PANDOC_EXTRA_PACKAGES: "" # List the packages your document needs: https://www.ctan.org/pkg

docs:pandoc-from-template:
  image:
    name: registry.gitlab.com/just-ci/images/pandoc:latest
    name: docker.io/pandoc/latex:latest
    entrypoint: [""]
  stage: build
  variables:
@@ -21,6 +25,10 @@ docs:pandoc-from-template:
    REPORT_NAME: ${CI_PROJECT_NAME}
    METADATA_LANG: en-US
  script:
    - |
      echo "[*] Installing these packages using tlmgr: ${PANDOC_DEFAULT_PACKAGES} ${PANDOC_EXTRA_PACKAGES}"
      tlmgr update --self
      tlmgr install ${PANDOC_DEFAULT_PACKAGES} ${PANDOC_EXTRA_PACKAGES}
    - cd ${SOURCE_DIR}
    - |
      for FORMAT in ${FORMATS}; do