pandoc-lua-filters/text-crossrefs/sample.md
Bastien Dumont 6f5b110c9e Add 'text-crossrefs/' from commit '7e09b67aeda54b4f098e8576c203c809572a85bb'
git-subtree-dir: text-crossrefs
git-subtree-mainline: 02e7a6fef1
git-subtree-split: 7e09b67aed
2024-05-24 13:55:47 +02:00

1.5 KiB

tcrf-pagenote-separator tcrf-pagenote-at-end header-includes
\ ( ) \input{crossrefenum}

(About the notes, see [toc-notes-begin>toc-notes-end]{.tcrf}.)

Émile Gaboriau published [L'Affaire Lerouge in 1866]{#publication}.1

[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

[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}

[A portion of text that may cross a page break.]{#doubledlbl refanchor=both}

[And this one is labelized at the end.]{#lblatend refanchor=end}

See [doubledlbl-beg>doubledlbl-end]{.tcrf}.


  1. It is a very [fine piece of literature]{#my-evaluation}. ↩︎

  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} ↩︎