-
DescriptionI am trying to build a Scielo template to be used with Quarto for a while (#12251)[ˆ1]. The footnotes are being generated as:
instead of:
For some reason, the scielo format checker complaints if there is no I tried to solve with the Here is how I am calling the filter:
Strangely, I also noticed that the [ˆ1]: I have built a mwe repo with the most minimal example I could think. It will also be used to another problem I found while trying to create this custom format. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This is your filter
What you are doing it probably not what you think.
Your idea of qmd -> AST -> XML is a good one. This means your filter shouldn't consider the footnote has been transform to xml yet.
It seems Pandoc writers does not consider You could open an issue in Pandoc if this is supposed to be in the JATS spec I guess. To catch the Note in Lua you would need to use the So I guess only post processing your XML is necessary 😞 |
Beta Was this translation helpful? Give feedback.
This is your filter
What you are doing it probably not what you think.
You are
el.format
is the raw format used on this rawblock.Your idea of qmd -> AST -> XML is a good one. This means your filter shouldn't consider the footnote has been transform to xml yet.
at: post-render
m…