[Top][All Lists]

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

Re: wip-cite status question and feedback

From: Nicolas Goaziou
Subject: Re: wip-cite status question and feedback
Date: Sun, 12 Apr 2020 17:32:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

"Bruce D'Arcus" <address@hidden> writes:

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

>> Yes, and a "t-styled" citation would be:
>>   [citet:see;@doe2020;@doe2019]
>> Barring the prefix, the syntax of the citation does not change wrt to
>> "wip-cite" branch. However, this is enough to be slightly incompatible,
>> hence the "wip".
> Good; no issues that I see with this at all.


I'll wait a bit for others to comment. If there is no objection, I'll
implement this in "wip-cite" and rebase that branch on top of "master"
for easier testing and feedback.

> Only question is I see you removed whitespace after the prefix on your
> citet: example.
> Is the expectation (which is reasonable; am just asking) that prefixes
> would add the whitespace after it on output, so users don't have worry
> about this?
> So in other words, the value of an affix would be a trimmed string?

That was a typo. But that's a good question anyway.

Generally speaking, I'd rather avoid any magic, so the parser should not
add any space whatsoever. However, should it remove some?

AFAICT, Biblatex would probably ignore spacing since it provides its own
mechanism to separate multiple cites. I don't know about Citeproc. Maybe
trimming prefixes and postfixes is the way to go. What would you suggest

In any case, consecutive spaces ought to be packed into a single one.
This allows auto-filling a paragraph at a citation, e.g.,

  Some very long explanation [cite:see @doe2020 
  pp. 12-15].

is equivalent to

  Some very long explanation [cite:see @doe2020 pp. 12-15]

reply via email to

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