Math markup

Need the mods or admins to do something for you? Post here. Read the "About" post first.

Moderators: Magistrates, Prelates, Moderators General

Re: Math markup

Postby Lenary » Wed Apr 23, 2008 9:53 pm UTC

b.i.o wrote:It's TeX LaTeX, so that's what to look around for if anyone else was wondering.



Thanks very much... all is worked out and prettified now...
Last edited by Lenary on Thu Apr 24, 2008 1:41 pm UTC, edited 1 time in total.
My Tumblog

you = me (awesome + clothes)
solve for awesome if you're a hot girl
Spoiler:
awesome = \frac{you}{me} - clothes
User avatar
Lenary
 
Posts: 151
Joined: Fri Apr 18, 2008 9:00 am UTC
Location: Edinburgh, SCOTLAND

Re: Math markup

Postby jestingrabbit » Thu Apr 24, 2008 4:00 am UTC

I wouldn't worry about TeX, I'd head straight to LaTeX if I were you.
ameretrifle wrote:Magic space feudalism is therefore a viable idea.
User avatar
jestingrabbit
 
Posts: 5606
Joined: Tue Nov 28, 2006 9:50 pm UTC
Location: Sydney

Re: Math markup

Postby b.i.o » Thu Apr 24, 2008 4:17 am UTC

Right. Not sure what I was thinking (or maybe I just wasn't thinking). Fixed my original post so I don't confuse anyone...
User avatar
b.i.o
Green is the loneliest number
 
Posts: 2520
Joined: Fri Jul 27, 2007 4:38 pm UTC
Location: Hong Kong

Re: Math markup

Postby b.i.o » Fri Apr 25, 2008 2:08 am UTC

So, rather large problem with jsMath. I disabled/enabled it globally testing out options to help the person in this thread.

Now though, whenever I load a thread with jsMath stuff in it, I get what looks like a forum error page that says 'Information: The requested topic cannot be found,' (this thread is only loading for me to post this because noscript is on). Anyone have any ideas?

It flashes the actual thread page for half a second or so, then goes to this url, which is where it gives me the error.
User avatar
b.i.o
Green is the loneliest number
 
Posts: 2520
Joined: Fri Jul 27, 2007 4:38 pm UTC
Location: Hong Kong

Re: Math markup

Postby gmalivuk » Fri Apr 25, 2008 4:36 am UTC

Indeed. Having clicked on "Go Global", I am now forced to navigate through jsMath/jsMath-global.html?http%3A//forums.xkcd.com/jsMath/test/ instead of through normal url's, when I want to avoid the error b.i.o. just described.

And clicking on "Go Local" doesn't seem to have any effect at all, so I don't see an easy way to undo what I've done. (I'm sure I could fiddle around a bit and change the settings back, but it seems rather bad for there to be one button users can click on which suddenly makes any thread with math markup no longer show up...)

Edit: Okay, if you make the terrible mistake of clicking on "go global", you have to go to the above url and then change "use global" to "never" in the jsMath control panel. Then by going back to the normal forum url you should be back in local mode, which at least doesn't automatically take you to a page that doesn't exist.
If this post has math that doesn't work for you, use TeX the World for Firefox or Chrome

(cis male/he/him/his)
User avatar
gmalivuk
A debonaire peeing style
 
Posts: 22424
Joined: Wed Feb 28, 2007 6:02 pm UTC
Location: Here and There

Re: Math markup

Postby b.i.o » Fri Apr 25, 2008 5:05 am UTC

There we go, fixed now, thanks gmalivuk :).
User avatar
b.i.o
Green is the loneliest number
 
Posts: 2520
Joined: Fri Jul 27, 2007 4:38 pm UTC
Location: Hong Kong

Re: Math markup

Postby Minerva » Sat May 03, 2008 6:24 am UTC

\hat H \psi\left(\mathbf{r}, t\right) = i \hbar \frac{\partial \psi}{\partial t} \left(\mathbf{r}, t\right)


Great Scott, it works!
LaTeX \ \heartsuit
...suffer from the computer disease that anybody who works with computers now knows about. It's a very serious disease and it interferes completely with the work. The trouble with computers is you play with them. They are so wonderful. - Richard Feynman
User avatar
Minerva
 
Posts: 920
Joined: Sat Nov 11, 2006 2:58 pm UTC
Location: Australia

