emacs-orgmode
[Top][All Lists]
Advanced

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

[patch] fix backend error for html export (was Re: [O] [bug] error in ht


From: Eric S Fraga
Subject: [patch] fix backend error for html export (was Re: [O] [bug] error in html export: backend not defined)
Date: Wed, 02 Mar 2011 08:27:17 +0000
User-agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux)

Nick Dokos <address@hidden> writes:

> Eric S Fraga <address@hidden> wrote:
>
>> Hi,
>> 
>> I notice that there has been a recent commit which affects export of org
>> files.   I have just needed to export an org file to HTML and get the
>> following error:
>> 
>> : if: Symbol's value as variable is void: backend
>> 
>> The backtrace is:
>> 
>> ,----
>> | Debugger entered--Lisp error: (void-variable backend)
>> |   (eq backend (quote html))
>> |   (if (eq backend (quote html)) (progn (org-exp-bibtex-docites [...]
>> |   (when (eq backend (quote html)) (org-exp-bibtex-docites [...]
>> |   (save-window-excursion (setq oebp-cite-plist [...]
>> |   org-export-bibtex-preprocess()
>> |   run-hooks(org-export-preprocess-hook)
>> |   org-export-preprocess-string( [...] )
>> |   org-export-as-html(nil)
>> |   call-interactively(org-export-as-html)
>> |   org-export(nil)
>> |   call-interactively(org-export nil nil)
>> `----
>> 
>> For now, I am going to disable the invocation of the bibtex
>> preprocessing as this appears to be the only place that =backend=
>> appears.
>> 
>
> It's likely that the only thing needed is to rename backend to
> org-export-current-backend in contrib/lisp/org-exp-bibtex.el.
> See commit 99675ffead44e32f4959909a657b88831fe33703.
>
> Nick

Bastien et al.,

A patch that seems to fix the problem is attached.

Attachment: backend.patch
Description: patch to fix backend undefined variable in html export

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.576.g99675.dirty)

reply via email to

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