important to force XML

master
https://www.google.com/accounts/o8/id?id=AItOawmv2ja7Gq06aZqedc_2G3WG5dj_dFeBXRI 2011-04-23 20:16:16 -04:00 committed by Joey Hess
parent a8e3040d0a
commit b04f0d2284
1 changed files with 3 additions and 0 deletions

View File

@ -233,5 +233,8 @@ Ah yes.. sorry forgot to update the plugin in my public_html folder %-). This wa
I'm using a [plugin](http://metameso.org/~joe/math/tex.pm) created by [Josef Urban](http://www.cs.ru.nl/~urban) that gets LaTeX into ikiwiki by using [LaTeXML](http://dlmf.nist.gov/LaTeXML). This could well be "the right way" to go (long term) but the plugin still does not render math expressions right, because ikiwiki is filtering out requisite header information. Examples (I recommend you use Firefox to view these!) are available [here](http://metameso.org/aa/math/) and [here](http://metameso.org/aa/simple/). Compare that last example to the [file generated by LaTeXML](http://metameso.org/~joe/math/math.xml). I posted the sources [here](http://metameso.org/aa/sources/) for easy perusal. How to get ikiwiki to use the original DOCTYPE and html fields? I could use some help getting this polished off. --[[jcorneli]]
> update: it seems important to force the browser to think of the content as xml, e.g. [http://metameso.org/~joe/math/example.xml](http://metameso.org/~joe/math/example.xml) has the same source code as [http://metameso.org/~joe/math/example.html](http://metameso.org/~joe/math/example.html) and the former shows math working, but the latter doesn't. --[[jcorneli]]
[[!tag soc]]
[[!tag wishlist]]