Re: Math markup

Postby '; DROP DATABASE;-- » Mon May 05, 2008 7:49 am UTC

mathmagic wrote:Is it going to be compatible with subsilver? I really, *really* don't like prosilver. :(

Seconded. Prosilver is ugly! And wastes so much space in the cell with the username/avatar/etc. Do not want.
poxic wrote:You suck. And simultaneously rock. I think you've invented a new state of being.
User avatar
'; DROP DATABASE;--
 
Posts: 3284
Joined: Thu Nov 22, 2007 9:38 am UTC
Location: Midwest Alberta, where it's STILL snowy

Re: Math markup

Postby jyripyy » Mon May 05, 2008 4:00 pm UTC

Well, jsMath is compatible with subsilver2 in the sense that it doesn't give a crap about skins. It only cares about the math tags, which work fine with both styles. I've made a little greasemonkey script to load it. It's here in case someone wants to have it.
Disclaimer: This is my first greasemonkey script, so there might be some WTFs, but it works, so whatever. :)
User avatar
jyripyy
 
Posts: 15
Joined: Sun Sep 16, 2007 11:47 am UTC
Location: Finland

Re: Math markup

Postby Master Gunner » Mon May 05, 2008 9:07 pm UTC

Hurrah! It works! You are now my hero.
User avatar
Master Gunner
 
Posts: 546
Joined: Thu Jul 19, 2007 1:40 am UTC
Location: Canada, eh?

Re: Math markup

Postby ++$_ » Tue May 06, 2008 2:13 am UTC

Give this man a cookie, please!
++$_
Mo' Money
 
Posts: 2370
Joined: Thu Nov 01, 2007 4:06 am UTC

Re: Math markup

Postby Qoppa » Wed May 07, 2008 1:45 am UTC

oh em gee.

That's incredible and awesome and amazing and...
Spoiler:
Image
Code: Select all
_=0,w=-1,(*t)(int,int);a()??<char*p="[gd\
~/d~/\\b\x7F\177l*~/~djal{x}h!\005h";(++w
<033)?(putchar((*t)(w??(p:>,w?_:0XD)),a()
):0;%>O(x,l)??<_='['/7;{return!(x%(_-11))
?x??'l:x^(1+ ++l);}??>main(){t=&O;w=a();}
User avatar
Qoppa
 
Posts: 694
Joined: Sat Nov 24, 2007 9:32 pm UTC
Location: Yes.

Re: Math markup

Postby masher » Wed May 07, 2008 2:14 am UTC

jyripyy wrote:Well, jsMath is compatible with subsilver2 in the sense that it doesn't give a crap about skins. It only cares about the math tags, which work fine with both styles. I've made a little greasemonkey script to load it. It's here in case someone wants to have it.
Disclaimer: This is my first greasemonkey script, so there might be some WTFs, but it works, so whatever. :)


It works for me!

Yay, subsilver and jsMath.... :)
masher
 
Posts: 822
Joined: Tue Oct 23, 2007 11:07 pm UTC
Location: Melbourne, Australia

Re: Math markup

Postby zenten » Wed May 07, 2008 6:00 pm UTC

jyripyy wrote:Well, jsMath is compatible with subsilver2 in the sense that it doesn't give a crap about skins. It only cares about the math tags, which work fine with both styles. I've made a little greasemonkey script to load it. It's here in case someone wants to have it.
Disclaimer: This is my first greasemonkey script, so there might be some WTFs, but it works, so whatever. :)


Thank you so much!
zenten
 
Posts: 3798
Joined: Fri Jun 22, 2007 7:42 am UTC
Location: Ottawa, Canada

Re: Math markup

Postby skeptical scientist » Wed May 07, 2008 6:11 pm UTC

Too cool.
I'm looking forward to the day when the SNES emulator on my computer works by emulating the elementary particles in an actual, physical box with Nintendo stamped on the side.

"With math, all things are possible." —Rebecca Watson
User avatar
skeptical scientist
closed-minded spiritualist
 
Posts: 6152
Joined: Tue Nov 28, 2006 6:09 am UTC
Location: San Francisco

Re: Math markup

Postby btilly » Wed May 07, 2008 10:16 pm UTC

While it is great that it can be made compatible with subsilver, the default for a lot of people is subsilver without the greasemonkey script. For those people the pretty math markup is virtually unreadable.

