https://github.com/adimit/typsetter
Docker container to compile org-mode & latex documents in CI (Gitlab/Travis, etc.)
https://github.com/adimit/typsetter
Last synced: 4 months ago
JSON representation
Docker container to compile org-mode & latex documents in CI (Gitlab/Travis, etc.)
- Host: GitHub
- URL: https://github.com/adimit/typsetter
- Owner: adimit
- Created: 2018-01-13T12:03:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-12T20:33:21.000Z (over 8 years ago)
- Last Synced: 2025-07-15T01:42:55.474Z (11 months ago)
- Language: Emacs Lisp
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Typesetter
A small docker container to typeset latex, org-mode and markdown documents.
Includes pandoc and emacs-nox.
**NOTE** Emacs will generate tex files for xelatex.
Usage:
```
docker run --rm $(pwd):/src:z adimit/typesetter emacs file.org --batch -f org-latex-export-to-latex --kill
docker run --rm $(pwd):/src:z adimit/typesetter latexmk -xelatex file.tex
```
The `-c` option to `latexmk` doesn't currently work (even though we're using the
newer latexmk version). See [this bug](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880521).
Emacs doesn't run latex/bibtex/biber often enough, so we use latexmk instead. `pandoc` is also available.
*Make sure your `bib` files are accessible inside the container.*
## Latex Packages
Since the full tex installation is prohibitively large, you should put any and
all additional latex packages you need under `.texmf/tex/latex` (next to your tex file). This directory
will get tex-hashed by the container's entrypoint on startup.