[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [org-cite] citekey restrictions?
From: |
Bruce D'Arcus |
Subject: |
Re: [org-cite] citekey restrictions? |
Date: |
Sun, 16 May 2021 07:41:36 -0400 |
On Sun, May 16, 2021 at 7:29 AM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>
> "Bruce D'Arcus" <bdarcus@gmail.com> writes:
>
> > I was just interacting with one of the org-roam-bibtex developers about
> > org-cite.
> >
> > He noted that citekeys can only start with an underscore or alpha character.
> >
> > Is that a necessary restriction?
> >
> > He, it turns out, mostly has keys of the form '2020-DOE-ABC".
>
> It is not a necessary restriction.
>
> What do you suggest as the first character? Underscore, and
> alphanumeric?
I think so; yes.
> So keys would need to:
>
> - start with _ or alnum
> - end with _ or alnum
> - optionally contain any alnum or symbol among #$%&+./:<>?_~-
I'm not super sure of the details around, for example, bibtex, but
this post seems to be helpful to check against for the details?
https://tex.stackexchange.com/questions/388500/what-is-valid-as-a-biblatex-entry-key/388652#388652
Bruce