Is there any chance that subsilver will be edited to include math markup by default?

Edit: I was wrong about what the default is.
Some of us exist to find out what can and can't be done.

Others exist to hold the beer.
btilly
 
Posts: 1877
Joined: Tue Nov 06, 2007 7:08 pm UTC

Re: Math markup

Postby Yakk » Thu May 08, 2008 1:50 am UTC

Thanks jyripyy! :)
One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision - BR

Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.
User avatar
Yakk
Poster with most posts but no title.
 
Posts: 10453
Joined: Sat Jan 27, 2007 7:27 pm UTC
Location: E pur si muove

Re: Math markup

Postby davean » Thu May 08, 2008 8:45 am UTC

btilly wrote:While it is great that it can be made compatible with subsilver, the default for a lot of people is subsilver without the greasemonkey script. For those people the pretty math markup is virtually unreadable.

Is there any chance that subsilver will be edited to include math markup by default?

Edit: I was wrong about what the default is.


No, subsilver2 is too broken to be maintainable.
User avatar
davean
Site Ninja
 
Posts: 2438
Joined: Sat Apr 08, 2006 7:50 am UTC

Re: Math markup

Postby Qoppa » Wed May 14, 2008 3:15 pm UTC

jsmath broke for me. The font size dropped back to 100%. Not a big deal I thought, but I can't change it back. I open up the jsmath box in the bottom corner and go options, but nothing happens when I change anything there because what I change doesn't save. All the boxes are unchecked, and I seem to remember there being at least a few checked. Again, if I check any of the boxes, nothing happens and if I go back into the options they've all reverted back to being not checked and 100% math scaling.

Any ideas?

