https://github.com/raybb/pandoc-typst-bug-report
https://github.com/raybb/pandoc-typst-bug-report
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/raybb/pandoc-typst-bug-report
- Owner: RayBB
- Created: 2025-08-29T00:42:37.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-09-02T06:57:34.000Z (9 months ago)
- Last Synced: 2025-09-02T08:31:12.061Z (9 months ago)
- Size: 122 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pandoc Bug with Typst
This repository demonstrates a bug in the way that Pandoc resolves resource paths when converting Typst documents to PDF.
Issue present with pandoc 3.7.0.2
> [!IMPORTANT]
> UPDATE: These issues are fixed and will be included in the next release of Pandoc.
> See: https://github.com/jgm/pandoc/issues/11090 and https://github.com/jgm/typst-hs/issues/74
## Reproduction
1. Clone this repository.
2. Run the pandoc conversion of your choice:
- `pandoc main.typ -f typst -s -o main.pdf`
- `pandoc main.typ -f typst -s -o main.docx`
- `pandoc main.typ -f typst -s -o main.html`
3. See how it successed in typst:
- `typst compile main.typ`
## Gallery
### Failed Output from Pandoc (docx)

### Successful Output from Typst (pdf)
