Improved Latex Extension for Firefox & Windows - No More Crashing!

  • Context: LaTeX 
  • Thread starter Thread starter Thrice
  • Start date Start date
  • Tags Tags
    Extension Latex
Click For Summary

Discussion Overview

The discussion revolves around an improved LaTeX extension for Firefox and Windows, focusing on its features, installation process, and user experiences. Participants explore its functionality, compatibility with different operating systems, and potential enhancements.

Discussion Character

  • Technical explanation
  • Exploratory
  • Debate/contested

Main Points Raised

  • One participant shares a link to the LaTeX extension and notes it no longer crashes on Windows.
  • Another participant inquires about the extension's functionality, expressing a preference for Linux.
  • Some participants mention that the extension renders LaTeX client-side, which is useful for learning and preparing expressions.
  • There are reports of rendering issues, with one user stating they received no output when pressing render.
  • A participant suggests checking the write permissions of the C:\temp folder to resolve rendering issues.
  • Another user reports that creating a temp folder resolved their issue.
  • Linux support is mentioned as a future goal, with a Linux-only version subsequently shared.
  • Participants discuss the complexity of adding custom code and modifying favorites within the extension.
  • One user encounters a permissions error when trying to save changes to the favorites file, leading to a discussion on changing file permissions.
  • Another participant mentions updating the extension with additional Greek letters.

Areas of Agreement / Disagreement

Participants express varying experiences with the extension, particularly regarding its functionality on different operating systems. There is no consensus on the best way to modify the extension or resolve specific issues, indicating ongoing exploration and debate.

Contextual Notes

Some participants face technical challenges related to file permissions and rendering issues, which may depend on individual system configurations. The discussion includes references to specific files and code modifications that may not be universally applicable.

Who May Find This Useful

Users interested in LaTeX, Firefox extensions, and those looking for tools to assist with mathematical writing may find this discussion beneficial.

Thrice
Messages
258
Reaction score
0
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.
 
Last edited by a moderator:
Physics news on Phys.org
What exactly does it do? My main OS is Linux, though. :(
 
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.
 
nice, I like this..
very handy, but when I press render, I get nothing..
 
Thrice said:
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. :)
 
ziad1985 said:
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.
 
I just created a folder called temp in C: and it worked just fine.
 
Glad to hear it :)
 
neutrino said:
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 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
 
Last edited by a moderator:
  • #10
Thrice said:
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 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?
 
Last edited by a moderator:
  • #11
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.
 
  • #12
Thrice said:
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?
 
  • #13
neutrino said:
Which file do I use to change the favourites? Should I install it again after changing them?
chrome/content/texwindow.xul

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)
 
Last edited by a moderator:
  • #14
Thrice said:
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:
 
  • #15
neutrino said:
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

neutrino said:
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.
 
Last edited by a moderator:
  • #16
Changing the permission worked! Thanks. Although I added \\kappa to the list of Greek letters and it appears as a mu. :biggrin:
 
  • #17
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
 
Last edited by a moderator:
  • #18
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.
 
Last edited by a moderator:

Similar threads

  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 48 ·
2
Replies
48
Views
8K
  • · Replies 9 ·
Replies
9
Views
9K
Replies
9
Views
2K
  • · Replies 18 ·
Replies
18
Views
6K