Skip to content

Instantly share code, notes, and snippets.

@ramsey
Last active September 28, 2020 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramsey/90f004e5077c20f2618ab3727a034ada to your computer and use it in GitHub Desktop.
Save ramsey/90f004e5077c20f2618ab3727a034ada to your computer and use it in GitHub Desktop.
benramsey/pandoc-latex

benramsey/pandoc-latex

Download or copy the Dockerfile below into an empty directory. Then, from within that directory, run the following command to build a Docker image.

docker build . -t benramsey/pandoc-latex:latest

To push the image to Docker Hub:

docker push benramsey/pandoc-latex:latest
FROM pandoc/latex:latest
RUN apk --no-cache add \
python3 \
python3-dev \
py3-psutil \
&& pip3 install --upgrade pip
RUN pip3 install \
pandocfilters \
pandoc-fignos \
pandoc-eqnos \
pandoc-tablenos \
pandoc-secnos
RUN tlmgr install \
adjustbox \
babel-german \
background \
bidi \
cleveref \
collectbox \
csquotes \
everypage \
filehook \
footmisc \
footnotebackref \
framed \
fvextra \
letltxmacro \
ly1 \
mdframed \
mweights \
needspace \
pagecolor \
sourcecodepro \
sourcesanspro \
titling \
ucharcat \
ulem \
unicode-math \
upquote \
xecjk \
xurl \
zref
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment