* org-exp-bibtex
@ 2010-01-28 16:20 Peter Danenberg
2010-01-28 16:27 ` org-exp-bibtex Nick Dokos
2010-01-28 18:18 ` org-exp-bibtex Carsten Dominik
0 siblings, 2 replies; 7+ messages in thread
From: Peter Danenberg @ 2010-01-28 16:20 UTC (permalink / raw)
To: emacs-orgmode
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?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-exp-bibtex
2010-01-28 16:20 org-exp-bibtex Peter Danenberg
@ 2010-01-28 16:27 ` Nick Dokos
2010-01-28 23:21 ` org-exp-bibtex Peter Danenberg
2010-01-28 18:18 ` org-exp-bibtex Carsten Dominik
1 sibling, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2010-01-28 16:27 UTC (permalink / raw)
To: Peter Danenberg; +Cc: emacs-orgmode
Peter Danenberg <pcd@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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-exp-bibtex
2010-01-28 16:20 org-exp-bibtex Peter Danenberg
2010-01-28 16:27 ` org-exp-bibtex Nick Dokos
@ 2010-01-28 18:18 ` Carsten Dominik
2010-01-28 23:18 ` org-exp-bibtex Peter Danenberg
1 sibling, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2010-01-28 18:18 UTC (permalink / raw)
To: Peter Danenberg; +Cc: emacs-orgmode
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 org-exp-bibtex.
What happens if you evalueate the following form?
(progn (require 'org-exp-bibtex) (featurep 'org-exp-bibtex))
???
- Carsten
>
> Would anyone mind sharing with me how they successfully installed
> org-exp-bibtex?
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-exp-bibtex
2010-01-28 18:18 ` org-exp-bibtex Carsten Dominik
@ 2010-01-28 23:18 ` Peter Danenberg
0 siblings, 0 replies; 7+ messages in thread
From: Peter Danenberg @ 2010-01-28 23:18 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
> 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 resulting PDF
document) doesn't seem to run bibtex; nor does #+BIBLIOGRAPHY: x y
insert \bibliographystyle{y}\bibliography{x} into the LaTeX document.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-exp-bibtex
2010-01-28 16:27 ` org-exp-bibtex Nick Dokos
@ 2010-01-28 23:21 ` Peter Danenberg
2010-01-29 9:16 ` org-exp-bibtex Carsten Dominik
0 siblings, 1 reply; 7+ messages in thread
From: Peter Danenberg @ 2010-01-28 23:21 UTC (permalink / raw)
To: Nick Dokos; +Cc: emacs-orgmode
> 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 like:
(require 'org-exp-bibtex)
Do I specifically need to add a preprocess hook such as this?
(add-hook 'org-export-preprocess-hook 'org-export-bibtex-preprocess)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-exp-bibtex
2010-01-28 23:21 ` org-exp-bibtex Peter Danenberg
@ 2010-01-29 9:16 ` Carsten Dominik
2010-01-29 12:24 ` org-exp-bibtex Peter Danenberg
0 siblings, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2010-01-29 9:16 UTC (permalink / raw)
To: Peter Danenberg; +Cc: emacs-orgmode
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 ~/lib/emacs/org-mode/contrib/lisp/org-exp-bibtex.el
>
> Just to be sure, my require form looks like:
>
> (require 'org-exp-bibtex)
>
> Do I specifically need to add a preprocess hook such as this?
>
> (add-hook 'org-export-preprocess-hook 'org-export-bibtex-preprocess)
No, just requiring should do the trick. Can you check if org-export-
bibtex-preprocess does indeed end up in the hook?
If it does, maybe you can explain what you expect to happen during
export, and what does in fact happen?
- Carsten
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-exp-bibtex
2010-01-29 9:16 ` org-exp-bibtex Carsten Dominik
@ 2010-01-29 12:24 ` Peter Danenberg
0 siblings, 0 replies; 7+ messages in thread
From: Peter Danenberg @ 2010-01-29 12:24 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
> 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 'org-latex)
(setq org-export-latex-classes
(cons '("article"
"\\documentclass{article}
\\usepackage{amsmath}
\\usepackage{amssymb}
\\usepackage{xunicode}
\\usepackage{fixltx2e}
\\usepackage{xltxtra}
\\usepackage{graphicx}
\\usepackage{longtable}
\\usepackage{float}
\\usepackage{wrapfig}
\\usepackage{soul}
\\usepackage{hyperref}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
org-export-latex-classes))
(setq org-latex-to-pdf-process
'("xelatex -interaction nonstopmode %b"
"bibtex %b"
"xelatex -interaction nonstopmode %b"
"xelatex -interaction nonstopmode %b"))
This is fantastic!
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-01-29 12:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-28 16:20 org-exp-bibtex Peter Danenberg
2010-01-28 16:27 ` org-exp-bibtex Nick Dokos
2010-01-28 23:21 ` org-exp-bibtex Peter Danenberg
2010-01-29 9:16 ` org-exp-bibtex Carsten Dominik
2010-01-29 12:24 ` org-exp-bibtex Peter Danenberg
2010-01-28 18:18 ` org-exp-bibtex Carsten Dominik
2010-01-28 23:18 ` org-exp-bibtex Peter Danenberg
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).