emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] "org-nil" error in LaTeX export


From: Nick Dokos
Subject: Re: [O] "org-nil" error in LaTeX export
Date: Wed, 09 Mar 2011 13:14:08 -0500

Bastien <address@hidden> wrote:

> Hi Brenton,
> 
> Brenton Kenkel <address@hidden> writes:
> 
> > I am having a problem with exporting to LaTeX from org-mode. I am 
> > running org-mode 7.5 in Emacs 23.1.1 on 64-bit Ubuntu 10.10.
> 
> I cannot reproduce it -- can you test with a bare emacs -q ?
> 
> Also, please make sure to remove any previous Org installation.
> 

I cannot reproduce it either: the only way that this could happen is
if the :for-backend property is missing when org-export-preprocess-string
is called. But org-export-latex-first-lines sets that explicitly - *if*
you have a consistent version of org.

But Brenton seems indeed to be using remnants of an old installation.
His backtrace shows:

,----
|   org-export-preprocess-string(#("#+TITLE: Test\n#+AUTHOR: test
| author\n\n" 0 8 (fontified nil font-lock-fontified t) 8 9 (fontified
| nil) 9 13 (fontified nil font-lock-fontified t) 13 14 (fontified nil)
| 14 23 (fontified nil font-lock-fontified t) 23 24 (fontified nil) 24
| 35 (fontified nil font-lock-fontified t) 35 37 (fontified nil))
| :for-LaTeX t :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")
| :publishing-directory nil :timestamp nil :expand-quoted-html t
| :html-table-tag "<table border=\"2\" cellspacing=\"0\"
| cellpadding=\"6\" rules=\"groups\" frame=\"hsides\">" :xml-declaration
| (("html" . "<?xml version=\"1.0\" encoding=\"%s\"?>") ("php" . "<?php
| echo \"<?xml version=\\\"1.0\\\" encoding=\\\"%s\\\" ?>\"; ?>"))
| :html-postamble nil :html-preamble nil :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 :author-info t
| :email "address@hidden" ...) nil)
`----

The ":for-LaTeX t" stuff on the marked line seems to indicate left-overs that
have gone stale.

Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]