From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [bug] error in html export: backend not defined Date: Wed, 02 Mar 2011 07:00:08 +0000 Message-ID: <8762s2xb0n.fsf@ucl.ac.uk> References: <8762s2y4fb.fsf@ucl.ac.uk> <11944.1299015550@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=53810 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuhBm-0004oI-GY for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 03:13:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuhBl-0007yF-82 for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 03:13:42 -0500 Received: from vscani-b2.ucl.ac.uk ([144.82.108.135]:35094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuhBl-0007y9-1X for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 03:13:41 -0500 In-Reply-To: <11944.1299015550@alphaville.dokosmarshall.org> (Nick Dokos's message of "Tue, 01 Mar 2011 16:39:10 -0500") 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: nicholas.dokos@hp.com Cc: Emacs Org mode mailing list Nick Dokos writes: > 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 Yes, I think so. Bastien? Just to confirm, removing the bibtex preprocessing did do the job for me, but only because that particular org file had no citations... thanks, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.576.g99675)