From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Bug: create latex png while export to HTML become very slow [6.35i] Date: Thu, 15 Apr 2010 23:59:22 -0400 Message-ID: <10559.1271390362@gamaville.dokosmarshall.org> References: <87ochkacxm.fsf@gmail.com> <8D636DAF-5D4C-4846-A432-7B544131B50D@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2ciR-0006zs-6R for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 23:59:39 -0400 Received: from [140.186.70.92] (port=57916 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2ciP-0006zB-GI for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 23:59:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2ciN-0007JK-F1 for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 23:59:37 -0400 Received: from vms173015pub.verizon.net ([206.46.173.15]:40516) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2ciN-0007JG-2E for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 23:59:35 -0400 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173015.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0L0Y00HSUB2Z5RY1@vms173015.mailsrvcs.net> for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 22:59:23 -0500 (CDT) In-reply-to: Message from Carsten Dominik of "Fri, 16 Apr 2010 04:58:44 +0200." <8D636DAF-5D4C-4846-A432-7B544131B50D@gmail.com> 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: Lucas Peng Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Carsten Dominik 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 (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