Skip to content

Translate citation locator braces to \pnfmt when using --biblatex #7220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

seifferth
Copy link
Contributor

BibLaTeX provides \pnfmt, which allows users to force treating
special parts of a citation postnote as pages. This seems to be
equivalent to pandoc-citeproc's locator braces, which provide the
same functionality. Since locator braces are already handled by
the LaTeX Writer anyway (they are stripped), it might be a good
idea to simply translate them into LaTeX when possible.

BibLaTeX provides \pnfmt, which allows users to force treating
special parts of a citation postnote as pages. This seems to be
equivalent to pandoc-citeproc's locator braces, which provide the
same functionality. Since locator braces are already handled by
the LaTeX Writer anyway (they are stripped), it might be a good
idea to simply translate them into LaTeX when possible.
@jgm
Copy link
Owner

jgm commented Apr 11, 2021

But not all locators are page numbers....

@seifferth
Copy link
Contributor Author

seifferth commented Apr 11, 2021 via email

@jgm
Copy link
Owner

jgm commented Sep 19, 2021

Sorry I've let this languish.
Yes, the code you're talking about is in Text.Pandoc.Citeproc.Locator - parseLocator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants