From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: create latex png while export to HTML become very slow [6.35i] Date: Tue, 27 Apr 2010 07:51:14 +0200 Message-ID: <7A52CCA0-8D32-4C48-9E9A-D6B4A3BDF254@gmail.com> References: <87ochkacxm.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6hFh-0005nS-EG for emacs-orgmode@gnu.org; Tue, 27 Apr 2010 05:38:49 -0400 Received: from [140.186.70.92] (port=35390 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6hFa-0005ks-Qx for emacs-orgmode@gnu.org; Tue, 27 Apr 2010 05:38:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6eZk-0007o3-4f for emacs-orgmode@gnu.org; Tue, 27 Apr 2010 02:47:32 -0400 Received: from ey-out-1920.google.com ([74.125.78.146]:44007) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6eZe-0007mL-3v for emacs-orgmode@gnu.org; Tue, 27 Apr 2010 02:47:14 -0400 Received: by ey-out-1920.google.com with SMTP id 13so262362eye.34 for ; Mon, 26 Apr 2010 23:47:11 -0700 (PDT) In-Reply-To: <87ochkacxm.fsf@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: emacs-orgmode@gnu.org Hi Lucas, thanks to some detective work by Ulf Stegemann and Nick Dokos we have now identified what was causing this slowdown. The new LaTeX setup in 6.35 led to the inclusion of more packages into the image generator. The worst offender was hyperref. In the latest git head, this problem has been removed by adding switches to the settings in org-export-latex-default-packages-alist and org-export-latex-packages-alist, as to whether the package needs to be included for snippet image creation. If you get the git version, or wait for 6.36 which will be release this weekend, HTML export of your files should basically happen at the old speeds again. Thank you for your report, and thanks to everyone who helped resolving the issue. - Carsten On Apr 15, 2010, at 6:38 PM, Lucas Peng wrote: > > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? > See > > http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org-mode mailing list. > ------------------------------------------------------------------------ > > After upgrade to 6.35i, export .org file with latex fragment become > extremly slow. > > Emacs : GNU Emacs 23.1.95.1 (x86_64-unknown-linux-gnu, GTK+ Version > 2.20.0) > of 2010-04-05 on lucaspeng-laptop > Package: Org-mode version 6.35i > > current state: > ============== > (setq > org-export-with-LaTeX-fragments t > org-export-latex-after-initial-vars-hook '(org-beamer-after-initial- > vars) > org-agenda-custom-commands '(("h" "HomeWorks" > ((agenda "") (tags "HOMEWORK") (tags "STUDY"))) > ) > org-agenda-files '("~/homework/wiki/todo.org") > org-after-todo-state-change-hook '(org-clock-out-if-current) > outline-minor-mode-prefix [(control o)] > org-export-latex-format-toc-function 'org-export-latex-format-toc- > default > org-export-preprocess-hook '(org-export-blocks-preprocess) > org-tab-first-hook '(org-hide-block-toggle-maybe) > org-src-mode-hook '(org-src-mode-configure-edit-buffer) > org-confirm-shell-link-function 'yes-or-no-p > org-export-first-hook '(org-beamer-initialize-open-trackers) > org-agenda-include-all-todo t > org-todo-keywords '("TODO" "STARTED" "DONE") > org-agenda-before-write-hook '(org-agenda-add-entry-text) > org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- > drawers > org-cycle-show-empty-lines > org-optimize-window-after-visibility-change) > org-publish-project-alist '(("wiki" :base-directory "~/WikiNotes/org/" > :base-extension "org" :publishing-directory > "~/WikiNotes/publish/" :recursive t > :publishing-function org-publish-org-to-html > :section-numbers nil :auto-preamble t > :table-of-contents nil :style > "" :style-include-default t :author-info nil :email-info > nil :creator-info nil) > ("wiki2" :base-directory "~/WikiNotes/org/" > :base-extension > "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\| > swf" :publishing-directory "~/WikiNotes/publish/" :recursive > t :publishing-function org-publish-attachment) > ("website" :components ("wiki" "wiki2"))) > org-export-preprocess-before-normalizing-links-hook '(org-remove- > file-link-modifiers) > org-mode-hook '(#[nil "\300\301\302\303\304$\207" > [org-add-hook change-major-mode-hook org-show-block-all > append local] > 5] > turn-on-org-cdlatex) > org-confirm-elisp-link-function 'yes-or-no-p > org-occur-hook '(org-first-headline-recenter) > org-export-preprocess-before-selecting-backend-code-hook '(org- > beamer-select-beamer-code) > org-remember-templates '(("Tasks" 116 "* TODO %?\n %i\n %a" > "/home/lucaspeng/homework/wiki/todo.org" nil) > ("Appointments" 97 > "* Appointment: %?\n%^T\n%i\n %a" > "~/organizer.org" nil) > ) > org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix- > toc > org-beamer-auto-fragile-frames > org-beamer-place-default-actions-for-lists) > ) > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten