pandoc / pandoc/dockerfiles

Corrupted PDF: unable to render preview from PDF compiled on docker pandoc/extra

Open
#296 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
439
Forks
107
PR merge metrics
No merged PRs in 30d

Description

Since a week or so, my pdfs have all returned corrupted. I can open the pdfs but there is no preview of them in the file explorer and I cannot upload them to any website.
When I check on github my pdfs appear "unable to render".
It seems like some sneaky block of metadata has appeared.

Here is my build routine

cd $@; docker run --rm --volume "$(PWD)/$@:/data" pandoc/extra summary.md LICENSE.md -o $@.pdf --template eisvogel --listings --number-sections

Two weeks ago all pdf returned fine and I didn't change anything in my build routine.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported docker run command with summary.md and LICENSE.md using the pandoc/extra image, then inspect the generated PDF for the corruption described. Compare the current image output with a known-good PDF and verify whether the result renders on GitHub and uploads successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.