When converting from Typst
, relative paths are handled incorrectly by read()
(withBinaryFile
)
#10412
Labels
Typst
, relative paths are handled incorrectly by read()
(withBinaryFile
)
#10412
Severity: Very low (easy workaround is to move files or use absolute paths in source Typst code)
Version: 3.5 (on Linux/Ubuntu AMD64)
Minimal example
Create a directory structure like so:
Contents of
main.typ
:Contents of
addons/example.typ
:Contents of
something.txt
:Commands
It is a valid Typst project:
But pandoc does not account for the relative directory:
Comment
Not really a problem for anyone, don't worry too much about it. I only ran into this because I'm using Typst in an unusual way.
Off topic, but I was amazed that
pandoc
had already got Typst support. It's going to be amazingly useful for me! Thanks guys.The text was updated successfully, but these errors were encountered: