emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: <sand@blarg.net>
To: "Jan Böcker" <jan.boecker@jboecker.de>
Cc: emacs-orgmode List <emacs-orgmode@gnu.org>,
	Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: MathJax is now the default for HTML math
Date: Thu, 2 Sep 2010 20:07:47 -0700	[thread overview]
Message-ID: <19584.26243.447375.125613@priss.frightenedpiglet.com> (raw)
In-Reply-To: <4C66F076.10505@jboecker.de>

Jan Böcker writes:
> Since I read the announcement this morning, I have been playing with
> MathJax. I found that when an HTML file on the local hard disk uses
> MathJax from the web, MathJax reverts to image fonts in Firefox (this is
> caused by a security feature of Firefox and mentioned in the MathJax
> FAQ). Using a local MathJax installation in a subdirectory fixes this.
> 
> Most of my time was spent messing around with XULRunner to load the
> exported HTML page, wait until MathJax has done its magic, then
> serialize the result back to XHTML.
> 
> And replace the file:// URLs pointing to the fonts of my local MathJax
> installation with data: URIs, thus embedding the fonts within the HTML
> file itself, just because I can.
> 
> The result is a single HTML file which does not require JavaScript to be
> viewed (and incurs no delay while the math is being rendered). However,
> as no MathJax code is present, the zoom and view source functions of
> MathJax are not available.

How about doing the same data: URI embedding for images in the HTML
exporter?  It should be possible to implement it entirely inside
Emacs.  It would have to be optional, of course.

Derek

-- 
Derek Upham
sand@blarg.net

  parent reply	other threads:[~2010-09-03  3:34 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
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 [this message]
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=19584.26243.447375.125613@priss.frightenedpiglet.com \
    --to=sand@blarg.net \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jan.boecker@jboecker.de \
    /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).