Pandoc with a selected set of pdflatex packages
287
Source files for a Docker container providing pandoc, built on top of my latex container to include several latex packages I find useful for various projects.
The container's entrypoint is set to pandoc and its working directory /io is exposed as a volume. Input files should be placed in /io. Output files will be placed there as well. As an example, to generate a pdf from /path/to/test.md, run
docker run --rm --name pandoc -v -v /path/to:/io kimvanwyk/pandoc:1.0.0 -o test.pdf test.md
The output file will be placed in /path/to.
For ease of use, the included script run_pandoc.py will execute pandoc for a supplied path and place the produced file into the same path. Python 3 is required to use it. The same example using the script:
./run_pandoc.py /path/to/test.tex test.pdf
The output file will again be placed in /path/to.
The build.sh file builds the container, naming it kimvanwyk/pandoc to remain consistent with DockerHub.
The container is published on DockerHub here: https://hub.docker.com/r/kimvanwyk/pandoc/.
Content type
Image
Digest
Size
280 MB
Last updated
over 7 years ago
docker pull kimvanwyk/pandoc