emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Citation syntax: a revised proposal


From: Rasmus
Subject: Re: [O] Citation syntax: a revised proposal
Date: Tue, 03 Mar 2015 10:13:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:

> Richard Lawrence <address@hidden> writes:
>
>> Sorry, I may not have emphasized this enough, but in the grammar, I wrote:
>>
>>   - A KEY optionally begins with `-', and obligatorily contains `@' or
>>     `&' followed by a string of characters which begins with a letter
>>     or `_', and may contain alphanumeric characters and the following
>>     *internal* punctuation characters:
>>        :.#$%&-+?<>~/

AFAIK Bibtex keys don't understand '#%~', so I'd remove those.  I would
leave out '$' as well, as it's also the math symbol (think of display
support).

The regexp used by bibtex.el is bibtex-entry-head and keys are matched by:

          \\([][[:alnum:].:;?!`'/address@hidden|()<>&_^$-]+\\)

> What about "@_" and "@a" ? Are they valid keys?

What is wrong with @a?  That seems like a perfectly legit key and one that
you would even use in real life, for a one-citation document, say.

@_ Would be supported by bibtex, but I don't see a reason for supporting
it here (what is "@_1"?  Why would citations take precedence over
subscripts?)


-- 
Together we'll stand, divided we'll fall




reply via email to

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