emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Bug: create latex png while export to HTML become very slo


From: Carsten Dominik
Subject: Re: [Orgmode] Bug: create latex png while export to HTML become very slow [6.35i]
Date: Tue, 27 Apr 2010 07:51:14 +0200

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
"<link rel='stylesheet' type='text/css' href='css/ style.css' />" :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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten







reply via email to

[Prev in Thread] Current Thread [Next in Thread]