Hi, I'm running the following system:
Emacs : GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.24.4) of 2011-04-04 on rothera, modified by Debian Package: Org-mode version 7.7 I've run into a problem with #+begin_src #+end_src blocks: Whenever I trying to have a one-element python list inside of such a block the pdf-export will fail with (wrong-type-argument stringp nil) Here comes a minimal example: ------------------------------------ * Some section This works fine: #+begin_src python print [0,1,2] #+end_src This does not work: #+begin_src python print [1] #+end_src ------------------------------------ (For some reason I needed to include the src-block in some section. That is probably an unrelated problem.) The trace of this example is Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match("ORG-LIST-END-MARKER\\'" nil) org-export-latex-preprocess((:emph-multiline t :for-backend latex :comments nil :tags not-in-toc :priority nil :footnotes t :drawers nil :timestamps t :todo-keywords t :tasks t :add-text nil :skip-before-1st-heading nil :select-tags ("export") :exclude-tags ("noexport") :LaTeX-fragments nil)) org-export-preprocess-string(#("* Some section\n\nThis works fine:\n\n#+begin_src python\n print [0,1,2]\n#+end_src\n\nThis does not work:\n\n#+begin_src python\n print [1]\n#+end_src\n\n" 0 18 (font-lock-fontified t fontified nil) 18 19 (font-lock-fontified t fontified nil) 19 20 (fontified nil) 20 22 (fontified nil) 22 34 (fontified nil) 34 35 (fontified nil) 35 36 (fontified nil) 36 53 (fontified nil) 53 54 (fontified nil) 54 72 (fontified nil font-lock-fontified t) 72 73 (fontified nil font-lock-fontified t) 73 77 (fontified nil font-lock-fontified t) 77 90 (fontified nil font-lock-fontified t) 90 91 (fontified nil font-lock-fontified t) 91 100 (fontified nil font-lock-fontified t) 100 101 (fontified nil font-lock-fontified t) 101 102 (fontified nil font-lock-fontified t) 102 121 (fontified nil font-lock-fontified t) 121 122 (fontified nil font-lock-fontified t) 122 123 (fontified nil font-lock-fontified t) 123 141 (font-lock-fontified t fontified nil) 141 142 (font-lock-fontified t fontified nil) 142 146 (font-lock-fontified t fontified nil) 146 155 (font-lock-fontified t fontified nil) 155 156 (font-lock-fontified t fontified nil) 156 164 (font-lock-fontified t fontified nil) 164 165 (font-lock-fontified t fontified nil rear-nonsticky t) 165 166 (fontified nil font-lock-fontified t) 166 167 (fontified nil)) :emph-multiline t :for-backend latex :comments nil :tags not-in-toc :priority nil :footnotes t :drawers nil :timestamps t :todo-keywords t :tasks t :add-text nil :skip-before-1st-heading nil :select-tags ("export") :exclude-tags ("noexport") :LaTeX-fragments nil) org-export-as-latex(nil nil nil nil nil nil) org-export-as-pdf(nil) call-interactively(org-export-as-pdf) org-export(nil) call-interactively(org-export nil nil) I don't want to exclude the possibility that this has to do with my particular setup. If you cannot reproduce this problem, I'll have a look whether there's anything relevant in my config files. Regards, Daniel