emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* reftex setup problem
@ 2011-12-14 13:28 nikolai.stenfors
  2011-12-14 21:27 ` Myles English
  0 siblings, 1 reply; 3+ messages in thread
From: nikolai.stenfors @ 2011-12-14 13:28 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Problems incorporating references/citations in .org-files.

I have set up a refs.bib-file for my references using jabref 2.6.

In org-mode 7.7 I have used the suggestion in FAQ for "Marios reftex
setup" in my .emacs:

"(defun org-mode-reftex-setup ()
  (load-library "reftex")
  (and (buffer-file-name)
       (file-exists-p (buffer-file-name))
       (reftex-parse-all))
  (define-key org-mode-map (kbd "C-c )") 'reftex-citation))
(add-hook 'org-mode-hook 'org-mode-reftex-setup)"

In my .org-file I put the path to my refs.bib-file:

\bibliography{/home/nikolai/Dokument/Artiklar/refs}

When I use the Cc) in my .org-file I get:
"Regex { && Regex...}:" in the minibuffer

Trying to type the bibtexkey in the minibuffer it finds no match.

If I manually enter:

\cite{Bursi2010}

and export I get:

LaTeX Warning: Citation `Bursi2010' on page 1 undefined on input line 33.
LaTeX Warning: There were undefined references.

Where is the problem hidden?
bibtex-file, reftex setup, org-mode, or emacs?



Nikolai

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

* Re: reftex setup problem
  2011-12-14 13:28 nikolai.stenfors
@ 2011-12-14 21:27 ` Myles English
  0 siblings, 0 replies; 3+ messages in thread
From: Myles English @ 2011-12-14 21:27 UTC (permalink / raw)
  To: emacs-orgmode


Nikolai,

I'm guessing, but you could try finding the .aux file, run bibtex on it
then try the latex export again.

Myles

>> On Wed, 14 Dec 2011 14:28:01 +0100, nikolai stenfors said:

  > Hi, Problems incorporating references/citations in .org-files.

  > I have set up a refs.bib-file for my references using jabref 2.6.

  > In org-mode 7.7 I have used the suggestion in FAQ for "Marios reftex
  > setup" in my .emacs:

  > "(defun org-mode-reftex-setup () (load-library "reftex") (and
  > (buffer-file-name) (file-exists-p (buffer-file-name))
  > (reftex-parse-all)) (define-key org-mode-map (kbd "C-c )")
  > 'reftex-citation)) (add-hook 'org-mode-hook 'org-mode-reftex-setup)"

  > In my .org-file I put the path to my refs.bib-file:

  > \bibliography{/home/nikolai/Dokument/Artiklar/refs}

  > When I use the Cc) in my .org-file I get: "Regex { && Regex...}:" in
  > the minibuffer

  > Trying to type the bibtexkey in the minibuffer it finds no match.

  > If I manually enter:

  > \cite{Bursi2010}

  > and export I get:

  > LaTeX Warning: Citation `Bursi2010' on page 1 undefined on input
  > line 33.  LaTeX Warning: There were undefined references.

  > Where is the problem hidden?  bibtex-file, reftex setup, org-mode,
  > or emacs?



  > Nikolai

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

* Re: reftex setup problem
       [not found] <8ee76a054471d3e2b19b1e4aee01b8f3.squirrel@webmail.bahnhof.se>
@ 2011-12-15 14:16 ` Myles English
  0 siblings, 0 replies; 3+ messages in thread
From: Myles English @ 2011-12-15 14:16 UTC (permalink / raw)
  To: nikolai.stenfors; +Cc: emacs-orgmode Mode

>> On Thu, 15 Dec 2011 13:16:08 +0100, nikolai stenfors said:

  > Yes, After reading the reftex manual once again, I managed to insert
  > bibtex-references in to my org-file and stepwise, as you suggested,
  > export them via aux to pdf.

Glad you were able to fix it.  It would be nice if it ran:

$ bibtex mydoc.aux

automatically though.  Maybe I need to customise something.

  > Thanks,

  > Nikolai


Myles

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

end of thread, other threads:[~2011-12-15 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <8ee76a054471d3e2b19b1e4aee01b8f3.squirrel@webmail.bahnhof.se>
2011-12-15 14:16 ` reftex setup problem Myles English
2011-12-14 13:28 nikolai.stenfors
2011-12-14 21:27 ` Myles English

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).