[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] [BUG] htmlp and latexp
From: |
Bastien |
Subject: |
Re: [Orgmode] [BUG] htmlp and latexp |
Date: |
Wed, 16 Feb 2011 11:03:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Dan,
Dan Davison <address@hidden> 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!
--
Bastien
Re: [Orgmode] [BUG] htmlp and latexp, Bastien, 2011/02/16
Re: [Orgmode] [BUG] htmlp and latexp, Bastien, 2011/02/16
Re: [Orgmode] [BUG] htmlp and latexp,
Bastien <=
- Re: [Orgmode] [BUG] htmlp and latexp, Andreas Leha, 2011/02/17
- [Orgmode] Re: [BUG] htmlp and latexp, Sébastien Vauban, 2011/02/17
- [Orgmode] Re: [BUG] htmlp and latexp, Jambunathan K, 2011/02/17
- Re: [Orgmode] Re: [BUG] htmlp and latexp, Jeff Horn, 2011/02/17
- Re: [Orgmode] Re: [BUG] htmlp and latexp, Nick Dokos, 2011/02/17
- Re: [Orgmode] Re: [BUG] htmlp and latexp, Bastien, 2011/02/17
- Re: [Orgmode] Re: [BUG] htmlp and latexp, Christian Moe, 2011/02/18
- Re: [Orgmode] Re: [BUG] htmlp and latexp, Andreas Leha, 2011/02/18
- Re: [Orgmode] Re: [BUG] htmlp and latexp, Bastien, 2011/02/18
- Re: [Orgmode] Re: [BUG] htmlp and latexp, Jeff Horn, 2011/02/18