From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel E. Doherty Subject: Simple source block breaks LaTeX export Date: Tue, 13 Dec 2011 16:33:21 -0600 Message-ID: <87borccdam.wl%ded-law@ddoherty.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaavD-0002R4-Q8 for emacs-orgmode@gnu.org; Tue, 13 Dec 2011 17:34:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaavB-0001Ko-Br for emacs-orgmode@gnu.org; Tue, 13 Dec 2011 17:34:03 -0500 Received: from mail-vw0-f41.google.com ([209.85.212.41]:35189) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaavB-0001KT-95 for emacs-orgmode@gnu.org; Tue, 13 Dec 2011 17:34:01 -0500 Received: by vbbfn1 with SMTP id fn1so164161vbb.0 for ; Tue, 13 Dec 2011 14:33:59 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-mode List If I try to export the following org file to LaTeX, I get a stringp violation. ================================== * Hello #+begin_src ruby $f = [] $f[0] = $f[1] = 1 #+end_src ================================== Here is the traceback: ================================== 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(#("* Hello\n#+begin_src ruby\n $f = []\n $f[0] = $f[1] = 1\n#+end_src\n\n" 0 2 (fontified nil org-category "junk") 2 7 (fontified nil org-category "junk") 7 8 (fontified nil org-category "junk") 8 24 (font-lock-fontified t org-category "Notes" fontified nil) 24 25 (font-lock-fontified t org-category "Notes" fontified nil) 25 27 (font-lock-fontified t org-category "Notes" fontified nil) 27 28 (font-lock-fontified t org-category "Notes" fontified nil) 28 29 (font-lock-fontified t org-category "Notes" fontified nil) 29 30 (font-lock-fontified t org-category "Notes" fontified nil) 30 37 (font-lock-fontified t org-category "Notes" fontified nil) 37 38 (font-lock-fontified t org-category "Notes" fontified nil) 38 39 (font-lock-fontified t org-category "Notes" fon tified nil) 39 40 (font-lock-fontified t org-category "Notes" fontified nil) 40 45 (font-lock-fontified t org-category "Notes" fontified nil) 45 46 (font-lock-fontified t org-category "Notes" fontified nil) 46 47 (font-lock-fontified t org-category "Notes" fontified nil) 47 48 (font-lock-fontified t org-category "Notes" fontified nil) 48 54 (font-lock-fontified t org-category "Notes" fontified nil) 54 55 (font-lock-fontified t org-category "Notes" fontified nil) 55 64 (font-lock-fontified t org-category "Notes" fontified nil) 64 65 (org-category "Notes" fontified nil rear-nonsticky t) 65 66 (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-head ing 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) recursive-edit() debug(error (error "No window right from selected window")) signal(error ("No window right from selected window")) error("No window %s from selected window" right) windmove-do-window-select(right nil) windmove-right(nil) call-interactively(windmove-right nil nil) ===================================== Any ideas what may be causing it? Looks like something going wrong with org-export-footnotes-seen, but that's as much as I can tell. -- ==================================================== Law Offices of Daniel E. Doherty 7300 W. 110th Street, Suite 930 Overland Park, KS 66210 913.338.7182 (Phone) 913.338.7164 (FAX) ded-law@ddoherty.net