emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH][ANN] org-html/org-odt


From: Jambunathan K
Subject: Re: [O] [PATCH][ANN] org-html/org-odt
Date: Mon, 02 May 2011 11:30:17 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

Matt

Thanks for trying out the new exporter(s) and sharing your feedback.

> I've been doing a bit of testing and have found that html export fails
> on the following headline:
>
> --8<---------------cut here---------------start------------->8---
> * STARTED Alembert, Preliminary Discourse to the Encyclopedia of Diderot 
> :read:BIB:NEXT:
>   :LOGBOOK:
>   CLOCK: [2011-04-24 Sun 17:28]--[2011-04-24 Sun 17:54] =>  0:26
>   CLOCK: [2011-04-23 Sat 15:33]--[2011-04-23 Sat 16:00] =>  0:27
>   CLOCK: [2011-04-21 Thu 21:01]--[2011-04-21 Thu 21:37] =>  0:36
>   :END:
>  [2011-04-21 Thu 21:01]
> --8<---------------cut here---------------end--------------->8---
>
> I've attached the backtrace.
>
>

> Debugger entered--Lisp error: (args-out-of-range #("Alembert,
> Preliminary Discourse to the Encyclopedia of Diderot" 0 62 (target
> "sec-1" fontified t org-category "test")) 64 77)
>   match-string(1 #("Alembert, Preliminary Discourse to the
> Encyclopedia of Diderot" 0 62 (target "sec-1" fontified t org-category
> "test")))
>   (setq txt (replace-match "" t nil txt) tags (match-string 1 txt))
>   (progn (setq txt (replace-match "" t nil txt) tags (match-string 1 txt)))
>   (if (string-match (org-re "[ ]+:\\([[:alnum:]_@:]+\\):[ ]*$") txt)
> (progn (setq txt (replace-match "" t nil txt) tags (match-string 1
> txt))))
>   (when (string-match (org-re "[ ]+:\\([[:alnum:]_@:]+\\):[ ]*$") txt)
> (setq txt (replace-match "" t nil txt) tags (match-string 1 txt)))

I wasn't able to reproduce this crash locally. May be it has something
to do with your personal settings. I have pushed a fix based on some
reasonable assessment ... Let me know if the problem persists.

> Another comment. The warning about MathJax seemed a bit dire:
> "MathJax not supported. Falling back to dvipng"
>
> I assume this means that the odt exporter does not support MathJax. The
> way it is currently worded might make the user think that his/her system
> is lacking something.

I have made the warning more friendly.

> I'm finding that the odt exporter leaves a lot of xml buffers open, even
> after the tmp files they point to are gone. Would there be a way to
> clean up these buffers?

Makeshift xml buffers are now killed on successful export.

Jambunathan K.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]