emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: Citation syntax: Underscore MUST(?) be allowed in cite keys?
Date: Thu, 05 Mar 2015 00:12:42 +0530	[thread overview]
Message-ID: <54F75222.8030805@gmail.com> (raw)
In-Reply-To: <874mq0399a.fsf@gmx.us>

On Thursday 05 March 2015 12:00 AM, Rasmus wrote:
> Hi,
> 
> Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com> writes:
> 
>> 1. Visit http://www.amazon.in/How-Read-Book-Touchstone-book/dp/0671212095
>> 2. Add it to Zotero.
>> 3. Export My Library to BibTeX format.
>> 4. The attached file -- My Library 1.bib -- is what I get.
>>
>> When I import the above .bib file to JabRef GUI, the keys that are
>> reported are \cite{adler_how_1972},
>> \cite{center_for_history_and_new_media_zotero_????}.
>>
>> I am a novice comes to citation.  I had a vague impression by that `_'
>> is not allowed in cite keys.  If we go this way, then the above
>> workflow will be a nightmare.
> 
> Underscore is fine.  Here's the regexp that bibtex.el uses for keys:
> 
>            \\([][[:alnum:].:;?!`'/*@+|()<>&_^$-]+\\)
> 
> See bibtex-entry-head.

I am complaining about how org-element.el behaves.

This [cite:@adler_how_1972] becomes this:

(citation
 (:key
  #("adler" 0 5
    (keymap
     (keymap
      (follow-link . mouse-face)
      (mouse-3 . org-find-file-at-mouse)
      (mouse-2 . org-open-at-mouse))
     face org-link mouse-face highlight htmlize-link
     (:uri "cite:@adler_how_1972")
     fontified t))
  :parentheticalp nil :begin 192 :post-blank 0 :end 214 :suffix
  (#4=(underline
       (:begin 204 :end 209 :contents-begin 205 :contents-end 208
:post-blank 0 :parent #3#)
       #("how" 0 3
	 (:parent #4#)))
      #("1972" 0 4
	(:parent #3#)))
  :parent #5#))

> Jabref is pretty solid (though I'm not at fan of how handles encoding) and
> will not produce wrong keys.
> 
> Cheers,
> Rasmus
> 

  reply	other threads:[~2015-03-04 18:40 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-04 18:21 Citation syntax: Underscore MUST(?) be allowed in cite keys? Vaidheeswaran C
2015-03-04 18:30 ` Rasmus
2015-03-04 18:42   ` Vaidheeswaran C [this message]
2015-03-04 19:01     ` Rasmus
2015-03-04 19:18       ` Vaidheeswaran C
2015-03-04 21:38       ` Christian Moe
2015-03-05  5:00       ` Richard Lawrence
2015-03-06 10:49         ` Nicolas Goaziou
2015-03-06 11:55           ` Rasmus
2015-03-06 17:34             ` Nicolas Goaziou
2015-03-06 17:55               ` Rasmus
2015-03-06 21:01                 ` Eric S Fraga
2015-03-06 12:41           ` Vaidheeswaran C
2015-03-06 18:09             ` Richard Lawrence
2015-03-07  6:28               ` Vaidheeswaran C
2015-03-07 17:09                 ` Richard Lawrence
2015-03-07 18:20                   ` Vaidheeswaran C
2015-03-08  8:19                   ` Stefan Nobis
2015-03-07 17:50                 ` Thomas S. Dye
2015-03-08  0:18                   ` Nicolas Goaziou
2015-03-08  2:12                     ` Rasmus
2015-03-08  4:19                       ` Thomas S. Dye
2015-03-08 12:34                         ` Rasmus
2015-03-08 17:07                           ` Thomas S. Dye
2015-03-08 17:49                             ` Rasmus
2015-03-09  1:56                             ` Richard Lawrence
2015-03-09  2:29                               ` Thomas S. Dye
2015-03-09  8:57                                 ` Stefan Nobis
2015-03-09  9:19                                   ` Vaidheeswaran C
2015-03-09  9:49                                     ` Stefan Nobis
2015-03-09 10:46                                       ` Vaidheeswaran C
2015-03-09 11:02                                         ` Rasmus
2015-03-09 11:27                                         ` Stefan Nobis
2015-03-09 16:05                                 ` Richard Lawrence
2015-03-09 16:37                                   ` Thomas S. Dye
2015-03-09 16:49                                   ` Eric S Fraga
2015-03-09 17:49                                     ` Thomas S. Dye
2015-03-09 18:00                                       ` Eric S Fraga
2015-03-09 18:44                                         ` Thomas S. Dye
2015-03-09 19:26                                           ` Eric S Fraga
2015-03-09 18:50                                       ` Richard Lawrence
2015-03-09 21:07                                         ` Rasmus
2015-03-09 22:33                                           ` Richard Lawrence
2015-03-10  0:37                                             ` Rasmus
2015-03-10 15:35                                               ` Richard Lawrence
2015-03-10  0:36                                     ` Richard Lawrence
2015-03-10  7:06                                       ` Eric S Fraga
2015-03-10  8:15                                         ` Nicolas Goaziou
2015-03-10  8:50                                           ` Rasmus
2015-03-10 10:18                                             ` Eric S Fraga
2015-03-10 14:35                                               ` Matt Price
2015-03-10 15:32                                               ` Richard Lawrence
  -- strict thread matches above, loose matches on Subject: below --
2015-03-04 18:21 Vaidheeswaran C

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=54F75222.8030805@gmail.com \
    --to=vaidheeswaran.chinnaraju@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /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).