LaTeX for Google Docs (BROKEN)

By WindPower Last update May 10, 2008 — Installed 1,061 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0

Archived Comments (locked)

Subscribe to Archived Comments 19 posts, 8 voices

Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
WindPower Script's Author

Alright, this is officially broken. I'll release a fix if I find the time to do so. In the meantime, you can still use it by clicking the "Preview" button in the LaTeX dialog, then right-clicking on the preview image and selecting "Copy Image Location". Then close the LaTeX dialog, go to Insert -> Picture, then to "From the web (URL)", and paste the URL in the text field.

It's annoying, I know. Sorry~ If anyone has time to fix it, please email me at: admin at gaiatools dot com

 
chris holden User

This script does not work correctly for me. Everything up to and including preview works fine, but the insert button does nothing. Also, any chance of getting this to work in google sites? Thank you for your hard work, this is a great idea.

 
rfantster User

Greetings folks.

I appreciate the concept of this script but can't figure out how to "install" it after downloading.
I would be most thankful for any assistance.

Thanks,

Robert

 
Tom 02138 User

Thanks for making this available; it's already quite useful.

The LaTeX item only shows up on one of my browsers; is there any chance of making detection a little more reliable?

I guess the other BIG wish I would have is to be able to re-edit a formula by clicking on it in some way. Since the URL contains what I typed, it should be fairly easy to do this and only require client-side processing.

 
WindPower Script's Author

Well, update your userscript~

 
Eduardo T. User

Yeap:
Error: document.getElementById("picture") has no properties
Source File: file:///home/etejada/.mozilla/firefox/qqlffonk.default/gm_scripts/latexforgoogledocs1.user.js
Line: 14

 
WindPower Script's Author

Fixed, thanks~ Update the script and it should work.

 
Rene Castberg User

Seems the the code from google docs didn't work, if you want a copy of the source for an example page, i can try sending a copy by mail or so.

 
Rene Castberg User

Hi,

It seems it stopped working for me as well, i get one error message in the error console:

Error: document.getElementById("picture") has no properties
Source File: file:///home/username/.mozilla/firefox/x883x3.default/gm_scripts/latexforgoogledocs.user.js
Line: 13

Going to line 13 and changing picture to m-picture and comment to m-comment fixed the problem.

Code below taken from google docs source

 
Picture
 
Ctrl+K
Link
 
Table

 
Ctrl+M
Comment

 
WindPower Script's Author

If you're using Google Apps, Rene Castberg told me the URL to a doc begins by http://docs.google.com/a/*/Doc?, which is something I'm not sure of, so this might explain it. If you're using another domain than docs.google.com (like docs.google.de or docs.google.fr or whatever), then you'll need to modify the included URLs accordingly. Otherwise, it should work... Anything showing in the Error Console?

 
Eduardo T. User

I'm having trouble using this script. I have Greasemonkey up and running and the script installed but I don't get the menu option Insert->LaTeX. Any ideas?

 
WindPower Script's Author

For future reference, the site providing the images is http://texify.com/.

 
yotam User

I checked it now again an indeed there is no problem, perhaps it was something temporary with the web site.

 
WindPower Script's Author

I can't seem to get yotam's problem; Using his code, I got this -> http://tinyurl.com/6l4eob
That's what supposed to show, there's no pointing arrow or anything... o_O

@Rene Castberg: Added, thanks~

 
yotam User

It doesn't handle brackets well.
The command:
\begin{array} {cc}
ax^2 & \lambda \\
\left( \int_0^\infty dx \right) & 2
\end{array}

showed anything it is supposed to apart from the brackets who where showen as simple ones and not scaled. it also showed a right pointing arrow.

 
Rene Castberg User

No apologies needed! :D

Thanks for the update, you just made my life a lot simpler.

b.t.w. I just tested it against google apps for domains , which have a url of the type: http://docs.google.com/a/*/Doc?* and works great there as well.

Thanks

 
WindPower Script's Author

Apr 6, 2008: Fixed in order to work with the new version of Google Docs. Sorry Rene Castberg~

 
Rene Castberg User

This doesn't seem to work for me. Anybody else get this to work?

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel