On Aug 15, 2010, at 3:24 PM, Jan Böcker wrote:
I have now published the code used to create the static version:
http://www.jboecker.de/2010/08/15/staticmathjax.html
Below is a first stab at HTML export integration fresh out of my
*scratch* buffer (which lacks the possibility to configure this for
each
file).
-- Jan
(defun jb/static-mathjax-hook-installer ()
"adds jb/static-mathjax-process to the local after-save hook"
(add-hook 'after-save-hook 'jb/static-mathjax-process nil t))
(defun jb/static-mathjax-process ()
(let ((app-ini-path "/home/jan/work/staticmathjax/application.ini")
(output-file-name (concat (file-name-sans-extension buffer-file-
name)
"-static.html")))
(call-process "xulrunner" nil nil nil app-ini-path buffer-file-name
output-file-name "--embed-fonts")))
(add-hook 'org-export-html-final-hook 'jb/static-mathjax-hook-
installer)
Hi,
should something like this go into org itself, or would it be enough to
put this up on worg, in org-hacks or so?
- Carsten
_______________________________________________
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