emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Lucas Peng <lucasp0927@gmail.com>
Cc: nicholas.dokos@hp.com, 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: Thu, 15 Apr 2010 23:59:22 -0400	[thread overview]
Message-ID: <10559.1271390362@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Carsten Dominik <carsten.dominik@gmail.com> of "Fri, 16 Apr 2010 04:58:44 +0200." <8D636DAF-5D4C-4846-A432-7B544131B50D@gmail.com>

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  3:59 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 [this message]
2010-04-16 11:51     ` Lucas Peng
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=10559.1271390362@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lucasp0927@gmail.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).