Skip to content

SickHub/docker-texlive-pdflatex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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