[Orgmode] org-exp-bibtex and multiple latex runs

2010-09-10 Thread Erik Iverson
Hello, Does anyone use org-exp-bibtex.el from the contrib directory to get bibtex citations in both exported HTML and PDF? If so, how do you deal with the PDF generation process, since it requires multiple runs of latex/bibtex? Do you do that within org-mode, or just do it through the shell?

Re: [Orgmode] org-exp-bibtex

2010-01-29 Thread Carsten Dominik
On Jan 29, 2010, at 12:21 AM, Peter Danenberg wrote: Are you sure about it being in your load-path? What does M-x locate-library RET org-exp-bibtex RET say? If it finds it, both autoload and require should work. locate-library says: Library is file

Re: [Orgmode] org-exp-bibtex

2010-01-29 Thread Peter Danenberg
No, just requiring should do the trick. Can you check if org-export-bibtex-preprocess does indeed end up in the hook? It does now, inexplicably; thank you. And using the following code, I can process the doc with xelatex and bibtex (provided that file.bib accompanies file.org): (require

[Orgmode] org-exp-bibtex

2010-01-28 Thread Peter Danenberg
Despite org-mode/contrib/lisp being in my loadpath and issuing (require 'org-exp-bibtex), org-exp-bibtex doesn't seem to be available. Using autoload results in Autoloading failed to define function org-exp-bibtex. Would anyone mind sharing with me how they successfully installed org-exp-bibtex?

Re: [Orgmode] org-exp-bibtex

2010-01-28 Thread Nick Dokos
Peter Danenberg p...@roxygen.org wrote: Despite org-mode/contrib/lisp being in my loadpath and issuing Are you sure about it being in your load-path? What does M-x locate-library RET org-exp-bibtex RET say? If it finds it, both autoload and require should work. Nick

Re: [Orgmode] org-exp-bibtex

2010-01-28 Thread Carsten Dominik
On Jan 28, 2010, at 5:20 PM, Peter Danenberg wrote: Despite org-mode/contrib/lisp being in my loadpath and issuing (require 'org-exp-bibtex), org-exp-bibtex doesn't seem to be available. Using autoload results in Autoloading failed to define function org-exp-bibtex. There is no function

Re: [Orgmode] org-exp-bibtex

2010-01-28 Thread Peter Danenberg
There is no function org-exp-bibtex. What happens if you evalueate the following form? (progn (require 'org-exp-bibtex) (featurep 'org-exp-bibtex)) That evaluates to t. Are there hooks installed, by the way, for exported to LaTeX? C-c C-e d (export as LaTeX, process to PDF, and open the

Re: [Orgmode] org-exp-bibtex

2010-01-28 Thread Peter Danenberg
Are you sure about it being in your load-path? What does M-x locate-library RET org-exp-bibtex RET say? If it finds it, both autoload and require should work. locate-library says: Library is file ~/lib/emacs/org-mode/contrib/lisp/org-exp-bibtex.el Just to be sure, my require form looks