[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Suggestions for improved suffix parsing in oc-biblatex
From: |
Denis Maier |
Subject: |
Suggestions for improved suffix parsing in oc-biblatex |
Date: |
Wed, 8 Sep 2021 15:37:15 +0200 |
Hi,
I think the suffix parsing in oc-biblatex could be improved. Consider
this example:
====================================
#+cite_export: biblatex authoryear
[cite:@doe 4]
[cite:@doe 4, with some more text]
=====================================
This gives us
=====================================
\autocite[4]{doe}
\autocite[4, with some more text]{doe}
=====================================
The problem isĀ that biblatex will add a label if the suffix consists
only of a number, a range of numbers, or a list of numbers. So
\autocite[4]{doe} will result (Doe 2021, p. 4). However, \autocite[4,
with some more text]{doe} results in (Doe 2021, 4, with some more text).
In this special case you'd have to help biblatex:
\autocite[\pnfmt{4}, with some more text]{doe}
=> (Doe 2021, p. 4, with some more text)
FWIW, pandoc's citeproc already has some support for this. There you can
use braces to specify a locator in a complex suffix. Like so:
[cite:@doe {4}, with some more text]
I don't know how complex that is, but that would be a great addition.
Denis
- Suggestions for improved suffix parsing in oc-biblatex,
Denis Maier <=
- Re: Suggestions for improved suffix parsing in oc-biblatex, Denis Maier, 2021/09/20
- Re: Suggestions for improved suffix parsing in oc-biblatex, Bastien, 2021/09/26
- Re: Suggestions for improved suffix parsing in oc-biblatex, Nicolas Goaziou, 2021/09/28
- Re: Suggestions for improved suffix parsing in oc-biblatex, Bruce D'Arcus, 2021/09/28
- Re: Suggestions for improved suffix parsing in oc-biblatex, Nicolas Goaziou, 2021/09/29
- Re: Suggestions for improved suffix parsing in oc-biblatex, Denis Maier, 2021/09/29
- Re: Suggestions for improved suffix parsing in oc-biblatex, Nicolas Goaziou, 2021/09/30
- Re: Suggestions for improved suffix parsing in oc-biblatex, Denis Maier, 2021/09/30