The weasy eisvogel !
What's new in version 18.11 ?
Eisvogel, a new template for everyone
We're now shipping a latex template inside the image so that you can produce a
nice PDF without installing anything.
The template is called eisvogel and you can use it simply by adding
--template=eisvogel
to your compilation lines:
docker run [...] --pdf-engine=xelatex --template=eisvogel foo.md -o foo.pdf
End of pandoc 1.x automatic support
Since version 18.03, we're using Pandoc 2 and starting with this version some
old parameters will no longer be supported. You need to check your compilation
lines and make the following changes :
- replace
--latex-engine
by--pdf-engine
- replace
--no-tex-ligatures
by--from=markdown-smart
As an alternative, you can also changer the entrypoint and call the pandoc1.sh
compatibility wrapper
docker run [...] --entrypoint=/usr/local/bin/pandoc1.sh [...]
Easy PDF with WeasyPrint
We're now publishing a dedicated image including WeasyPrint, alternative pdf
engine that generates PDF files from using HTML/CSS templates.
To use this template, you can simply use tag weasy
:
docker run [...] dalibo/pandocker:weasy \
--pdf-engine=weasyprint` \
--pdf-engine-opt="--stylesheet template.css" \
--template=template.html \
foo.md \
-o foo.pdf
We're currently testing this new engine, please send us feedback if you're
using it too !