From: Torsten Wagner <torsten.wagner@gmail.com>
To: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: org-bibtex does not work
Date: Tue, 29 Nov 2011 14:28:16 +0900 [thread overview]
Message-ID: <CAPaq-gN24csWDby60u_+cGrjaQhoEusCS0Bf53PdvcGUk4jbcQ@mail.gmail.com> (raw)
Hi all,
I finally converted all my BibTex references into a org file.
Now I face the problem that I can't generate a BibTeX file.
org-bibtex ask me for the filename and then it seems to be stuck in a
infinite loop.
Only way to get out of this is using C-g.
The BibTeX file never appeared.
setting the debugger to start on quit (setq debug-on-quit) results in
Debugger entered--Lisp error: (quit)
bibtex-realign()
bibtex-reformat()
(progn (insert entry) (when tags (bibtex-beginning-of-entry) (if
(re-search-forward "keywords.*=.*{\\(.*\\)}" nil t) (progn (goto-char
(match-end 1)) (insert ", ")) (bibtex-make-field "keywords" t t))
(insert (mapconcat (function identity) tags ", "))) (bibtex-reformat)
(buffer-string))
(unwind-protect (progn (insert entry) (when tags
(bibtex-beginning-of-entry) (if (re-search-forward
"keywords.*=.*{\\(.*\\)}" nil t) (progn (goto-char (match-end 1))
(insert ", ")) (bibtex-make-field "keywords" t t)) (insert (mapconcat
(function identity) tags ", "))) (bibtex-reformat) (buffer-string))
(and (buffer-name temp-buffer) (kill-buffer temp-buffer)))
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
(insert entry) (when tags (bibtex-beginning-of-entry) (if
(re-search-forward "keywords.*=.*{\\(.*\\)}" nil t) (progn (goto-char
(match-end 1)) (insert ", ")) (bibtex-make-field "keywords" t t))
(insert (mapconcat (function identity) tags ", "))) (bibtex-reformat)
(buffer-string)) (and (buffer-name temp-buffer) (kill-buffer
temp-buffer))))
followed by many many more lines.
I tried to export a single entry in a own buffer as well without
success. I skipped my entire emacs settings and used a bare-bone emacs
with exactly the same result.
As from the debugger it seems to be a problem of the internal bibtex
mode. However, I hope someone here is capable to help. I updated both
emacs and org-mode without luck
org-mode 7.7 (git build from today)
emacs GNU Emacs 24.0.91.1 (bzr build from today)
Would be helpfull already if someone could confirm whether it works at
the moment or whether it seems broken
Thanks
Torsten
next reply other threads:[~2011-11-29 5:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-29 5:28 Torsten Wagner [this message]
2011-11-29 16:20 ` org-bibtex does not work Eric Schulte
2011-11-29 16:20 ` Eric Schulte
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPaq-gN24csWDby60u_+cGrjaQhoEusCS0Bf53PdvcGUk4jbcQ@mail.gmail.com \
--to=torsten.wagner@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 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.