Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 3.04 KB

README.md

File metadata and controls

52 lines (40 loc) · 3.04 KB

Docker image CircleCI DockerHub pulls DockerHub stars Paypal GitHub Sponsor

license GitHub stars Contributors GitHub issues GitHub pull requests

Minimal texlive auto-building alpine image including pdflatex, European standard classes and languages

Example: source pdf

Manually build a PDF from tex

Use \usepackage[german]{babel} in your TeX document

docker run -it --rm -v $PWD:/data drpsychick/texlive-pdflatex pdflatex /data/myletter.tex
ls -la myletter.pdf

Automate builds with GitLab-CI

Simple .gitlab-ci.yml file to automate building of PDFs and making them available as artifacts

image: drpsychick/texlive-pdflatex

build:
  script:
    - find . -name \*.tex -exec pdflatex {} ';'
    # fail if number .tex files does not match number of .pdf files
    - if [ $(find . -name \*.tex |wc -l) -gt $(find . -name \*.pdf |wc -l) ]; then exit 1; fi
  artifacts:
    paths:
      - "*.pdf"
    expire_in: 1 day