emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel E. Doherty <ded-law@ddoherty.net>
To: Org-mode List <emacs-orgmode@gnu.org>
Subject: Simple source block breaks LaTeX export
Date: Tue, 13 Dec 2011 16:33:21 -0600	[thread overview]
Message-ID: <87borccdam.wl%ded-law@ddoherty.net> (raw)


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

             reply	other threads:[~2011-12-13 22:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-13 22:33 Daniel E. Doherty [this message]
2011-12-13 22:51 ` Simple source block breaks LaTeX export Nick Dokos
     [not found]   ` <87aa6wcbe1.wl%ded-law@ddoherty.net>
2011-12-14  0:45     ` Nick Dokos
2011-12-14  2:29       ` Daniel E. Doherty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87borccdam.wl%ded-law@ddoherty.net \
    --to=ded-law@ddoherty.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).