Re: Cluebat needed: Proper way to reference MathJax.js
On Mon, Jul 13, 2015 at 08:01:48PM -0500, Dirk Eddelbuettel wrote:
> | To make it work only when served by a webbrowser, use this:
> I think this is what I had in mind, thanks!
> | web-server (all libjs-* packages should recommend it, and it should be
> | enabled by default for apache).
> Hm, libjs-mathjax does not. So I'll add two depends.
> | To make it work only offline, use this:
> Icky that it is either or!
> | To make it work both offline and offline, use this:
Can't you make a link in the directory of the file referencing it and use
a non-absolute path, i.e. src="MathJax.js"? That should work both locally and
through a browser without any configuration, right? (Except that the directory
must be served by the web server, of course.)