Hi all, I did not send to the list, so I resend my last email below. But for me I found the issue: org-exp-bibtex.el is the problem. Regards, Andreas PS: Here my last email: Thanks for looking into this. But just pulled before asking. I am pulling from git://repo.or.cz/org-mode.git The latest commit there is commit c7700d7bbee4f7596feb199b1ec1bc7750d4fb48 Author: Bastien Guerry Date: Wed Feb 16 11:53:28 2011 +0100 * org-html.el (org-export-as-html): expand the HTML title. This fix is a modified version of a patch submitted by Pierre Téchoueyres. The problem is still there. M-x org-version : 7.4 The backtrace (after M-x toggle-debug-on-error) is: Debugger entered--Lisp error: (void-variable htmlp) (if htmlp (progn (org-exp-bibtex-docites ...) (org-exp-bibtex-docites ...))) (when htmlp (org-exp-bibtex-docites (lambda nil ...)) (org-exp-bibtex-docites (lambda nil ...))) (save-window-excursion (setq oebp-cite-plist (quote nil)) (goto-char (point-min)) (while (re-search-forward "^#\\+BIBLIOGRAPHY:[ ]+\\(\\S-+\\)[ ]+\\(\\S-+\\)\\([^^M\n]*\\)" nil t) (let ... ...)) (when htmlp (org-exp-bibtex-docites ...) (org-exp-bibtex-docites ...))) org-export-bibtex-preprocess() run-hooks(org-export-preprocess-hook) org-export-preprocess-string(#("\n\n" 0 1 (fontified nil) 1 2 (fontified nil)) :for-backend latex :emph-multiline t :add-text nil :comments nil :skip-before-1st-heading nil :LaTeX-fragments nil :timestamps t :footnotes t) org-export-latex-first-lines((:latex-image-options "width=10em" :exclude-tags ("noexport") :select-tags ("export") :email "andreas@habakuk" :author "andreas" :html-postamble nil :html-preamble nil :publishing-directory nil :timestamp nil :expand-quoted-html t :html-table-tag "" :xml-declaration (("html" . "") ("php" . "\"; ?>")) :html-extension "html" :inline-images maybe :convert-org-links t :agenda-style "" :style-extra "" :style "" :style-include-scripts t :style-include-default t :table-auto-headline t :tables t :time-stamp-file t :creator-info t :email-info nil ...) nil nil) org-export-as-latex(nil) call-interactively(org-export-as-latex) org-export(nil) call-interactively(org-export nil nil) Am 17.02.2011 11:50, schrieb Jambunathan K: > Andreas Leha writes: > > >> Hi all, >> >> to make this explicit: I can not export to latex any more, but instead >> I get >> Exporting to LaTeX... >> when: Symbol's value as variable is void: htmlp >> >> Org HEAD >> GNU emacs 23.2.1 (debian squeeze) >> >> This is my failing org-file: >> * Test >> test >> >> > Have you tried recent head? > Enable stacktrace: M-x toggle-debug-on-error > Also include M-x org-version? > > Jambunathan K. > > > >> - Andreas >> >> >> Am 16.02.2011 11:03, schrieb Bastien: >> >>> Hi Dan, >>> >>> Dan Davison writes: >>> >>> >>> >>>> Commit ed6d6760268 removed variables htmlp and latexp from >>>> `org-export-preprocess-string'. Nothing wrong with that, but I think it >>>> has broken export for those using org-special-blocks, which contains >>>> >>>> #+begin_src emacs-lisp >>>> (defvar htmlp) >>>> (defvar latexp) >>>> (defun org-special-blocks-make-special-cookies () >>>> "Adds special cookies when #+begin_foo and #+end_foo tokens are >>>> seen. This is run after a few special cases are taken care of." >>>> (when (or htmlp latexp) >>>> (goto-char (point-min)) >>>> ... >>>> #+end_src >>>> >>>> >>> Fixed thanks. >>> >>> >>> >>>> IIuc htmlp and latexp occur occasionally in org code as somewhat >>>> unofficial ways to test "am I in the middle of export?". >>>> >>>> >>> Now there is a uniform and official (!) way of getting the backend the >>> user is currently exporting to: >>> >>> (eq backend 'html) >>> >>> ... >>> >>> >>> >>>> They also occur in org-exp-blocks, but in deprecated code, so not a >>>> priority to fix. >>>> >>>> >>> I fixed them there too. >>> >>> Thanks for reporting this! >>> >>> >>> >> >> _______________________________________________ >> 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 >> > _______________________________________________ > 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 > -- Universitätsmedizin Göttingen Abteilung Medizinische Statistik Humboldtallee 32 37073 Göttingen Tel: +49 (0)551 39-10710 Fax: +49 (0)551 39-4995 http://www.ams.med.uni-goettingen.de/amsneu/leha.html University Medical Center Göttingen Department for Medical Statistics Humboldtallee 32 37073 Göttingen Germany Phone: +49 (0) 551 39-10710 Fax: +49 (0) 551 39-4995 http://www.ams.med.uni-goettingen.de/amsneu/leha-en.html