emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] MathJax is now the default for HTML math


From: Detlef Steuer
Subject: Re: [Orgmode] MathJax is now the default for HTML math
Date: Mon, 16 Aug 2010 12:05:59 +0200

On Mon, 16 Aug 2010 10:59:05 +0200
Carsten Dominik <address@hidden> wrote:

> 
> 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?

I would like the possibility to export to static but nice math in HTML directly
out of org.
So, worg alone would be a little far away from the core, anything else would 
feel fine. 

But this is not an important opinion, more important where you feel the 
conceptually correct location is.

Detlef




> 
> - Carsten
> 
> 

Attachment: signature.asc
Description: PGP signature


reply via email to

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