[TYPO3] MathML as a tt-content

mario chiari.hm at flashnet.it
Fri Jan 5 16:06:39 CET 2007


Hi 

i got my homework  :-)
but, did you try to reproduce my example within your T3? does it work?
tthanks mario



On Fri, 2007-01-05 at 14:15 +0100, Martin Kutschker wrote:
> mario <chiari.hm at flashnet.it> writes on 
> Fri, 05 Jan 2007 14:28:05 +0100 (MET):
> 
.........
> 
> Looking for examples I find that they all use this doctype:
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" 
> "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [
> <!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
> ]>
> 
> eg http://www.mozilla.org/projects/mathml/demo/texvsmml.xhtml
> 
> see also http://www.mozilla.org/projects/mathml/authoring.html
> 
> They usually are also in true xhtml. Using .xhtml extension, and - and
> this is IMHO really important - are served as application/xhtml+xml
> (not text/html). I think that is essential for Firefox, but a problem
> for IE6 :-(
> 
> Try changing your webservers default content type.
.........
> 
> > > We could add a config.contentType config. If set, would change
> from
> > > the 
> > > default. And the special word "none" would remove it altogether
> > > (like for 
> > > xmlprologe)
> > you are the guru here :-) I do not even not why different extensions
> > (.html vs. .xml) make a difference. 
> 
> 
> The point is that the browser treat HTML and XML differently. The odd
> man out is XHTML which is XML, but may be treated (parsing and
> rendering) as HTML. AFAIK Firefox and IE behave differently.
> 
> When loading directly from disc the extension is used to determined
> the content type. When fetched from a server it's not the extension
> but the content type the webserever sends. Mind that I'm talking about
> the true HTTP header. the http-equiv found inside the HTML header is
> more or less nostagly. At least Firefox completely ignores it.
> 
> So when 
> 
> Masi 




More information about the TYPO3-english mailing list