emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Jan Böcker" <jan.boecker@jboecker.de>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: detlef.steuer@gmx.de, emacs-orgmode List <emacs-orgmode@gnu.org>
Subject: Re: MathJax is now the default for HTML math
Date: Sun, 15 Aug 2010 15:24:41 +0200	[thread overview]
Message-ID: <4C67EA99.7040505@jboecker.de> (raw)
In-Reply-To: <4C6715D0.3060508@jboecker.de>

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)

  parent reply	other threads:[~2010-08-15 13:24 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-14  6:09 MathJax is now the default for HTML math Carsten Dominik
2010-08-14 19:37 ` Jan Böcker
2010-08-14 20:39   ` Detlef Steuer
2010-08-14 20:59   ` Carsten Dominik
2010-08-14 22:16     ` Jan Böcker
2010-08-15  7:25       ` Carsten Dominik
2010-08-15 13:24       ` Jan Böcker [this message]
2010-08-16  8:59         ` Carsten Dominik
2010-08-16 10:05           ` Detlef Steuer
2010-08-16 17:55             ` Bastien
2010-08-16 10:09           ` Jan Böcker
2010-08-16 10:33             ` Carsten Dominik
2010-08-17 10:44               ` Jan Böcker
2010-08-17 11:01                 ` Carsten Dominik
2010-08-17 15:17                   ` Jan Böcker
2010-08-20 16:14                     ` Carsten Dominik
2010-09-03  3:07   ` sand
2010-09-03 15:53     ` Embedding images as data: URIs in the HTML exporter (was: MathJax is now the default for HTML math) Jan Böcker
2010-09-26 18:51       ` David Maus
2010-08-16 17:50 ` MathJax is now the default for HTML math Bastien

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C67EA99.7040505@jboecker.de \
    --to=jan.boecker@jboecker.de \
    --cc=carsten.dominik@gmail.com \
    --cc=detlef.steuer@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).