Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 772 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 772 Bytes

docker-pandoc

A pandoc environment with LaTeX tools for excellent PDF creation.

Requirements

  • Docker

Getting started (whalebrew)

# Install shim to /usr/local/bin
whalebrew install ghcr.io/t-richards/pandoc

# Run pandoc as though it were installed locally
pandoc --version

Getting started (manual)

# Compile myfile.md to myfile.pdf
$ docker run -v $(pwd):/workdir ghcr.io/t-richards/pandoc --from markdown --to latex -o myfile.pdf myfile.md

# Run default make target
$ docker run -v $(pwd):/workdir --entrypoint=/usr/bin/make ghcr.io/t-richards/pandoc

Hacking

# Build image
$ docker build -t ghcr.io/t-richards/pandoc .