Now on ScienceBlogs: Oldest Human-Made Object in Space

ScienceBlogs Book Club: Inside the Outbreaks

Search

rss.jpg   Subscribe to RSS feed

Follow dabacon on Twitter

Profile

davidog.pngDave Bacon is a theoretical ski bum who is also a pseudo professor. His research is on quantum computing, his scientific passions extend to everything in physics, mathematics, computer science and beyond, and his personal pleasures include making wine, playing poker, skiing, camping, and daydreaming (although not all of those at the same time.) Nothing he says on this blog should be construed as having anything to do with his employer or his dog.


Recent Comments

Recent Posts

Other Information

The use of Occam's razor on this website is strickly prohibited.

Cows are well approximated by a sphere.
rss.jpg   Subscribe to RSS feed

Follow dabacon on Twitter

« Vote Early, Vote Often | Main | Quantum Bacon Pontiff »

ScribTeX

Category: Science 2.0
Posted on: March 16, 2009 11:22 AM, by Dave Bacon

Share:

This weekend I got a chance to play around with ScribTex which is a tool for collaborating on LaTeX. In my short test drive, I will say it's one of the better solutions to this problem that I've seen.

(Of course the one thing that is a pain with all of these systems is the lack of good editors. There is a certain handicap that you get by working in a browser input box and not into a full fledged editor (a similar setup to scibtex that I use in MediaWiki has this same problem.) I'm not sure how solvable this problem is. Has anyone seen, for example, a javascript solution which allows automatic syntax highlighting, for example?)

Share on Facebook
Share on StumbleUpon
Share on Facebook
Find more posts in: Technology

TrackBacks

TrackBack URL for this entry: http://scienceblogs.com/mt/pings/102485

Comments

1

I get a "page not found" message when I try the link. Is their server down, or is there a problem with your link?

Posted by: dean | March 16, 2009 12:41 PM

2

At 1:00 PM eastern time the site is back - they must have had a problem.

Posted by: dean | March 16, 2009 1:01 PM

3

I gave the wrong address (it's scribtex not scibtex, doh). Fixed.

Posted by: Dave Bacon | March 16, 2009 1:04 PM

4

A work-around would be to use the "It's All Text!" plugin for firefox. This allows you to use your editor of choice to enter text from any webpage. (A small "edit" button appears in the lower right corner of a multiline text control. Clicking on it will launch your editor with the text from the field. Saving the file will update the text in the webpage). Establishing syntax highlighting for your editor is an exercise left for the reader.

Posted by: jason | March 16, 2009 2:22 PM

5

Hey Jason, thanks for the pointer. Definitely going to check that one out! Here is a link to the plugin Jason mentions: https://addons.mozilla.org/en-US/firefox/addon/4125

Posted by: Dave Bacon | March 16, 2009 2:29 PM

6

OK, I couldn't help myself. For vim users, it seems to be as simple as
:cal SetSyn("tex")

Posted by: jason | March 16, 2009 2:31 PM

7

Mozilla Labs has a new project called Bespin, which is for collaborative code editing. They have javascript highlighting, and are adding new languages as well. https://bespin.mozilla.com/

Posted by: sep332 | March 16, 2009 4:53 PM

8

I am very much on the case with web-based LaTeX editing at the moment, because I'm trying to implement something similar on http://www.quantumcollaborations.org

There are a few syntax highlighting editors that you can embed into a website, but they are oriented towards software/web developers and don't support LaTeX highlighting yet.

EditArea: http://www.cdolivet.net/editarea/
CodeMirror: http://marijn.haverbeke.nl/codemirror/
Codepress: http://sourceforge.net/projects/codepress

EditArea and CodeMirror are both extensible (not sure about Codepress), so implementing LaTeX highlighting is a "simple" matter of writing a file with the language definitions. Codepress development appears to have stalled, so the other two look more promising. CodeMirror has word-wrap, which would be good for LaTeXing, but writing a language parser for it looks much harder than for EditArea. In principle, it should be easy because you can just download the LaTeX language definitions used for highlighting by GNU source-highlight or Kile and just translate them to the appropriate format. Unfortunately, all these programs use different syntax for their language definition files, so you have to get fairly far into the documentation to figure out what is going on. A flair for RegExps is the main required skill. I am very slowly trying to translate the GNU source-highlight definitions for LaTeX into the format used by EditArea, but if someone else with more time, patience and RegExp ninja skills than me wants to have a go then that would be fantastic.

It is also worth mentioning that there are web-based versions of Emacs and vim available:

9ne: http://robrohan.com/projects/9ne/
jsvim: http://www.migniot.com/matrix/projects/jsvim/

but they do not currently have LaTeX highlighting. Needless to say, these are user friendly only to people who already use Emacs or vim on their local machine. However, since they are based on well-established editors that do have LaTeX highlighting, it should be possible to implement it relatively easily.

Finally, bespin looks cool, but it is more of a fully featured IDE than just an editor. It's probably overkill for LaTeX projects. There is some talk of developing a scaled-down editor for replacing textareas on their mailing list, but it does not seem to be a priority for Mozilla at the moment.

Posted by: Matt Leifer | March 16, 2009 7:54 PM

9

I generally use "It's all text!", a firefox plugin that lets you use your normal editor whenever you have a text input box of any kind (including this one). Whenever you hit the "save" button the input box gets updates just as if you had typed the text yourself. Very convenient. Might be worth trying for this too.

Posted by: Janne | March 16, 2009 9:09 PM

10

Just another boost for It's All Text!. It's a great plugin and very easy to use. I don't usually bother unless I'm editing something long - e.g., HTML for a blog post - but for such things, oh, it's so much better than a browser edit box. There's a keyboard shortcut to pop up the editor, too, which is much better than having to click in the box and then click on the button.

Posted by: Michael Leuchtenburg | March 16, 2009 10:33 PM

11

I prefer mozex to It's All Text! Seems to work more robustly to me and has more features.

BTW, another long comment of mine is stuck in the moderation queue. I guess that's what happens when you post links.

Posted by: Matt Leifer | March 17, 2009 6:41 AM

12

Hi,

You said: "There is a certain handicap that you get by working in a browser input box and not into a full fledged editor".

Keep in mind: There exist some online latex editors like http://www.verbosus.com which support syntax highlighting, templates, etc.

Cheers,
v.

Posted by: verbosus | March 2, 2010 7:23 AM

13

We just relaunched ScribTeX this weekend with a brand new service. Feedback from blogs like this has really helped to shape the new version and I'm pleased to say that it now has a much better editor, including full syntax highlighting. Thanks for all the feedback so far!

We've made improvements in all areas, and if you haven't checked out the new version yet then it's really worth having another look.

Thanks for the mention,
James
http://www.scribtex.com

Posted by: James | April 26, 2010 1:39 PM

Comments have been closed as this blog has moved to http://dabacon.org/pontiff.
Click here to search for this post on the new blog.

ScienceBlogs

Search ScienceBlogs:

Go to:

Advertisement
Follow ScienceBlogs on Twitter

© 2006-2011 ScienceBlogs LLC. ScienceBlogs is a registered trademark of ScienceBlogs LLC. All rights reserved.