Am 01.10.2021 um 10:42 schrieb Nicolas Goaziou:
Hello,
Denis Maier <denisma...@mailbox.org> writes:
So, you're suggesting that locator parsing algorithm should be ported
to oc-biblatex instead?
That's a possibility. It can be factored out from oc-csl.el and become
a generic tool living in oc.el, if deemed useful. The algorithm can trip
over locators involving letters, tho (e.g., "chap. xiv, xv and xvi").
I don't know if that's common.
Not so much for chapters, but it happens quite a lot for page numbers in
prefaces and introductions.
Moreover this is but one side of the problem. Naively, I thought that
BibLaTeX would take care of parsing the locator. Since that's not the
case, oc-biblatex needs additional code to properly deal with it.
Yes, that's the issue. In biblatex you will want to enclose the locator
with \pnfmt{}. (Or use either the \pno or the \ppno command as a prefix.)
Best,
Denis