Re: [Orgmode] [BUG] htmlp and latexp
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 - Andreas Am 16.02.2011 11:03, schrieb Bastien: Hi Dan, Dan Davison dandavis...@gmail.com 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! attachment: andreas_leha.vcf smime.p7s Description: S/MIME Cryptographic Signature ___ 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
Re: [Orgmode] [BUG] htmlp and latexp
On 2/15/11 11:23 PM, Dan Davison wrote: 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 Confirmed. Exporting the following example stops with a void-variable error in org-special-blocks-make-special-cookies. Some text. #+begin_sidebar Some details left out of the main text. #+end_sidebar (Incidentally -- org-special-blocks.el still says it's not currently part of GNU Emacs, but as of Org-mode 7.4 it is, isn't it?) CM ___ 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
Re: [Orgmode] [BUG] htmlp and latexp
Hi Christian, Christian Moe m...@christianmoe.com writes: (Incidentally -- org-special-blocks.el still says it's not currently part of GNU Emacs, but as of Org-mode 7.4 it is, isn't it?) It's not yet part of GNU Emacs but it will be soon. See commit 57144fea1ea6277b6ba39facae05715eee5751d6. -- Bastien ___ 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
Re: [Orgmode] [BUG] htmlp and latexp
Hi Christian, Christian Moe m...@christianmoe.com writes: (Incidentally -- org-special-blocks.el still says it's not currently part of GNU Emacs, but as of Org-mode 7.4 it is, isn't it?) It's not yet part of GNU Emacs but it will be soon. See commit 57144fea1ea6277b6ba39facae05715eee5751d6. -- Bastien ___ 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
Re: [Orgmode] [BUG] htmlp and latexp
Hi Dan, Dan Davison dandavis...@gmail.com 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 ___ 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