all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problem with org-bibtex-read with fields type, key
@ 2014-02-21 16:17 Stefan-W. Hahn
  2014-03-19 11:08 ` Bastien
  2014-03-23 10:16 ` [RFC] " Stefan-W. Hahn
  0 siblings, 2 replies; 10+ messages in thread
From: Stefan-W. Hahn @ 2014-02-21 16:17 UTC (permalink / raw)
  To: emacs-orgmode

Good evening,

I have a little problem with org-bibtex function org-bibtex-read:

My bibtex entries have the keyword "type" and "key". When
reading such an entry with org-bibtex-read I get an alist
with the entries ":type" and ":key" each twice.

,----
| (defun org-bibtex-read ()
|   ...
|              (cons (let ((field (funcall keyword (car pair))))
|                      (case field
|                        (:=type= :type)
|                        (:=key= :key)
|                        (otherwise field)))
|                    (funcall clean-space (funcall strip-delim (cdr pair)))))
|   ...
`----

Seems to be because of the conversation of "=type=" and "=key=".
Am I the only person having problems with it?

Is there some advice?

With kind regards,
Stefan
  
-- 
Stefan-W. Hahn                          It is easy to make things.
                                        It is hard to make things simple.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-03-23 10:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-21 16:17 Problem with org-bibtex-read with fields type, key Stefan-W. Hahn
2014-03-19 11:08 ` Bastien
2014-03-21 19:26   ` Stefan-W. Hahn
2014-03-21 22:02     ` Bastien
2014-03-23 10:16 ` [RFC] " Stefan-W. Hahn
2014-03-23 10:16   ` [PATCH 1/5] org-bibtex.el (org-bibtex-read): Split in two functions for internal use Stefan-W. Hahn
2014-03-23 10:16   ` [PATCH 2/5] org-bibtex.el: Use `org-bibtex-read-internal' in `org-bibtex-store-link' Stefan-W. Hahn
2014-03-23 10:16   ` [PATCH 3/5] org-bibtex.el: Replace double used fieldnames ":key" and ":byte" Stefan-W. Hahn
2014-03-23 10:16   ` [PATCH 4/5] org-bibtex.el: Change property names in `org-bibtex-store-link' API Stefan-W. Hahn
2014-03-23 10:16   ` [PATCH 5/5] org-bibtex.el: Clarifying description of `org-bibtex-type-property-name' Stefan-W. Hahn

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.