[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wip-cite status question and feedback

From: Bruce D'Arcus
Subject: Re: wip-cite status question and feedback
Date: Thu, 9 Apr 2020 05:30:57 -0400

On Thu, Apr 9, 2020 at 3:38 AM Albert Krewinkel <address@hidden> wrote:
> Hello,
> Bruce D'Arcus writes:
> > On Wed, Apr 8, 2020 at 5:32 AM Nicolas Goaziou <address@hidden> wrote:
> >> "Bruce D'Arcus" <address@hidden> writes:
> >>
> >> > Note that in CSL processors, the locators are meaningful key-values,
> >> > basically; not plain text strings.
> >>
> >> OK, but it is enough for Org to feed a CSL processor with, e.g.,
> >>
> >>   key    -> "@doe99"
> >>   prefix -> "see "
> >>   suffix -> ", pp. 33-35"
> >>
> >> Then CSL processor does its job to extract whatever information it
> >> needs. Am I right?
> >
> > On this, I would defer to András and Albert (who maintains the pandoc
> > org code, I believe).
> Yes, that is correct. Pandoc parses `prefix` and `suffix` as markup, so
> the pp in ", /pp/. 33-35." would be italicized.

And Pandoc parses that "suffix" into two parts: the locators, and the
suffix proper.

In this example, from the CSL perspective, there is no suffix; just a locator.

So to answer Nicholes' "CSL processor does its job" question, the
answer would be "yes'; correct?

The only thing I would add on that is if the org citation syntax has
no notion of locators, and simply folds them into the suffix, that
could cause problems for users. This may or may not be a problem to
worry about now; I don't know.

Maybe if org and emacs were to include citeproc-org, you support it,
and otherwise keep simpler?

FWIW, I asked about this on the CSL developers subforum, and got a
very helpful reply from Denis Maier, first discussing the pandoc
citation model and parsing, and then the org citation syntax and
global affixes it supports.


He suggests considering adding support for the global prefix to CSL 1.2.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]