From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlef Steuer Subject: Re: MathJax is now the default for HTML math Date: Mon, 16 Aug 2010 12:05:59 +0200 Message-ID: <20100816120559.13150227@linux.site> References: <63B79D2B-9483-481F-B7AB-88BEA753D5C8@gmail.com> <4C66F076.10505@jboecker.de> <4C6715D0.3060508@jboecker.de> <4C67EA99.7040505@jboecker.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1092136011==" Return-path: Received: from [140.186.70.92] (port=52702 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Okwb6-0006rt-Cd for emacs-orgmode@gnu.org; Mon, 16 Aug 2010 06:08:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Okwa3-0003iy-K4 for emacs-orgmode@gnu.org; Mon, 16 Aug 2010 06:07:10 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:37642 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Okwa3-0003iF-8V for emacs-orgmode@gnu.org; Mon, 16 Aug 2010 06:06:11 -0400 In-Reply-To: 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: Carsten Dominik Cc: List emacs-orgmode --===============1092136011== Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/MrnctbvB7TjzVB5zySsWU/s"; protocol="application/pgp-signature" --Sig_/MrnctbvB7TjzVB5zySsWU/s Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 16 Aug 2010 10:59:05 +0200 Carsten Dominik wrote: >=20 > On Aug 15, 2010, at 3:24 PM, Jan B=C3=B6cker wrote: >=20 > > 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 =20 > > 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-=20 > > 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-=20 > > installer) > > >=20 >=20 > Hi, >=20 > should something like this go into org itself, or would it be enough to > put this up on worg, in org-hacks or so? I would like the possibility to export to static but nice math in HTML dire= ctly out of org. So, worg alone would be a little far away from the core, anything else woul= d feel fine.=20 But this is not an important opinion, more important where you feel the con= ceptually correct location is. Detlef >=20 > - Carsten >=20 >=20 --Sig_/MrnctbvB7TjzVB5zySsWU/s Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iD8DBQFMaQ2O0g+Q+yDyuZgRAjXEAKCZWfbYd06ihRsrHg6QuhEh5jJYVACfUtqX B6EVZgfWbK6GRH71GLAb01Y= =j5mJ -----END PGP SIGNATURE----- --Sig_/MrnctbvB7TjzVB5zySsWU/s-- --===============1092136011== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1092136011==--