[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: Sun, 12 Apr 2020 07:15:27 -0400


On Sun, Apr 12, 2020 at 6:38 AM Nicolas Goaziou <address@hidden> wrote:

> Anyway, Org cite syntax should:
> - fully support CSL,
> - allow changing globally style of cites,
> - be extensible enough to support « advanced » citation markup (NatBib,
>   Biblatex…),
> - degrade gracefully when using less advanced markup,
> - be short enough


> Here's a proposal for a definitive citation syntax.
> This syntax implements one default cite command, and specialized (or
> typed) ones.
> The default citation command is, as usual:
>   [cite: ... @key1...]
> with allowed global pre/post strings, and a minus marker to specify
> SuppressAuthor per cite.
> I assume that [cite:@key] is common enough, so bare @key is a shorthand
> for it. Likewise, -@key is a shorthand for [cite:-@key].

All good.

> Default citations uses the default citation style, which could be
> defined globally (by a defcustom), locally (keyword, or property), or
> per ".bib" file.

I'm just a little confused here, particularly on the last item. Why
would one set a style per bib file?

> The syntax also provides typed citations:
>   [citeX: ... @key1...]
> where X stands for any alphanumeric character.
> A typed citation is meant to locally override default style. Each
> citation back-ends may interpret "X" type, but if they don't, "citeX"
> should be treated as "cite".
> For example, assuming Citeproc treats
>   [cite:@doe]
> as (Doe, 2020), then
>   [citet:@doe]
> could be interpreted as AuthorInText by Citeproc, i.e.,
>   Doe (2020)
> but
>   [citep:@doe]
> could be ignored, and therefore become
>   (Doe, 2020)
> Of course Biblatex may interpret it differently.

This looks to be an elegant solution to the goals you articulated at the top.

On the "could be ignored" part, you are referring to the optional type
character, so that citey: becomes cite:; correct?

Finally, what does the above example look like when, say, there are
two cites (say @doe2020 and @doe2019), and a global prefix?

Is it this?

[cite:see ;@doe2020;@doe2019]

And a SuppressAuthor variant would be this?

[cite:see ;-@doe2020;-@doe2019]


reply via email to

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