EDIT: The problem seems to be coming from the subsilver greasemonkey script, even when running prosilver. I switched back to prosilver, and that didn't work until I disabled the greasemonkey script. What I find confusing is that it worked fine for a few days before breaking....
Code: Select all
_=0,w=-1,(*t)(int,int);a()??<char*p="[gd\
~/d~/\\b\x7F\177l*~/~djal{x}h!\005h";(++w
<033)?(putchar((*t)(w??(p:>,w?_:0XD)),a()
):0;%>O(x,l)??<_='['/7;{return!(x%(_-11))
?x??'l:x^(1+ ++l);}??>main(){t=&O;w=a();}
User avatar
Qoppa
 
Posts: 694
Joined: Sat Nov 24, 2007 9:32 pm UTC
Location: Yes.

Re: Math markup

Postby jyripyy » Thu May 15, 2008 2:42 pm UTC

Nice catch, Qoppa.8) I've uploaded a fixed version (same link as the old one). Should work now.
The control panel broke down because the greasemonkey script injected a new instance of jsMath into the control panel's script (loaded in a hidden iframe) causing it to lose the reference to the parent window's jsMath, which isn't a good thing.
Luckily it had a simple solution: Added a new exclude rule for http://forums.xkcd.tld/jsMath/*
User avatar
jyripyy
 
Posts: 15
Joined: Sun Sep 16, 2007 11:47 am UTC
Location: Finland

Re: Math markup

Postby Qoppa » Fri May 16, 2008 1:49 am UTC

Excellent, thank you! Let's see if it stays this time.
Code: Select all
_=0,w=-1,(*t)(int,int);a()??<char*p="[gd\
~/d~/\\b\x7F\177l*~/~djal{x}h!\005h";(++w
<033)?(putchar((*t)(w??(p:>,w?_:0XD)),a()
):0;%>O(x,l)??<_='['/7;{return!(x%(_-11))
?x??'l:x^(1+ ++l);}??>main(){t=&O;w=a();}
User avatar
Qoppa
 
Posts: 694
Joined: Sat Nov 24, 2007 9:32 pm UTC
Location: Yes.

Re: Math markup

Postby Random832 » Sun Jun 15, 2008 5:27 am UTC

A lot of the stuff at Wikipedia's Help:Math works, since WP also uses LATEX for displaying math.
Random832
 
Posts: 2525
Joined: Wed Oct 10, 2007 4:38 pm UTC

Re: Math markup

Postby Mathmagic » Sun Jun 15, 2008 12:23 pm UTC

I noticed that my Firefox updated the Greasemonkey script that jyripyy wrote for this. What was the update exactly?
Axman: That, and have you played DX 10 games? It's like having your corneas swabbed with clits made out of morphine.
Pathway: cocks cocks cocks
User avatar
Mathmagic
It's not as cool as that Criss Angel stuff.
 
Posts: 2926
Joined: Thu Nov 30, 2006 12:48 am UTC
Location: In ur fora posting in teh threads

Re: Math markup

Postby Yakk » Sun Jun 15, 2008 5:59 pm UTC

No, that was greasemonkey getting the update, not the script getting the update.
One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision - BR

Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.
User avatar
Yakk
Poster with most posts but no title.
 
Posts: 10453
Joined: Sat Jan 27, 2007 7:27 pm UTC
Location: E pur si muove

Re: Math markup

Postby hitokiriilh » Thu Aug 07, 2008 9:56 pm UTC

I'm going to go crazy. I have the jsmath stuff, I downloaded the prosilver style files. I got the typeset to render in Opera ok for a little while then it mysteriously stopped. Everything renders fine in Safari, but I hate Safari. After much googling I'm at wits end: how the junk do I get the LaTex script to render in Opera?

On another note, stuff like bold and italics doesn't show up when I browse the forum. Blargh!
hitokiriilh
 
Posts: 244
Joined: Fri Aug 10, 2007 9:15 pm UTC
Location: UVa

Re: Math markup

Postby davean » Thu Aug 07, 2008 9:59 pm UTC

hitokiriilh wrote:I'm going to go crazy. I have the jsmath stuff, I downloaded the prosilver style files. I got the typeset to render in Opera ok for a little while then it mysteriously stopped. Everything renders fine in Safari, but I hate Safari. After much googling I'm at wits end: how the junk do I get the LaTex script to render in Opera?

On another note, stuff like bold and italics doesn't show up when I browse the forum. Blargh!


Works fine in Opera 9.5 for me ... download the prosilver style files? What do you mean?
User avatar
davean
Site Ninja
 
Posts: 2438
Joined: Sat Apr 08, 2006 7:50 am UTC

Re: Math markup

Postby hitokiriilh » Wed Aug 13, 2008 2:32 pm UTC

Nvm...I'm just an idiot. :lol:
hitokiriilh
 
Posts: 244
Joined: Fri Aug 10, 2007 9:15 pm UTC
Location: UVa

Re: Math markup

Postby Mathmagic » Sat Apr 11, 2009 4:31 am UTC

So this Echochamber thing has borked the math fonts so that I can't scale them to be bigger, and it makes them somewhat difficult to read. Did/does anybody else have this problem, and can it be fixed?
Axman: That, and have you played DX 10 games? It's like having your corneas swabbed with clits made out of morphine.
Pathway: cocks cocks cocks
User avatar
Mathmagic
It's not as cool as that Criss Angel stuff.
 
Posts: 2926
Joined: Thu Nov 30, 2006 12:48 am UTC
Location: In ur fora posting in teh threads

Re: Math markup

Postby jestingrabbit » Sat Apr 11, 2009 5:07 am UTC

Mathmagic wrote:So this Echochamber thing has borked the math fonts so that I can't scale them to be bigger, and it makes them somewhat difficult to read. Did/does anybody else have this problem, and can it be fixed?


Have you tried going to options and then picking a scaling factor like 150%? I just did that and it worked fine. For sure, your old settings, which were stored on a cookie I believe, aren't going to be in operation, but just reseting your options seems to work fine.
ameretrifle wrote:Magic space feudalism is therefore a viable idea.
User avatar
jestingrabbit
 
Posts: 5606
Joined: Tue Nov 28, 2006 9:50 pm UTC
Location: Sydney

Re: Math markup

Postby Mathmagic » Sat Apr 11, 2009 5:16 am UTC

jestingrabbit wrote:
Mathmagic wrote:So this Echochamber thing has borked the math fonts so that I can't scale them to be bigger, and it makes them somewhat difficult to read. Did/does anybody else have this problem, and can it be fixed?


Have you tried going to options and then picking a scaling factor like 150%? I just did that and it worked fine. For sure, your old settings, which were stored on a cookie I believe, aren't going to be in operation, but just reseting your options seems to work fine.

I tried rescaling them like before, but the settings don't get saved and nothing changes.
Axman: That, and have you played DX 10 games? It's like having your corneas swabbed with clits made out of morphine.
Pathway: cocks cocks cocks
User avatar
Mathmagic
It's not as cool as that Criss Angel stuff.
 
Posts: 2926
Joined: Thu Nov 30, 2006 12:48 am UTC
Location: In ur fora posting in teh threads

Re: Math markup

Postby jestingrabbit » Sat Apr 11, 2009 6:22 am UTC

Well that's weird, because I change my options and make them last for longer than a session and they're right there when I come back and the fonts are resized and everything. Do you have cookie settings that might be interfering with jsmath saving your settings?
ameretrifle wrote:Magic space feudalism is therefore a viable idea.
User avatar
jestingrabbit
 
Posts: 5606
Joined: Tue Nov 28, 2006 9:50 pm UTC
Location: Sydney

Re: Math markup

Postby Mathmagic » Mon Apr 13, 2009 2:54 pm UTC

I fixed what the problem was. I had to go into the Greasemonkey options and add some inclusions/exclusions to the webpages. I just copied the same inclusions/exclusions as the forums.xkcd.tld/* entries, but used the echochamber domain instead of the forums.xkcd domain.

All the scaling works properly and saves it in the options. Thanks for your help!
Axman: That, and have you played DX 10 games? It's like having your corneas swabbed with clits made out of morphine.
Pathway: cocks cocks cocks
User avatar
Mathmagic
It's not as cool as that Criss Angel stuff.
 
Posts: 2926
Joined: Thu Nov 30, 2006 12:48 am UTC
Location: In ur fora posting in teh threads

Re: Math markup

Postby AwesomeJosh » Tue Dec 08, 2009 12:35 am UTC

I installed the jsmath fonts, but I am still getting small boxes with As inside them for a lot of things. I went back and double checked that I had all of the fonts installed, and I do. Anyone have an idea as to what the problem could be? I'm on a Mac using Safari 4.
User avatar
AwesomeJosh
 
Posts: 50
Joined: Mon Nov 30, 2009 2:16 pm UTC
Location: Washington DC

Re: Math markup

Postby jestingrabbit » Tue Dec 08, 2009 7:17 am UTC

They could be smilies. We're having some problems.
ameretrifle wrote:Magic space feudalism is therefore a viable idea.
User avatar
jestingrabbit
 
Posts: 5606
Joined: Tue Nov 28, 2006 9:50 pm UTC
Location: Sydney

Re: Math markup

Postby gmalivuk » Tue Dec 08, 2009 11:40 pm UTC

Could you provide a link to some of the posts that are giving you this problem?
If this post has math that doesn't work for you, use TeX the World for Firefox or Chrome

(cis male/he/him/his)
User avatar
gmalivuk
A debonaire peeing style
 
Posts: 22424
Joined: Wed Feb 28, 2007 6:02 pm UTC
Location: Here and There

Re: Math markup

Postby AwesomeJosh » Wed Dec 09, 2009 12:31 pm UTC

Well, I was going to link a post but suddenly, after doing absolutely nothing to my browser or fonts, they started working correctly. I'm perplexed, but the problem appears to have resolved itself, so I'm happy!
User avatar
AwesomeJosh
 
Posts: 50
Joined: Mon Nov 30, 2009 2:16 pm UTC
Location: Washington DC

Maths Tags not working

Postby GrantSolar » Wed Dec 16, 2009 8:50 pm UTC

I was wondering how to fix maths tags showing only the source text. They have been shown all fancily before but no longer.
Any ideas?
GrantSolar
 
Posts: 48
Joined: Mon Nov 16, 2009 7:19 pm UTC

Re: Maths Tags not working

Postby Cynical Idealist » Thu Dec 17, 2009 2:11 am UTC

GrantSolar wrote:I was wondering how to fix maths tags showing only the source text. They have been shown all fancily before but no longer.
Any ideas?

Are you by any chance using subsilver? Try switching to one of the prosilver styles (or just log out, its the default) and look at it again. It works for me when I switch to prosilver.
The internet removes the two biggest aids in detecting sarcasm:
1)The tone of voice
2)the assumption that the other person is sane
Elvish Pillager wrote:See? All the problems in our society are caused by violent video games, like FarmVille.
User avatar
Cynical Idealist
 
Posts: 1124
Joined: Mon Sep 15, 2008 10:48 pm UTC

Previous

Return to Site/Forum issues

Who is online

Users browsing this forum: No registered users and 2 guests