From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: [BUG] htmlp and latexp Date: Thu, 17 Feb 2011 16:20:23 +0530 Message-ID: <81y65fq6j4.fsf@gmail.com> References: <87mxlws37t.fsf@altern.org> <4D5CE060.2070104@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=58148 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pq1Rc-0004Eh-81 for emacs-orgmode@gnu.org; Thu, 17 Feb 2011 05:50:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pq1Ra-0003ps-B4 for emacs-orgmode@gnu.org; Thu, 17 Feb 2011 05:50:44 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:45761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pq1Ra-0003pk-84 for emacs-orgmode@gnu.org; Thu, 17 Feb 2011 05:50:42 -0500 Received: by iyi20 with SMTP id 20so2326650iyi.0 for ; Thu, 17 Feb 2011 02:50:41 -0800 (PST) In-Reply-To: <4D5CE060.2070104@med.uni-goettingen.de> (Andreas Leha's message of "Thu, 17 Feb 2011 09:46:24 +0100") 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: emacs-orgmode@gnu.org Andreas Leha writes: > Hi all, > > to make this explicit: I can not export to latex any more, but instead > I get > Exporting to LaTeX... > when: Symbol's value as variable is void: htmlp > > Org HEAD > GNU emacs 23.2.1 (debian squeeze) > > This is my failing org-file: > * Test > test > Have you tried recent head? Enable stacktrace: M-x toggle-debug-on-error Also include M-x org-version? Jambunathan K. > - Andreas > > > Am 16.02.2011 11:03, schrieb Bastien: >> Hi Dan, >> >> Dan Davison writes: >> >> >>> Commit ed6d6760268 removed variables htmlp and latexp from >>> `org-export-preprocess-string'. Nothing wrong with that, but I think it >>> has broken export for those using org-special-blocks, which contains >>> >>> #+begin_src emacs-lisp >>> (defvar htmlp) >>> (defvar latexp) >>> (defun org-special-blocks-make-special-cookies () >>> "Adds special cookies when #+begin_foo and #+end_foo tokens are >>> seen. This is run after a few special cases are taken care of." >>> (when (or htmlp latexp) >>> (goto-char (point-min)) >>> ... >>> #+end_src >>> >> Fixed thanks. >> >> >>> IIuc htmlp and latexp occur occasionally in org code as somewhat >>> unofficial ways to test "am I in the middle of export?". >>> >> Now there is a uniform and official (!) way of getting the backend the >> user is currently exporting to: >> >> (eq backend 'html) >> >> ... >> >> >>> They also occur in org-exp-blocks, but in deprecated code, so not a >>> priority to fix. >>> >> I fixed them there too. >> >> Thanks for reporting this! >> >> > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode