- #176
- 19,572
- 10,377
micromass said:Edit: it seems PF doesn't have the right packages for it. But there are lots of packages that let you do this. See the link above, page 26 onwards...
remember we are using mathjax :)
micromass said:Edit: it seems PF doesn't have the right packages for it. But there are lots of packages that let you do this. See the link above, page 26 onwards...
flyingpig said:Let's see
[tex]\iint\!\!\!\!\!\!\!\!\!\!\!\!\!\!bigcirc \[/tex]
The META tag inside the conditional comment is broken because you have a line break between http- and equiv, but fixing that, unfortunately, doesn't do any good. [strike]When IE8 is emulating IE7, it doesn't like the inline configuration script for MathJax. That's easy enough to fix by using a configuration file instead.[/strike] The bigger problem is that when the META tag is inside the conditional comment, you don't get the performance gain for some reason. Simply taking the META statement out of the conditional comment results in the page rendering much more quickly.Greg Bernhardt said:I tried that last night but it broke IE9. I have now added a conditional. Can anyone report if IE8 is better now?
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<!--[if IE 9]>
<meta http-equiv="X-UA-Compatible" content="IE=IE9">
<![endif]-->
vela said:So maybe you can fix it by using EmulateIE7 as the default and then telling IE9 to switch back to IE9 mode:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/javascript" src="[PLAIN]https://www.physicsforums.com/default.js"></script>[/PLAIN]
</head>
micromass said:Check out https://www.physicsforums.com/showthread.php?p=3319479#post3319479 the second post. The exponent in the first line doesn't come out nice...
Greg Bernhardt said:what are you using to view?
micromass said:Firefox. I've checked IE, and the formula comes out nice there...
Also, loading LaTeX is really slow right now. It takes about a minute before things start loading.
yungman said:A lot of the old Latex don't work eg
[tex]\left[ \frac 1 c \right ][/tex]
If you look at the latex code, it is perfectly legal.
yungman said:A lot of the old Latex don't work eg
[tex]\left[ \frac 1 c \right ][/tex]
If you look at the latex code, it is perfectly legal.
It still renders very slowly in IE8 because of the conditional.Greg Bernhardt said:ok we are now loading the config file locally. please report any performance changes
Borek said:This must be something with mathjax servers, when they are not fast enough, there are problems
Greg Bernhardt said:The CDN is on Amazon Web Servers (The Cloud).
I've gotten word from the developers that a small update is coming shortly that should address some IE7 issues.
Borek said:I know. And if I understand the situation correctly I am not sure the idea of loading some (quite large I guess) scripts each time I am visiting PF page sounds a little bit wasteful.
Borek said:Hopefully they will also look at Opera, in most cases when I have problem opening pages at PF in Opera they open in Chrome and FF. This is always related to some problems contacting cdn.
Then, who uses Opera? Borek does...
vela said:It still renders very slowly in IE8 because of the conditional.
That's why I suggested ditching the inline configuration. The combination of inline configuration and IE7 emulation was breaking MathJax on IE9. Now that the pages load the configuration from a file, IE9 works in emulation mode.Greg Bernhardt said:oddly the emulation doesn't break IE9 now. the conditionals are off.
vela said:That's why I suggested ditching the inline configuration. The combination of inline configuration and IE7 emulation was breaking MathJax on IE9. Now that the pages load the configuration from a file, IE9 works in emulation mode.
Greg Bernhardt said:I might be mistaken but I thought the scripts were on a 24h cache.
MathJax no longer loads a default configuration file; you must specify such files explicitly. This page seems to use the older default config/MathJax.js file, and so needs to be updated. This is explained further at
http://www.mathjax.org/help/configuration
Anything in Opera logs?
[2011-05-24 23:31:18] JavaScript - http://cdn.mathjax.org/mathjax/latest/jax/element/mml/jax.js
Linked script not loaded
[2011-05-24 23:31:18] JavaScript - http://cdn.mathjax.org/mathjax/latest/jax/input/TeX/jax.js
Linked script not loaded
[2011-05-24 23:31:49] CSS - [PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN]https://www.physicsforums.com/search.php?searchid=2702324[/PLAIN] [/URL][/URL][/URL][/URL][/URL][/URL][/URL]
Inlined stylesheet
-webkit-box-shadow is an unknown property
Line 1:
pace: nowrap; float: none; box-shadow: 5px 5px 15px #AAAAAA; -webkit-box-shadow:
--------------------------------------------------------------------------------^
[2011-05-24 23:31:49] CSS - [PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN]https://www.physicsforums.com/search.php?searchid=2702324[/PLAIN] [/URL][/URL][/URL][/URL][/URL][/URL][/URL]
Inlined stylesheet
-moz-box-shadow is an unknown property
Line 1:
5px 5px 15px #AAAAAA; -webkit-box-shadow: 5px 5px 15px #AAAAAA; -moz-box-shadow:
--------------------------------------------------------------------------------^
[2011-05-24 23:31:49] CSS - [PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN]https://www.physicsforums.com/search.php?searchid=2702324[/PLAIN] [/URL][/URL][/URL][/URL][/URL][/URL][/URL]
Inlined stylesheet
-khtml-box-shadow is an unknown property
Line 1:
5px 5px 15px #AAAAAA; -moz-box-shadow: 5px 5px 15px #AAAAAA; -khtml-box-shadow:
--------------------------------------------------------------------------------^
[2011-05-24 23:31:49] CSS - [PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN]https://www.physicsforums.com/search.php?searchid=2702324[/PLAIN] [/URL][/URL][/URL][/URL][/URL][/URL][/URL]
Inlined stylesheet
Declaration syntax error
Line 1:
geTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
--------------------------------------------------------------------------------^
[2011-05-24 23:31:49] CSS - [PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN]https://www.physicsforums.com/search.php?searchid=2702324[/PLAIN] [/URL][/URL][/URL][/URL][/URL][/URL][/URL]
Inlined stylesheet
Declaration syntax error
Line 2:
ng: 0; margin: 0; background-color: white; opacity: 0; filter: alpha(opacity=0)}
--------------------------------------------------------------------------------^
[2011-05-24 23:31:49] CSS - [PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN]https://www.physicsforums.com/search.php?searchid=2702324[/PLAIN] [/URL][/URL][/URL][/URL][/URL][/URL][/URL]
Inlined stylesheet
-webkit-border-radius is an unknown property
Line 1:
: nowrap; float: none; z-index: 201; border-radius: 15px; -webkit-border-radius:
--------------------------------------------------------------------------------^
[2011-05-24 23:31:49] CSS - [PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN]https://www.physicsforums.com/search.php?searchid=2702324[/PLAIN] [/URL][/URL][/URL][/URL][/URL][/URL][/URL]
Inlined stylesheet
-moz-border-radius is an unknown property
Line 1:
ndex: 201; border-radius: 15px; -webkit-border-radius: 15px; -moz-border-radius:
--------------------------------------------------------------------------------^
[2011-05-24 23:31:49] CSS - [PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN]https://www.physicsforums.com/search.php?searchid=2702324[/PLAIN] [/URL][/URL][/URL][/URL][/URL][/URL][/URL]
Inlined stylesheet
-khtml-border-radius is an unknown property
Line 1:
px; -webkit-border-radius: 15px; -moz-border-radius: 15px; -khtml-border-radius:
--------------------------------------------------------------------------------^
[2011-05-24 23:31:49] CSS - [PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN]https://www.physicsforums.com/search.php?searchid=2702324[/PLAIN] [/URL][/URL][/URL][/URL][/URL][/URL][/URL]
Inlined stylesheet
-webkit-box-shadow is an unknown property
Line 1:
html-border-radius: 15px; box-shadow: 0px 10px 20px #808080; -webkit-box-shadow:
--------------------------------------------------------------------------------^
[2011-05-24 23:31:49] CSS - [PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN]https://www.physicsforums.com/search.php?searchid=2702324[/PLAIN] [/URL][/URL][/URL][/URL][/URL][/URL][/URL]
Inlined stylesheet
-moz-box-shadow is an unknown property
Line 1:
x 10px 20px #808080; -webkit-box-shadow: 0px 10px 20px #808080; -moz-box-shadow:
--------------------------------------------------------------------------------^
[2011-05-24 23:31:49] CSS - [PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN]https://www.physicsforums.com/search.php?searchid=2702324[/PLAIN] [/URL][/URL][/URL][/URL][/URL][/URL][/URL]
Inlined stylesheet
-khtml-box-shadow is an unknown property
Line 1:
px 10px 20px #808080; -moz-box-shadow: 0px 10px 20px #808080; -khtml-box-shadow:
--------------------------------------------------------------------------------^
[2011-05-24 23:31:49] CSS - [PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN]https://www.physicsforums.com/search.php?searchid=2702324[/PLAIN] [/URL][/URL][/URL][/URL][/URL][/URL][/URL]
Inlined stylesheet
Declaration syntax error
Line 1:
geTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
--------------------------------------------------------------------------------^
[2011-05-24 23:31:49] CSS - [PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN]https://www.physicsforums.com/search.php?searchid=2702324[/PLAIN] [/URL][/URL][/URL][/URL][/URL][/URL][/URL]
Inlined stylesheet
-webkit-box-shadow is an unknown property
Line 2:
loat: none; z-index: 201; box-shadow: 0px 10px 20px #808080; -webkit-box-shadow:
--------------------------------------------------------------------------------^
[2011-05-24 23:31:49] CSS - [PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN]https://www.physicsforums.com/search.php?searchid=2702324[/PLAIN] [/URL][/URL][/URL][/URL][/URL][/URL][/URL]
Inlined stylesheet
-moz-box-shadow is an unknown property
Line 2:
x 10px 20px #808080; -webkit-box-shadow: 0px 10px 20px #808080; -moz-box-shadow:
--------------------------------------------------------------------------------^
[2011-05-24 23:31:49] CSS - [PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN]https://www.physicsforums.com/search.php?searchid=2702324[/PLAIN] [/URL][/URL][/URL][/URL][/URL][/URL][/URL]
Inlined stylesheet
-khtml-box-shadow is an unknown property
Line 2:
px 10px 20px #808080; -moz-box-shadow: 0px 10px 20px #808080; -khtml-box-shadow:
--------------------------------------------------------------------------------^
[2011-05-24 23:31:49] CSS - [PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN][PLAIN]https://www.physicsforums.com/search.php?searchid=2702324[/PLAIN] [/URL][/URL][/URL][/URL][/URL][/URL][/URL]
Inlined stylesheet
Declaration syntax error
Line 2:
geTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
--------------------------------------------------------------------------------^
http://www.mathjax.org/docs/1.1/tex.html#supported-latex-commandsJimmy Snyder said:Sorry, I don't know what is supposed to work and what isn't. [itex]\copyright[/itex] doesn't work.
micromass said:Hmm, something annoying: I often make a post, then I edit the post. But after I edited the post, the LaTeX won't run. So I have to click refresh for the LaTeX to show up. It's no biggie, but I just wanted to let this know. (I'm on firefox, by the way)