PDA

View Full Version : Latex extension (updated)


Thrice
Mar28-07, 01:57 PM
http://www.mathphyswiki.com/images/4/41/Latex_extension.xpi

It doesn't crash anymore :biggrin:

Firefox & windows only, sorry. I have a few more features I hope I can get in today/tomorrow before I take it out of beta. As always, any suggestions would be appreciated - especially on the interface.

ETA: Drag it into a firefox window to install.

neutrino
Mar28-07, 02:34 PM
What exactly does it do? My main OS is Linux, though. :(

Thrice
Mar28-07, 02:43 PM
Renders it client-side. It's good for learning latex, or for writing up a complicated expression before submitting it. I'm thinking I'll add automatic uploading sometime today. Linux support is my next big project after finishing the minor features.

ziad1985
Mar28-07, 02:54 PM
nice, I like this..
very handy, but when I press render, I get nothing..

neutrino
Mar28-07, 03:01 PM
Renders it client-side. It's good for learning latex, or for writing up a complicated expression before submitting it. I'm thinking I'll add automatic uploading sometime today. Linux support is my next big project after finishing the minor features.
Sounds good. I'll wait. :)

Thrice
Mar28-07, 03:05 PM
nice, I like this..
very handy, but when I press render, I get nothing..Hmm I thought I got rid of that bug. Is your c:\temp folder writeable? Try closing firefox & starting it again. Also try to reproduce it & post the steps.

ziad1985
Mar28-07, 03:13 PM
I just created a folder called temp in C: and it worked just fine.

Thrice
Mar28-07, 03:31 PM
Glad to hear it :)

Thrice
Apr28-07, 08:51 PM
What exactly does it do? My main OS is Linux, though. :(Linux only version is up.

http://mathphyswiki.com/latex/latex-linux.xpi

It involves some fairly sophisticated code. I'll eventually figure out how to merge it into the main trunk..

The windows version is currently bogged down in the mozilla sandbox (https://addons.mozilla.org/en-US/firefox/addon/4082). If you've tried it & you have an addons.mozilla account, post something & bug those editors into making it public. :p

neutrino
Apr29-07, 02:02 AM
Linux only version is up.

http://mathphyswiki.com/latex/latex-linux.xpi

It involves some fairly sophisticated code. I'll eventually figure out how to merge it into the main trunk..

The windows version is currently bogged down in the mozilla sandbox (https://addons.mozilla.org/en-US/firefox/addon/4082). If you've tried it & you have an addons.mozilla account, post something & bug those editors into making it public. :p

Great! Thank you very much. This seems to be very useful. Is there a way to add custom code?

Thrice
Apr29-07, 01:07 PM
Yeah ... mostly. Rename the .xpi as .zip & check. Adding new favorites is easy, adding new latex functions is hard. I'd appreciate any suggestions too.

neutrino
Apr29-07, 01:15 PM
Yeah ... mostly. Rename the .xpi as .zip & check. Adding new favorites is easy
Which file do I use to change the favourites? Should I install it again after changing them?

Thrice
Apr29-07, 01:18 PM
Which file do I use to change the favourites? Should I install it again after changing them?chrome/content/texwindow.xul

this (http://ted.mielczarek.org/code/mozilla/extensiondev/) extension is very good for testing xul. Yeah you'll have to install it again unless you edit the currently installed extension.(in which case you just restart)

neutrino
Apr29-07, 01:49 PM
chrome/content/texwindow.xul

unless you edit the currently installed extension.(in which case you just restart)

Tried that, but I get this error when trying to save the file. (I was accessing it as root, and that file was inside my home folder.)
You are trying to save the file on a read-only disk. Please check that you typed the location correctly and try again.

Of course, having the option to change the favourites from within the browser will always be welcome. :wink:

Thrice
Apr29-07, 02:02 PM
Tried that, but I get this error when trying to save the file. (I was accessing it as root, and that file was inside my home folder.) I don't know why firefox makes it read only. You'll have to change permissions.

http://img339.imageshack.us/img339/1442/snapshot9mv9.th.jpg (http://img339.imageshack.us/my.php?image=snapshot9mv9.jpg)

Of course, having the option to change the favourites from within the browser will always be welcome. :wink:yeah I was thinking about that & I have no idea how to do it.

neutrino
Apr29-07, 02:11 PM
Changing the permission worked! Thanks. Although I added \\kappa to the list of Greek letters and it appears as a mu. :biggrin:

Thrice
Apr29-07, 02:31 PM
You'd need to change its image src at <image src="chrome://... /> then go to chrome/skin/favorites and add the kappa image.

I've updated it with some more greek stuff.

http://mathphyswiki.com/latex/latex-linux.xpi

Thrice
May31-07, 09:55 PM
http://mathphyswiki.com/index.php?title=Latex_extension

K version 1.0 with uploading is done. I'm probably done with major features for now.