pandoc-lua-filters/sample.md

36 lines
1.3 KiB
Markdown
Raw Normal View History

---
tcrf-pagenote-separator: '\ ('
tcrf-pagenote-at-end: ')'
header-includes: |
\input{tex-aux/crossrefenum}
---
(About the notes, see [toc-notes-begin>toc-notes-end]{.tcrf}.)
Émile Gaboriau published [_L'Affaire Lerouge_ in
1866]{#publication}.[^1]
[^1]: It is a very [fine piece of literature]{#my-evaluation}.
[It was very popular.]{#reception}
See [publication]{.tcrf} for the publication date. I expressed
my thoughts about it in [my-evaluation]{.tcrf reftype=pagenote}.
If you want to know more about _L'Affaire Lerouge_, see [publication>reception]{.tcrf}.
Here are some precisions.[^2]
[^2]: [Whatever format]{#format} you choose, you can [refer to a note]{#refer-to-note} by the identifier of [any of its spans. You can even [nest spans]{#nested-spans}!]{#which-identifier}
[I want to refer to a note]{#toc-notes-begin}:
* How can I refer to a note by its number? → See [refer-to-note]{.tcrf}.
* What formats are supported? → See [format]{.tcrf}.
* What if the note contains multiple spans with identifiers? → See [which-identifier]{.tcrf}.
* What happens if a span in contained in a span? → See [nested-spans]{.tcrf}.
* What are the notes? → [my-evaluation, format, refer-to-note]{.tcrf reftype=note}
* Where are the notes? → [my-evaluation, format]{.tcrf}
[]{#toc-notes-end}