-
Notifications
You must be signed in to change notification settings - Fork 10
Description
First, I wanted to say thanks for fixing jgm/pandoc#11090 it resolved my main issue.
However, as someone who anticipates having more complicated use cases in the future (and wants to contribute to this valuable open source software) I decided to test one more use case and found another bug.
Explain the problem.
The bug is basically the same as jgm/pandoc#11090 but with one more level of nesting.
So with a file layout like this:
.
├── ch1
│ ├── ch1.typ
│ ├── media
│ │ └── image1.png
│ └── section1.1
│ ├── 1.1.typ
│ └── media
│ └── image2.png
├── images
│ ├── fail_docx.png
│ └── success_pdf.png
├── main.typ
└── README.md
Where: main.typ imports ch1.typ which imports 1.1.typ which uses media/image2.png.
In this case when we run pandoc main.typ -f typst -s -o main.docx we get the following error:
[WARNING] Could not fetch resource section1.1/media/image2.png: replacing image with description
I made a new branch double-nested-bug on this repo with a minimal reproduction.
Pandoc version?
I built f865b3bc4bc6fb29fdfb1b44778952b5efb578ab on my M1 Mac.