* Bug: org-latex-to-pdf-process with bibtex fails to produce bibtex (workaround included) [7.8.03]
@ 2012-04-25 18:11 Arne Babenhauserheide
0 siblings, 0 replies; only message in thread
From: Arne Babenhauserheide @ 2012-04-25 18:11 UTC (permalink / raw)
To: emacs-orgmode
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
http://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------
Dear org-hackers,
When I use org-export-as-pdf with the option to use bibtex in-between
(for reftex-mode), bibtex fails to produce the bibliography.
The non-working config is as follows:
'(org-latex-to-pdf-process (quote ("pdflatex -interaction nonstopmode
-output-directory %o %f" "bibtex %b" "pdflatex -interaction nonstopmode
-output-directory %o %f" "pdflatex -interaction nonstopmode
-output-directory %o %f")))
I could trace it down to this:
bibtex /abspath/to/file-without-ext # == %b
bibtex: Not writing to
/abspath/to/file-without-ext.blg (openout_any =
p).
I couldn't open file name
`/abspath/to/file-without-ext.blg'
To fix it, I just had to make sure that bibtex only gets the filename:
'(org-latex-to-pdf-process (quote ("pdflatex -interaction nonstopmode
-output-directory %o %f" "bibtex $(basename %b)" "pdflatex -interaction
nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode
-output-directory %o %f")))
Best wishes and happy hacking!,
Arne
Emacs : GNU Emacs 23.4.2 (x86_64-pc-linux-gnu, GTK+ Version 2.24.8)
of 2012-04-10 on fluss
Package: Org-mode version 7.8.03
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-04-26 14:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-25 18:11 Bug: org-latex-to-pdf-process with bibtex fails to produce bibtex (workaround included) [7.8.03] Arne Babenhauserheide
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).