From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucas Peng Subject: Re: Bug: create latex png while export to HTML become very slow [6.35i] Date: Fri, 16 Apr 2010 19:51:21 +0800 Message-ID: References: <87ochkacxm.fsf@gmail.com> <8D636DAF-5D4C-4846-A432-7B544131B50D@gmail.com> <10559.1271390362@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2k59-0000FR-Px for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 07:51:35 -0400 Received: from [140.186.70.92] (port=47154 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2k52-0000Dk-JD for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 07:51:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2k4w-00078P-5f for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 07:51:28 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:36493) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2k4w-00078G-2l for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 07:51:22 -0400 Received: by vws8 with SMTP id 8so1286991vws.0 for ; Fri, 16 Apr 2010 04:51:21 -0700 (PDT) In-Reply-To: <10559.1271390362@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, Carsten Dominik 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 wrote: > Carsten Dominik 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 (rele= ase_6.35g.54.g69402)" > > o exporting to what? LaTeX? HTML? If the latter, are you talking about > =A0the time that dvipng takes to make the images ? That is indeed long, > =A0(see below) but I doubt it has changed very much from one org version > =A0to 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 > | > | =A0 =A0 =A0\begin{equation} =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0% arbitrary environments, > | =A0 =A0 =A0x=3D\sqrt{b} =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0% even tables, figures > | =A0 =A0 =A0\end{equation} =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0% etc > | > | =A0 =A0 =A0If $a^2=3Db$ and \( b=3D2 \), then the solution must be > | =A0 =A0 =A0either $$ a=3D+\sqrt{2} $$ or \[ a=3D-\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 > > >