You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a book consisting of 12 markdown files, and I added a first link reference to a figure using pandoc-fignos.
![critical services](img/critical-services.png){#fig:1 width=70%}
*@fig:1 shows a system...
The PDF output is correct, and the figure is linked correctly. However, the epub is pointing to the wrong file. It seems to be getting confused by the files generated by pandoc itself when using --epub-chapter-level=2.
Here's a screenshot of the command I use to generate the epub file.
Something that is probably relevant, is that I'm using number-sections together with {.unnumbered}. So all the markdown files which names start with 00 are unnumbered. The rest are numbered.
pandoc-fignos seems to count these unnumbered sections and cross-reference the links to them.
Not sure if that's a good assessment of the issue. I'd appreciate any ideas, workarounds, etc.
I am working on a book consisting of 12 markdown files, and I added a first link reference to a figure using
pandoc-fignos
.The PDF output is correct, and the figure is linked correctly. However, the epub is pointing to the wrong file. It seems to be getting confused by the files generated by
pandoc
itself when using--epub-chapter-level=2
.Here's a screenshot of the command I use to generate the epub file.
Something that is probably relevant, is that I'm using
number-sections
together with{.unnumbered}
. So all the markdown files which names start with00
are unnumbered. The rest are numbered.pandoc-fignos
seems to count these unnumbered sections and cross-reference the links to them.Not sure if that's a good assessment of the issue. I'd appreciate any ideas, workarounds, etc.
Versions
The text was updated successfully, but these errors were encountered: