From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Vollmar Subject: htmlize slows org export down? Date: Sat, 13 Jun 2009 22:33:24 +0200 Message-ID: <87C7186D-FC37-4136-8D39-888AA67340FA@nf.mpg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MFZuw-0005Tg-0f for emacs-orgmode@gnu.org; Sat, 13 Jun 2009 16:33:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFZup-0005Re-Ox for emacs-orgmode@gnu.org; Sat, 13 Jun 2009 16:33:32 -0400 Received: from [199.232.76.173] (port=41613 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFZup-0005Rb-Lq for emacs-orgmode@gnu.org; Sat, 13 Jun 2009 16:33:27 -0400 Received: from mail.nf.mpg.de ([134.95.44.50]:42462) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MFZup-0007Bs-5C for emacs-orgmode@gnu.org; Sat, 13 Jun 2009 16:33:27 -0400 Received: from [192.168.178.21] (pD9E61F67.dip.t-dialin.net [217.230.31.103]) by mail.nf.mpg.de (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0KL700K0T2LWID00@mail.nf.mpg.de> for emacs-orgmode@gnu.org; Sat, 13 Jun 2009 22:37:08 +0200 (MEST) 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: emacs-orgmode Hello, I am currently writing a tutorial on Python for beginners, and I have =20= numerous paragraphs like this: #+BEGIN_SRC python from xturtle import * ... raw_input() #+END_SRC Using version 1.36 of htmlize.el (already compiled) this will be =20 rendered beautifully when exporting to HTML. However, it seems that =20 each of these SRC-blocks with syntax highlighting slows the export =20 down considerably. OK - the whole export still takes less than 5 =20 seconds (yes, I know...) - but it is so much faster without the syntax =20= highlighting (and 5 seconds is a long time for a modern machine). Is =20 there a way to speed this up? Split the document? Use some sort of =20 caching? Many thanks in advance. Warm regards, Stefan --=20 Dr. Stefan Vollmar, Dipl.-Phys. Max-Planck-Institut f=FCr neurologische Forschung Gleuelerstr. 50, 50931 K=F6ln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: vollmar@nf.mpg.de http://www.nf.mpg.de