emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Bastien <bzg@altern.org>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org,
	Brenton Kenkel <brenton.kenkel@gmail.com>
Subject: Re: "org-nil" error in LaTeX export
Date: Wed, 09 Mar 2011 13:14:08 -0500	[thread overview]
Message-ID: <10173.1299694448@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Bastien <bzg@altern.org> of "Wed, 09 Mar 2011 18:53:21 +0100." <87mxl45gfi.fsf@gnu.org>

Bastien <bzg@altern.org> wrote:

> Hi Brenton,
> 
> Brenton Kenkel <brenton.kenkel@gmail.com> 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 "brenton@veblen" ...) nil)
`----

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

Nick

      reply	other threads:[~2011-03-09 18:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-09 17:43 "org-nil" error in LaTeX export Brenton Kenkel
2011-03-09 17:53 ` Bastien
2011-03-09 18:14   ` Nick Dokos [this message]

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=10173.1299694448@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=brenton.kenkel@gmail.com \
    --cc=bzg@altern.org \
    --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).