Skip to content

🕸️ A temporary solution for cross-referencing footnotes in LaTeX and HTML with Pandoc and Quarto

Notifications You must be signed in to change notification settings

bcdavasconcelos/fn-ref

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fn-ref

A temporary solution for cross-referencing footnotes in LaTeX and HTML with Pandoc and Quarto. The extension is based on the script provided by Shafayet Khan Shafee for the problem posed by Gustavo Gomes at StackOverflow. On the same matter, see also 1, 2.

This extension offers the ability to cross-reference footnotes using markdown syntax. The markdown syntax is simple: add the anchor to the footnotes using []{#fn-label} and then cite using @fn-label.

Installing

quarto add bcdavasconcelos/fn-ref

This will install the extension under the _extensions subdirectory. If you're using version control, you will want to check in this directory.

Usage

Add the following to your _quarto.yml file:

quarto:
  pandoc:
    extensions:
      - bcdavasconcelos/fn-ref

Example

---
filters:
  - fn-ref
---

This extension offers the ability to cross-reference footnotes[^1]. See footnote @fn-label1.

[^1]: []{#fn-label1} The footnote label should come at the begining.

About

🕸️ A temporary solution for cross-referencing footnotes in LaTeX and HTML with Pandoc and Quarto

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages