`pandoc/core` not working as documented
cmahnke opened this issue · comments
Either the documentation is outdated or the image is missing a dependency:
docker run --rm \
> --volume "$(pwd):/data" \
> --user $(id -u):$(id -g) \
> pandoc/core protokoll.md -o outfile.pdf
pdflatex not found. Please select a different --pdf-engine or install pdflatex
pandoc/core does not contain pdflatex. You have to use pandoc/latex instead.
If that is the case, then the default --pdf-engine should not be pdflatex.
@cmahnke is referring to what is documented by pandoc on DockerHub.
I don't see anywhere in documentation that suggests using the core image to generate PDF files. If it is miss-documented somewhere can somebody please point out the exact reference? The core image has no backends for generating PDFs, only things that Pandoc can generate natively are supported.
dockerfiles/docs/sections/run.md
Line 11 in 61b1fbf
@cmahnke That reference is already explicitly shown as using the pandoc/latex
image, not the pandoc/core
image. I'm still happy to fix anywhere it is actually miss-documented, but that example is correct already.
I might have been wrong, the problem still exists:
https://hub.docker.com/r/pandoc/core
Section "Run the pandoc Docker container"
Maybe someone have to renew the Text on Dockerhub, it should be automated anyways
@tarleb The README copy on Docker Hub does in fact appear to be over a year behind what is in this repository. The include system also seems like it will produce sub-optimal results in that it will have the PDF example using the latex image in the docs for all the images including core. I don't have access to the Docker Hub org where these are stored so I can't fix that end of things. Can you either regen the docs there or give my alerque
user access to the Docker end of things?