From: Carsten Dominik <carsten.dominik@gmail.com>
To: Lucas Peng <lucasp0927@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: create latex png while export to HTML become very slow [6.35i]
Date: Tue, 27 Apr 2010 07:51:14 +0200 [thread overview]
Message-ID: <7A52CCA0-8D32-4C48-9E9A-D6B4A3BDF254@gmail.com> (raw)
In-Reply-To: <87ochkacxm.fsf@gmail.com>
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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
prev parent reply other threads:[~2010-04-27 9:38 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-15 16:38 Bug: create latex png while export to HTML become very slow [6.35i] Lucas Peng
2010-04-16 2:58 ` Carsten Dominik
2010-04-16 3:59 ` Nick Dokos
2010-04-16 11:51 ` Lucas Peng
2010-04-16 21:41 ` Bernt Hansen
2010-04-16 21:50 ` Nick Dokos
2010-04-16 21:52 ` Carsten Dominik
2010-04-16 22:42 ` Nick Dokos
2010-04-16 23:00 ` Bernt Hansen
2010-04-17 7:48 ` Lucas Peng
2010-04-19 5:30 ` Nick Dokos
2010-04-19 6:02 ` Nick Dokos
2010-04-26 14:58 ` Carsten Dominik
2010-04-26 16:46 ` Nick Dokos
2010-04-26 16:54 ` Carsten Dominik
2010-04-27 2:41 ` Nick Dokos
2010-04-16 21:54 ` Sebastian Rose
2010-04-27 5:51 ` Carsten Dominik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7A52CCA0-8D32-4C48-9E9A-D6B4A3BDF254@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=lucasp0927@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.