emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lucas Peng <lucasp0927@gmail.com>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org, Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: Bug: create latex png while export to HTML become very slow [6.35i]
Date: Fri, 16 Apr 2010 19:51:21 +0800	[thread overview]
Message-ID: <w2s9c3f77c31004160451q38fe6889y79fefeb5012945bb@mail.gmail.com> (raw)
In-Reply-To: <10559.1271390362@gamaville.dokosmarshall.org>

Thanks for your prompt response,

1. I get "Org-mode version 6.35i" with M-x org-version.

2. I am exporting my personal wiki page with latex math to HTML.

3. It took me 28 seconds to export the file Nick metioned with 6.35i.
    But only 5 seconds with 6.34c.

    BTW I am using Ubuntu 10.04 beta2 and emacs23.

Thanks,
Lucas

On Fri, Apr 16, 2010 at 11:59 AM, Nick Dokos <nicholas.dokos@hp.com> wrote:
> Carsten Dominik <carsten.dominik@gmail.com> wrote:
>
>>
>> On Apr 15, 2010, at 6:38 PM, Lucas Peng wrote:
>>
>> > ------------------------------------------------------------------------
>> >
>> > After upgrade to 6.35i, export .org file with latex fragment become
>> > extremly slow.
>>
>> Has anybody else noticed this?
>>
>
> I don't think so but I have some questions for Lucas:
>
> o what's 6.35i? I just pulled and I get "Org-mode version 6.35trans (release_6.35g.54.g69402)"
>
> o exporting to what? LaTeX? HTML? If the latter, are you talking about
>  the time that dvipng takes to make the images ? That is indeed long,
>  (see below) but I doubt it has changed very much from one org version
>  to the next.
>
> An example org file and some measurements of how much time it took before
> and how much time it takes now would be helpful in determining what
> the problem is (if there is one).
>
> E.g. the following file (pretty much straight from the Org manual) took
> about 8 seconds to be exported the first time (after the images are
> cached, exporting again is instant) with the current version of org:
>
> ,----
> |
> | * foo
> |
> |      \begin{equation}                          % arbitrary environments,
> |      x=\sqrt{b}                                % even tables, figures
> |      \end{equation}                            % etc
> |
> |      If $a^2=b$ and \( b=2 \), then the solution must be
> |      either $$ a=+\sqrt{2} $$ or \[ a=-\sqrt{2} \].
> `----
>
> The exact time will vary a bit depending on the machine, emacs versions
> and various other factors of course. What times do you get?
>
> Thanks,
> Nick
>
>
>

  reply	other threads:[~2010-04-16 11:51 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-15 16:38 Bug: create latex png while export to HTML become very slow [6.35i] Lucas Peng
2010-04-16  2:58 ` Carsten Dominik
2010-04-16  3:59   ` Nick Dokos
2010-04-16 11:51     ` Lucas Peng [this message]
2010-04-16 21:41       ` Bernt Hansen
2010-04-16 21:50         ` Nick Dokos
2010-04-16 21:52           ` Carsten Dominik
2010-04-16 22:42             ` Nick Dokos
2010-04-16 23:00               ` Bernt Hansen
2010-04-17  7:48                 ` Lucas Peng
2010-04-19  5:30                   ` Nick Dokos
2010-04-19  6:02                     ` Nick Dokos
2010-04-26 14:58                       ` Carsten Dominik
2010-04-26 16:46                         ` Nick Dokos
2010-04-26 16:54                           ` Carsten Dominik
2010-04-27  2:41                         ` Nick Dokos
2010-04-16 21:54         ` Sebastian Rose
2010-04-27  5:51 ` Carsten Dominik

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=w2s9c3f77c31004160451q38fe6889y79fefeb5012945bb@mail.gmail.com \
    --to=lucasp0927@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /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).