From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: Re: Re: [BUG] htmlp and latexp
Date: Fri, 18 Feb 2011 09:22:22 +0100 [thread overview]
Message-ID: <4D5E2C3E.4010806@med.uni-goettingen.de> (raw)
In-Reply-To: <81y65fq6j4.fsf@gmail.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 5356 bytes --]
Hi all,
I did not send to the list, so I resend my last email below. But for me
I found the issue: org-exp-bibtex.el is the problem.
Regards,
Andreas
PS: Here my last email:
Thanks for looking into this. But just pulled before asking.
I am pulling from git://repo.or.cz/org-mode.git
The latest commit there is
commit c7700d7bbee4f7596feb199b1ec1bc7750d4fb48
Author: Bastien Guerry <bzg@altern.org>
Date: Wed Feb 16 11:53:28 2011 +0100
* org-html.el (org-export-as-html): expand the HTML title.
This fix is a modified version of a patch submitted by Pierre
Téchoueyres.
The problem is still there.
M-x org-version : 7.4
The backtrace (after M-x toggle-debug-on-error) is:
Debugger entered--Lisp error: (void-variable htmlp)
(if htmlp (progn (org-exp-bibtex-docites ...) (org-exp-bibtex-docites
...)))
(when htmlp (org-exp-bibtex-docites (lambda nil ...))
(org-exp-bibtex-docites (lambda nil ...)))
(save-window-excursion (setq oebp-cite-plist (quote nil)) (goto-char
(point-min)) (while (re-search-forward "^#\\+BIBLIOGRAPHY:[
]+\\(\\S-+\\)[ ]+\\(\\S-+\\)\\([^^M\n]*\\)" nil t) (let ... ...)) (when
htmlp (org-exp-bibtex-docites ...) (org-exp-bibtex-docites ...)))
org-export-bibtex-preprocess()
run-hooks(org-export-preprocess-hook)
org-export-preprocess-string(#("\n\n" 0 1 (fontified nil) 1 2
(fontified nil)) :for-backend latex :emph-multiline t :add-text nil
:comments nil :skip-before-1st-heading nil :LaTeX-fragments nil
:timestamps t :footnotes t)
org-export-latex-first-lines((:latex-image-options "width=10em"
:exclude-tags ("noexport") :select-tags ("export") :email
"andreas@habakuk" :author "andreas" :html-postamble nil :html-preamble
nil :publishing-directory nil :timestamp nil :expand-quoted-html t
:html-table-tag "<table border=\"2\" cellspacing=\"0\" cellpadding=\"6\"
rules=\"groups\" frame=\"hsides\">" :xml-declaration (("html" . "<?xml
version=\"1.0\" encoding=\"%s\"?>") ("php" . "<?php echo \"<?xml
version=\\\"1.0\\\" encoding=\\\"%s\\\" ?>\"; ?>")) :html-extension
"html" :inline-images maybe :convert-org-links t :agenda-style ""
:style-extra "" :style "" :style-include-scripts t
:style-include-default t :table-auto-headline t :tables t
:time-stamp-file t :creator-info t :email-info nil ...) nil nil)
org-export-as-latex(nil)
call-interactively(org-export-as-latex)
org-export(nil)
call-interactively(org-export nil nil)
Am 17.02.2011 11:50, schrieb Jambunathan K:
> Andreas Leha <andreas.leha@med.uni-goettingen.de> 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 <dandavison7@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!
>>>
>>>
>>>
>>
>> _______________________________________________
>> 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
>>
> _______________________________________________
> 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
>
--
Universitätsmedizin Göttingen
Abteilung Medizinische Statistik
Humboldtallee 32
37073 Göttingen
Tel: +49 (0)551 39-10710
Fax: +49 (0)551 39-4995
http://www.ams.med.uni-goettingen.de/amsneu/leha.html
University Medical Center Göttingen
Department for Medical Statistics
Humboldtallee 32
37073 Göttingen
Germany
Phone: +49 (0) 551 39-10710
Fax: +49 (0) 551 39-4995
http://www.ams.med.uni-goettingen.de/amsneu/leha-en.html
[-- Attachment #1.1.2: andreas_leha.vcf --]
[-- Type: text/x-vcard, Size: 377 bytes --]
begin:vcard
fn:Andreas Leha
n:Leha;Andreas
org;quoted-printable:University Medicine G=C3=B6ttingen;Biostatistics/Bioinformatics (Dept. Medical Statistics)
adr;quoted-printable:;;Humboldallee 32;G=C3=B6ttingen;;37073;Germany
email;internet:andreas.leha@med.uni-goettingen.de
title:Dipl. Inf.
tel;work:+49 551 39-10710
tel;cell:+49 163 7662824
version:2.1
end:vcard
[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 6432 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
next prev parent reply other threads:[~2011-02-18 8:22 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-15 22:23 [BUG] htmlp and latexp Dan Davison
2011-02-16 8:44 ` Christian Moe
2011-02-16 10:01 ` Bastien
2011-02-16 10:01 ` Bastien
2011-02-16 10:07 ` Dan Davison
2011-02-16 10:44 ` Bastien
2011-02-16 17:11 ` Dan Davison
2011-02-18 9:49 ` Bastien
2011-02-22 19:08 ` [PATCH] " Dan Davison
2011-03-01 19:06 ` Bastien
2011-03-01 19:09 ` Bastien
2011-03-02 2:01 ` Dan Davison
2011-03-07 15:32 ` Bastien
2011-02-16 10:03 ` Bastien
2011-02-17 8:46 ` Andreas Leha
2011-02-17 10:19 ` Sébastien Vauban
2011-02-17 10:50 ` Jambunathan K
2011-02-17 23:14 ` Jeff Horn
2011-02-17 23:32 ` Nick Dokos
2011-02-17 23:44 ` Bastien
2011-02-18 8:09 ` Christian Moe
2011-02-18 8:22 ` Andreas Leha [this message]
2011-02-18 8:49 ` Bastien
2011-02-18 22:52 ` Jeff Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D5E2C3E.4010806@med.uni-goettingen.de \
--to=andreas.leha@med.uni-goettingen.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).