From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [bug] error in html export: backend not defined Date: Tue, 01 Mar 2011 16:39:10 -0500 Message-ID: <11944.1299015550@alphaville.dokosmarshall.org> References: <8762s2y4fb.fsf@ucl.ac.uk> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=49675 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuXIF-0001dv-C5 for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 16:39:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuXID-0006Sd-TV for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 16:39:43 -0500 Received: from vms173003pub.verizon.net ([206.46.173.3]:39905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuXID-0006SV-QC for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 16:39:41 -0500 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LHE001SXETA7CA0@vms173003.mailsrvcs.net> for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 15:39:24 -0600 (CST) In-reply-to: Message from Eric S Fraga of "Tue, 01 Mar 2011 20:24:56 GMT." <8762s2y4fb.fsf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga Cc: nicholas.dokos@hp.com, Emacs Org mode mailing list Eric S Fraga 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