Eymoutiers, May 30, 2024
Pandocker is a docker image that extends the official pandoc/extra image with with more filters, templates, fonts, and the latex bazaar
It allows you to generate slides and documents without installing the required depencies on your machine. It is also very usefull to integrate pandoc into a CI workflow such as Github Actions, Gitlab Pipelines, etc.
For instance to generate an EPUB file from a markdown source, you can simply type:
docker run --rm -v `pwd`:/pandoc dalibo/pandocker test.md -o test.epub
This image is available under BSD Licence and it has 4 main tags:
stable
should be used in productionstable-full
for non-european languageslatest
andlatest-full
are the development versions
You can also retrieve older versions by their version number:
dalibo/pandocker:24.05
, dalibo/pandocker:23.03-full
, etc.
For more details :
- Github : https://github.com/dalibo/pandocker
- Docker Hub : https://hub.docker.com/r/dalibo/pandocker/
When we started this project 8 years ago, there was no official docker image for pandoc. Thus we made our own.
Over the last year, we worked hand in hand with the pandoc/dockerfiles to
create a new pandoc/extra image that includes key parts of the former
pandocker versions. And therefore the dalibo/pandocker
image is now based on
the pandoc/extra image.
By moving those key parts upstream, we can now greatly simplify this project and improve its maintainability.
The dalibo/pandocker
image will remain because it contains some elements that
cannot be pushed upstream.
docker pull dalibo/pandocker:stable
The release contains contributions from Peter Dave Hello and Giovanni Rosa.
It is also heavily based on the great work by Albert Krewinkel and Caleb Maclennan on the pandoc/dockerfiles project.
Many thanks to them !
Pandocker is an open project, contributions are welcome.
If you want to help, you can find a list of "Junior Jobs" here:
Eymoutiers, Mars 17, 2023
Pandocker is a docker image containing a complete document production toolchain
based on pandoc
with filters, templates, fonts, and the latex bazaar
It allows you to generate slides and documents without installing the required depencies on your machine. It is also very usefull to integrate pandoc into a CI workflow such as Github Actions, Gitlab Pipelines, etc.
For instance to generate an EPUB file from a markdown source, you can simply type:
docker run --rm -v `pwd`:/pandoc dalibo/pandocker test.md -o test.epub
This image is available under BSD Licence and it has 4 main tags:
stable
should be used in productionstable-full
for non-european languageslatest
andlatest-full
are the development versions
You can also retrieve older versions by their version number:
dalibo/pandocker:19.11
, dalibo/pandocker:21.02-full
, etc.
For more details :
- Github : https://github.com/dalibo/pandocker
- Docker Hub : https://hub.docker.com/r/dalibo/pandocker/
This new version brings minor updates and prepares the ground before important changes.
docker pull dalibo/pandocker:stable
Pandocker is an open project, contributions are welcome.
If you want to help, you can find a list of "Junior Jobs" here:
Eymoutiers, Janvier 23, 2023
Pandocker is a docker image containing a complete document production toolchain
based on pandoc
with filters, templates, fonts, and the latex bazaar
It allows you to generate slides and documents without installing the required depencies on your machine. It is also very usefull to integrate pandoc into a CI workflow such as Github Actions, Gitlab Pipelines, etc.
For instance to generate an EPUB file from a markdown source, you can simply type:
docker run --rm -v `pwd`:/pandoc dalibo/pandocker test.md -o test.epub
This image is available under BSD Licence and it has 4 main tags:
stable
should be used in productionstable-full
for non-european languageslatest
andlatest-full
are the development versions
You can also retrieve older versions by their version number:
dalibo/pandocker:19.11
, dalibo/pandocker:21.02-full
, etc.
For more details :
- Github : https://github.com/dalibo/pandocker
- Docker Hub : https://hub.docker.com/r/dalibo/pandocker/
This new version brings minor updates and prepares the ground before important changes.
docker pull dalibo/pandocker:stable
Pandocker is an open project, contributions are welcome.
If you want to help, you can find a list of "Junior Jobs" here:
Paris, Decembrer 19, 2022
Pandocker is a docker image containing a complete document production toolchain
based on pandoc
with filters, templates, fonts, and the latex bazaar
It allows you to generate slides and documents without installing the required depencies on your machine. It is also very usefull to integrate pandoc into a CI workflow such as Github Actions, Gitlab Pipelines, etc.
For instance to generate an EPUB file from a markdown source, you can simply type:
docker run --rm -v `pwd`:/pandoc dalibo/pandocker test.md -o test.epub
This image is available under BSD Licence and it has 4 main tags:
stable
should be used in productionstable-full
for non-european languageslatest
andlatest-full
are the development versions
You can also retrieve older versions by their version number:
dalibo/pandocker:19.11
, dalibo/pandocker:21.02-full
, etc.
For more details :
- Github : https://github.com/dalibo/pandocker
- Docker Hub : https://hub.docker.com/r/dalibo/pandocker/
This new version brings major updates for all its basic components:
- Switch from Debian 10 buster to Ubuntu 22.04 Jammy
- Upgrade to pandoc 2.19
- Upgrade from TexLive 2016 to TexLive 2022
- Upgrade for many python filters
The alpine
, buster
and bullseye
tags are now obsolete.
With so many new versions on each key part of the image, this new release may introduce regressions on your own document toolchain, please be careful when upgrading and open an issue to let us know if you encouter any problem.
docker pull dalibo/pandocker:stable
Pandocker is an open project, contributions are welcome.
If you want to help, you can find a list of "Junior Jobs" here:
Paris, March 16th, 2022
Pandocker is a docker image containing a complete document production toolchain
based on pandoc
with filters, templates, fonts, and the latex bazaar
It allows you to generate slides and documents without installing the required depencies on your machine. It is also very usefull to integrate pandoc into a CI workflow such as Github Actions, Gitlab Pipelines, etc.
For instance to generate an EPUB file from a markdown source, you can simply type:
docker run --rm -v `pwd`:/pandoc dalibo/pandocker test.md -o test.epub
This image is available under BSD Licence and it has 4 main tags:
stable
should be used in productionstable-full
for non-european languageslatest
andlatest-full
are the development versions
You can also retrieve older versions by their version number:
dalibo/pandocker:19.11
, dalibo/pandocker:21.02-full
, etc.
For more details :
- Github : https://github.com/dalibo/pandocker
- Docker Hub : https://hub.docker.com/r/dalibo/pandocker/
This new version brings a new package called awesomebox
. Along with the
fontawesome
font and the pandoc-latex-environment
filter, it allows users
to add "boxes" in the pdf documents.
Here's a basic example
---
header-includes:
- |
```{=latex}
\usepackage{awesomebox}
pandoc-latex-environment: warningblock: [warning] ...
This is a normal paragraph.
::: warning ATTENTION: This is a warning box ! :::
You can see the result below:
https://github.com/Wandmalfarbe/pandoc-latex-template/blob/master/examples/boxes-with-pandoc-latex-environment-and-awesomebox/document.pdf
How to upgrade
--------------------------------------------------------------------------------
```console
docker pull dalibo/pandocker:stable
Pandocker is an open project, contributions are welcome.
If you want to help, you can find a list of "Junior Jobs" here:
Paris, March 1rst, 2021
Pandocker is a docker image containing a complete document production toolchain
based on pandoc
with filters, templates, fonts, and the latex bazaar
It allows you to generate slides and documents without installing the required depencies on your machine. It is also very usefull to integrate pandoc into a CI workflow such as Github Actions, Gitlab Pipelines, etc.
For instance to generate an EPUB file from a markdown source, you can simply type:
docker run --rm -v `pwd`:/pandoc dalibo/pandocker test.md -o test.epub
This image is available under BSD Licence and it has 2 main tags:
stable
should be used in productionstable-full
for non-european languageslatest
andlatest-full
are the development versions
You can also retrieve older versions by their version number:
dalibo/pandocker:19.11
, dalibo/pandocker:21.02-full
, etc.
For more details :
- Github : https://github.com/dalibo/pandocker
- Docker Hub : https://hub.docker.com/r/dalibo/pandocker/
This new version is now based on Debian 10 buster (instead of Stretch) with pandoc 2.11 and the version 2.0 of the eisvogel template. We have done careful regression tests but these changes may introduce minor changes in the rendered output of your documents. Please open a ticket if you notice a problematic behaviour.
The docker image has now a new variant named full
that will included
non-european fonts, especially the complete Noto font. This font family is
designed to support all languages.
We also included latex font packages such as devanagari for Hindi and farsiweb for Persian. Right-to-Left typesetting is also supported.
To use these fonts, you can simply define the mainfont
variable inside the
markdown front-matter or via the pandoc command line with the -v
(or
--variable
option) :
docker run [...] dalibo/pandocker [...] hindi.md -o hindi.pdf -v mainfont='Lohit Devanagari'
For Noto:
docker run [...] dalibo/pandocker [...] foo.md -o foo.pdf -v mainfont='Noto Sans'
IMPORTANT: The full
docker image size is approx. 800MB whereas the regular
is "only" 320 MB. We recommend that you use the full
variant only when needed
and prefer the regular variant for basic use cases.
The support for Hindi and Persian was sponsored by the OWASP Foundation. Many thanks to them ! Many thanks also to @iapellaniz and @vvishnyakov who contributed to the release.
docker pull dalibo/pandocker:stable
Pandocker is an open project, contributions are welcome.
If you want to help, you can find a list of "Junior Jobs" here:
Paris, February 5th, 2020
Pandocker is a docker image containing a complete document production toolchain
based on pandoc
with filters, templates, fonts, and the latex bazaar
It allows you to generate slides and documents without installing the required depencies on your machine.
For instance to generate an EPUB file from a markdown source, you can simply type:
docker run --rm -v `pwd`:/pandoc dalibo/pandocker test.md -o test.epub
This image is available under BSD Licence and it has 2 main tags:
dalibo/pandocker:stable
should be used in production ( = 20.20 )dalibo/pandocker:latest
is the development version
You can also retrieve older versions by their version number:
dalibo/pandocker:20.02
, dalibo/pandocker:19.11
, etc.
For more details :
- Github : https://github.com/dalibo/pandocker
- Docker Hub : https://hub.docker.com/r/dalibo/pandocker/
This is new version brings several new items:
- 2 more filters: pandoc-crossref and pandoc-citeproc
- 2 more templates: leaflet and letter
- 2 more fonts: Noto and Deja-Vu
- All european languages are now supported
There's also some improvements on the existing tools:
- Pandoc has been updated to 2.9
- The eisvogel template has been upgraded to 1.4
Many thanks to @colindean and @DigitalTravelDuck for their contributions to these features !
It is now possible to run the pandocker image as a 'black box' by passing the source file through a pipe and collecting the result on the standard output.
For example:
$ cat foo.md | docker run --rm -i dalibo/pandocker -t pdf > foo.pdf
This is useful if you want to use pandocker in a stream or when you don't want to mount a docker volume. However, this method will not work if the source document contains images or includes external files...
docker pull dalibo/pandocker:stable
If you installed the toolchain locally, please read: https://github.com/dalibo/pandocker/blob/master/UPGRADE.md#without-docker-local-setup
Pandocker is an open project, contributions are welcome.
If you want to help, you can find a list of "Junior Jobs" here:
Paris, november 12
Pandocker is a docker image containing a complete document production toolchain.
It allows you to generate slides and documents using pandoc
, but without
installing the required depencies on your machine.
For instance to generate an EPUB file from a markdown source, you can simply type:
docker run --rm -v `pwd`:/pandoc dalibo/pandocker test.md -o test.epub
This image is available under BSD Licence and it is designed to work without specific templates.
The project has 2 main branchs:
dalibo/pandocker:stable
should be used in production ( = 19.11 )dalibo/pandocker:latest
is the development version
You can also retrieve images by their version number : dalibo/pandocker:18.03
,
dalibo/pandocker:17.12
, etc.
For more details :
- Github : https://github.com/dalibo/pandocker
- Docker Hub : https://hub.docker.com/r/dalibo/pandocker/
This is version brings very few changes. The version of Pandoc has been updated and the embbeded template (eisvogel) has been upgraded too.
docker pull dalibo/pandocker:stable
If you installed the toolchain locally, please read: https://github.com/dalibo/pandocker/blob/master/UPGRADE.md#without-docker-local-setup
Pandocker is an open project, contributions are welcome.
If you want to help, you can find a list of "Junior Jobs" here:
https://github.com/dalibo/pandocker/labels/Junior%20Jobs
Paris, august 22nd
Pandocker is a docker image containing a complete document production toolchain.
It allows you to generate slides and documents using pandoc
, but without
installing the required depencies on your machine.
For instance to generate an EPUB file from a markdown source, you can simply type:
docker run --rm -v `pwd`:/pandoc dalibo/pandocker:stable test.md -o test.epub
This image is available under BSD Licence and it is designed to work without specific templates.
The project has 2 main branchs:
dalibo/pandocker:stable
should be used in production ( = 19.08 )dalibo/pandocker:latest
is the development version
You can also retrieve images by their version number : dalibo/pandocker:18.03
,
dalibo/pandocker:17.12
, etc.
For more details :
- Github : https://github.com/dalibo/pandocker
- Docker Hub : https://hub.docker.com/r/dalibo/pandocker/
You can now import code for an external file with this simple syntax :
``` { .sql include=query1.sql}
```
To use this plugin, just add --filter pandoc-codeblock-include
to the command line.
For more details about this filter, check out pandoc-codeblock-include.
You can now convert dia
files to SVG or PNG with the command line below:
$ docker run [...] --entrypoint dia dalibo/pandocker foo.dia -e foo.svg
docker pull dalibo/pandocker:stable
If you installed the toolchain locally, please read: https://github.com/dalibo/pandocker/blob/master/UPGRADE.md#without-docker-local-setup
Pandocker is an open project, contributions are welcome.
If you want to help, you can find a list of "Junior Jobs" here:
https://github.com/dalibo/pandocker/labels/Junior%20Jobs
Paris, june 27th
Pandocker is a docker image containing a complete document production toolchain.
It allows you to generate slides and documents using pandoc
, but without
installing the required depencies on your machine.
For instance to generate an EPUB file from a markdown source, you can simply type:
docker run --rm -v `pwd`:/pandoc dalibo/pandocker:stable test.md -o test.epub
This image is available under BSD Licence and it is designed to work without specific templates.
The project has 2 main branchs:
dalibo/pandocker:stable
should be used in production ( = 19.05 )dalibo/pandocker:latest
is the development version
You can also retrieve images by their version number : dalibo/pandocker:18.03
,
dalibo/pandocker:17.12
, etc.
For more details :
- Github : https://github.com/dalibo/pandocker
- Docker Hub : https://hub.docker.com/r/dalibo/pandocker/
You can now import content for an external markdown file with this simple syntax :
!include relative_path/foo.md
To use this plugin, just add --filter pandoc-include
to the command line.
For more details about this filter, check out pandoc-include.
Many thanks to @misamura who submitted this feature !
docker pull dalibo/pandocker:stable
If you installed the toolchain locally, please read: https://github.com/dalibo/pandocker/blob/master/UPGRADE.md#without-docker-local-setup
Pandocker is an open project, contributions are welcome.
If you want to help, you can find a list of "Junior Jobs" here:
https://github.com/dalibo/pandocker/labels/Junior%20Jobs
Pandocker is a docker image containing a complete document production toolchain.
It allows you to generate slides and documents using pandoc
, but without
installing the required depencies on your machine.
For instance to generate an EPUB file from a markdown source, you can simply type:
docker run --rm -v `pwd`:/pandoc dalibo/pandocker:stable test.md -o test.epub
This image is available under BSD Licence and it is designed to work without specific templates.
The project has 2 main branchs:
dalibo/pandocker:stable
should be used in production ( = 18.02 )dalibo/pandocker:latest
is the development version
You can also retrieve images by their version number : dalibo/pandocker:18.03
,
dalibo/pandocker:17.12
, etc.
For more details :
- Github : https://github.com/dalibo/pandocker
- Docker Hub : https://hub.docker.com/r/dalibo/pandocker/
Pandoc is now able to parse dokuwiki pages ! You can now use pandocker as converter to migrate from dokuwiki to markdown.
docker run [...] --from dokuwiki source.doku.txt --to markdown
Emojis are supported with the latex engine for PDF output (they were already supported for revealjs and HTML outputs).
Simply add the following header-include
parameter in your documents
---
title: Hello, 🌍
header-includes: |
\usepackage{xltxtra}
\usepackage{xelatexemoji}
---
😀
And then run pandocker as always:
docker run [...] --pdf-engine=xelatex lol.md -o lol.pdf
Pandocker now allows you to put variables into your markdown documents, with
their values stored in a separate file. The language we use is the mustache
template syntax.
You can simply add variables like this
---
mustache:
- tests/vars.yml
---
Rapport par {{auteur}}, relu par {{relecteur}}
And then define the variables in the tests/vars.yml
file :
auteur: Satsuki
relecteur: Mei
To activate this option, add the mustache filter to your command line
docker run [...] --filter pandoc-mustache [...]
docker pull dalibo/pandocker:stable
If you installed the toolchain locally, please read: https://github.com/dalibo/pandocker/blob/master/UPGRADE.md#without-docker-local-setup
Pandocker is an open project, contributions are welcome.
If you want to help, you can find a list of "Junior Jobs" here:
https://github.com/dalibo/pandocker/labels/Junior%20Jobs
Pandocker is a docker image containing a complete document production toolchain.
It allows you to generate slides and documents using pandoc
, but without
installing the required depencies on your machine.
For instance to generate an EPUB file from a markdown source, you can simply type:
docker run --rm -v `pwd`:/pandoc dalibo/pandocker:stable test.md -o test.epub
This image is available under BSD Licence and it is designed to work without specific templates.
The project has 2 main branchs:
dalibo/pandocker:stable
should be used in production ( = 18.11 )dalibo/pandocker:latest
is the development version
You can also retrieve images by their version number : dalibo/pandocker:18.03
,
dalibo/pandocker:17.12
, etc.
For more details :
- Github : https://github.com/dalibo/pandocker
- Docker Hub : https://hub.docker.com/r/dalibo/pandocker/
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
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 [...]
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 !
docker pull dalibo/pandocker:stable
If you installed the toolchain locally, please read: https://github.com/dalibo/pandocker/blob/master/UPGRADE.md#without-docker-local-setup
Pandocker is an open project, contributions are welcome.
If you want to help, you can find a list of "Junior Jobs" here:
https://github.com/dalibo/pandocker/labels/Junior%20Jobs
Pandocker is a docker image containing a complete document production toolchain.
It allows you to generate slides and documents using pandoc
, but without
installing the required depencies on your machine.
For instance to generate an EPUB file from a markdown source, you can simply type:
docker run --rm -v `pwd`:/pandoc dalibo/pandocker:stable test.md -o test.epub
This image is available under BSD Licence and it is designed to work without specific templates.
The project has 2 main branchs:
dalibo/pandocker:stable
should be used in production ( = 18.06 )dalibo/pandocker:latest
is the development version
You can also retrieve images by their version number : dalibo/pandocker:18.03
,
dalibo/pandocker:17.12
, etc.
For more details :
- Github : https://github.com/dalibo/pandocker
- Docker Hub : https://hub.docker.com/r/dalibo/pandocker/
The next images will be published in november, february, may and august.
We added a new Font espacially for code blocks.
Since version 18.03, we're using Pandoc 2 and we added a wrapper that supports pandoc 1.x parameters. This is the last version that will automatically support pandoc 1.x.
We'll continue to deliver the pandoc1 wrapper in the next versions but you should consider updating your compilation flags as soon as possible.
docker pull dalibo/pandocker:stable
If you installed the toolchain locally, please read: https://github.com/dalibo/pandocker/blob/master/UPGRADE.md#without-docker-local-setup
This release is brought to you by Damien Clochard with the help of Etienne Bersac and Eric Lemoine.
Pandocker is an open project, contributions are welcome.
If you want to help, you can find a list of "Junior Jobs" here:
https://github.com/dalibo/pandocker/labels/Junior%20Jobs
Pandocker is a docker image containing a complete document production toolchain.
It allows you to generate slides and documents using pandoc
, but without
installing the required depencies on your machine.
For instance to generate an EPUB file from a markdown source, you can simply type:
docker run --rm -v `pwd`:/pandoc dalibo/pandocker:stable test.md -o test.epub
This image is available under BSD Licence and it is designed to work without specific templates.
The project has 2 main branchs:
dalibo/pandocker:stable
should be used in production ( = 18.06 )dalibo/pandocker:latest
is the development version
You can also retrieve images by their version number : dalibo/pandocker:18.03
,
dalibo/pandocker:17.12
, etc.
For more details :
- Github : https://github.com/dalibo/pandocker
- Docker Hub : https://hub.docker.com/r/dalibo/pandocker/
We added support for german charset.
Since version 18.03, we're using Pandoc 2 and it introduced 2 incompatibilities:
--latex-engine
is now named--pdf-engine
--no-tex-ligatures
is replaced by--from=markdown-smart
We added a wrapper that automatically supports both pandoc 1.x and 2.x parameters, but in the long run you should consider updating your compilation flags.
docker pull dalibo/pandocker:stable
If you installed the toolchain locally, please read: https://github.com/dalibo/pandocker/blob/master/UPGRADE.md#without-docker-local-setup
This release is brought to you by Damien Clochard with the help of Michael Mayer. Pandocker is an open project, contributions are welcome.
If you want to help, you can find a list of "Junior Jobs" here:
https://github.com/dalibo/pandocker/labels/Junior%20Jobs
Pandocker is a docker image containing a complete document production toolchain.
It allows you to generate slides and documents using pandoc
, but without
installing the required depencies on your machine.
For instance to generate an EPUB file from a markdown source, you can simply type:
docker run --rm -v `pwd`:/pandoc dalibo/pandocker:stable test.md -o test.epub
This image is available under BSD Licence and it is designed to work without specific templates.
The project has 2 main branchs:
dalibo/pandocker:stable
should be used in production ( = 18.03 )dalibo/pandocker:latest
is the development version
You can also retrieve images by their version number : dalibo/pandocker:18.03
,
dalibo/pandocker:17.12
, etc.
For more details :
- Github : https://github.com/dalibo/pandocker
- Docker Hub : https://hub.docker.com/r/dalibo/pandocker/
Pandoc 2 was released in october 2017 and brings tons of great new features. It also introduce a few incompatibilities as some parameters have been abruptly renamed:
--latex-engine
is now named--pdf-engine
--no-tex-ligatures
is replaced by--from=markdown-smart
Hopefully we added a wrapper that automatically supports both pandoc 1.x and 2.x parameters, but in the long run you should consider updating your compilation flags.
The size of the previous image was 1.2GB (uncompressed). We reduced this to 735MB. We stripped down the image by removing a lot of unused LaTeX packages. If you're missing one, please fill a bug report here :
https://github.com/dalibo/pandocker/issues
We restored the beamer export mode. You can simply get PDF slides like this:
docker run --rm -v `pwd`:/pandoc dalibo/pandocker:stable -t beamer foo.md - o foo.beamer.pdf
This release is brought to you by Étienne Bersac, Damien Clochard and Julien Tachoires. Pandocker is an open project, contributions are welcome.
If you want to help, you can find a list of "Junior Jobs" here: