ITADN
jgm/pandoc/Issues

unable to convert epub to pdf via typst engine

#11626OpenStructSeeker 创建于 2026-05-07
bug
S
StructSeekercommented
for current latest verison ``` ~\Downloads\toreduce> pandoc -v pandoc 3.9.0.2 Features: +server +lua Scripting engine: Lua 5.4 User data directory: C:\Users\struc\AppData\Roaming\pandoc Copyright (C) 2006-2025 John MacFarlane. Web: https://pandoc.org This is free software; see the source for copying conditions. There is no warranty, not even for merchantability or fitness for a particular purpose. ~\Downloads\toreduce> pandoc -f 'epub' -t 'pdf' -o 'x.pdf' --split-level=1 --pdf-engine=typst --standalone x.epub error: label `<nav.xhtml_toc>` does not exist in the document ┌─ \\?\C:\Users\struc\Downloads\toreduce\toPFD84.typ:167:3 │ 167 │ + #link(<nav.xhtml_toc>)[Table of Contents] │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: label `<s04.xhtml_s04-a01>` does not exist in the document ┌─ \\?\C:\Users\struc\Downloads\toreduce\toPFD84.typ:912:18 │ 912 │ detail how \"The #link(<s04.xhtml_s04-a01>)[Emperor\'s] New Clothes\" │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: label `<s04.xhtml_s04-a03>` does not exist in the document ┌─ \\?\C:\Users\struc\Downloads\toreduce\toPFD84.typ:4497:1 │ 4497 │ #link(<s04.xhtml_s04-a03>)[Dryad] stepped quickly out. │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: label `<s04.xhtml_s04-a02>` does not exist in the document ┌─ \\?\C:\Users\struc\Downloads\toreduce\toPFD84.typ:2365:26 │ 2365 │ Farewell, farewell, thou #link(<s04.xhtml_s04-a02>)[warrior] brave, For │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error producing PDF. ``` A used epub file can be found [here](https://github.com/IDPF/epub3-samples/releases/download/20230704/childrens-literature.epub) among other [sample epub](https://idpf.github.io/epub3-samples/30/samples.html)
2 条评论