emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Bruce D'Arcus" <bdarcus@gmail.com>
To: "Bruce D'Arcus" <bdarcus@gmail.com>,
	org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: [org-cite] citekey restrictions?
Date: Sun, 16 May 2021 07:41:36 -0400	[thread overview]
Message-ID: <CAF-FPGOJ8qMZVvV-pnTp7bA_r7Ah6_T7GCXDwurEy0gSvJweoA@mail.gmail.com> (raw)
In-Reply-To: <87eee6zzlg.fsf@nicolasgoaziou.fr>

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


  reply	other threads:[~2021-05-16 11:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-16 10:12 [org-cite] citekey restrictions? Bruce D'Arcus
2021-05-16 11:29 ` Nicolas Goaziou
2021-05-16 11:41   ` Bruce D'Arcus [this message]
2021-05-16 12:55     ` Nicolas Goaziou
2021-05-16 13:10       ` Bruce D'Arcus
2021-05-16 18:49       ` Joost Kremers
2021-05-16 21:21         ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAF-FPGOJ8qMZVvV-pnTp7bA_r7Ah6_T7GCXDwurEy0gSvJweoA@mail.gmail.com \
    --to=bdarcus@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).