Collaborative LaTeX Editor With Preview In Your Web Browser 99
Celarent Darii writes "Slashdot readers have undoubtedly heard of Google Docs and the many other online word processing solutions that run in the browser. However, as a long-time user of TeX and LaTeX, these solutions are not my favorite way of doing things. Wouldn't it be nice to TeX something in your browser? Well, look no further, there is now an online collaborative LaTeX editor with integrated rapid preview. Some fantastic features: quasi-instant preview, automatic versioning of source, easy collaboration and you can even upload files and pictures. Download your project later when you get home. Are you a TeX guru with some masterpieces? Might I suggest uploading them? For the beginner: you can start here."
Re:First (Score:4, Funny)
Try LyX! (Score:5, Informative)
LyX is a great free cross-platform document processor that uses LaTeX on the back end for export.
Not exactly WYSIWYG, but close enough. You export to PS or PDF as needed.
You can see basically what your equations look like while editing before you tex it. You can still use normal LaTeX commands too, but anyone with basic Word experience can jump right in.
I have used it for tons of things for over a decade now.
Re: (Score:3, Informative)
Agreed.
LyX is the most innovative opensource tool I've found yet, and one of the most effective --- the book manuscripts which I get which are submitted by LyX users are the cleanest, and most straight-forward, making for the most profitable typesetting jobs.
I really wish that there were a similar vector graphics tool --- I want something which is parametric and shows both drawn vector and under-lying code and which allows one to edit either representation.
Re: (Score:3)
I use tgif for vector graphics editing fairly well.
I have managed to get a couple of scripts to automatically run that let me have WYSIWYG type 1 eps equations in tgif. Click on the equation object in LyX, edit, save and close, the lyx file is dumped to ps then eps and pulled into tgif.
I have even gotten that to work on a cygwin PC too.
Re: (Score:3)
I want something which is parametric and shows both drawn vector and under-lying code and which allows one to edit either representation.
Agreed! all sophisticated GUI applications should operate in a sort of "CAD" mode, where GUI actions are displayed as commands and vice-versa.
Re: (Score:3)
Actually AutoCAD has an integrated lisp interpreter, so you could load Visual Lisp files and edit the source and see the output. There might be other programs like this elsewhere, but I know AutoCad let's you do this. There are lots of Visual Lisp files on the net.
You could also use emacs to do some drawing in SVG [w3.org] format, rendering it using the Emacs SVG mode [emacswiki.org]. You could also write it all in elisp and use an s-expression to xml conversion script in an auto-revert buffer. Whether you would want to do that is
Re: (Score:1)
The AutoCAD angle is interesting --- since I've just gotten a Shapeoko CNC mill up and running, I'll have to look into it --- are there any opensource CAD programs which would work thus?
Emacs won't work for me, I prefer a stylus over a keyboard, and what I really want is the ability to draw w/ the stylus and tweak the dimensions using numbers at need.
opensource parametric CAD (Score:1)
Looked around a bit and found FreeCAD, so will have to try that.
William
Re: (Score:2)
For a CNC machine, you probably want more of a 3D modeling system, namely something more on the lines of BRL-CAD [brlcad.org]. There is lot of documentation out there for BRL-CAD as it's been around for awhile. FreeCAD is more for drawings, but still a good program.
Re: (Score:2)
For SVG, you can use Sketsa [kiyut.com] (not free unfortunately), or for just minor stuff in a browser window: svg-edit [googlecode.com].
Re: (Score:2)
Oooh handy! I was just trying to figure out how I'd get some people at my company to face the terrifying interface of LaTeX (seriously, it looks like an IDE). This could be very helpful.
Re: (Score:3)
Oooh handy! I was just trying to figure out how I'd get some people at my company to face the terrifying interface of LaTeX (seriously, it looks like an IDE)
That's basically what it is: an IDE for creating PDFs.
Re: (Score:1)
Re: (Score:2)
The windows installer installs and configures it all automatically, so you don't have to worry with the LaTeX stuff. I think Mac is similar, just click to install. Linux variants generally install LaTeX with ease for most distributions.
LyX has had version control for a long time. CVS was standard years ago, I think they are open to various version control now. It may not be multi-user simultaneous edits, but many version control systems will sort out non-conflicting edits.
Re:Try LyX! (Score:5, Insightful)
For me LyX was "LaTeX with training wheels"; after about a year of LyX I've moved to pure LaTeX for more complex functionality. However, I found LaTeX far less intimidating that it might have been as I was already familiar with the concepts and with the names of most functions.
Where it really excels though is in the well-thought-out system of keyboard shortcuts. I used it in the final year of my degree to take down lecture notes, including equations and derivations, and found I was generally able to keep up with a blackboard. Try that with Equation Editor!
Re: (Score:2)
Yes, LyX is a great tool. But when you travel, you don't always have the possibility (company computer without the program installed for example), but this works through the web so if you have a web connection you can at least get something done. I wouldn't leave a project on this website, but you can always download and keep the source on your computer when you get home and use whatever you want with it later.
Plus the collaboration tools aren't in LyX yet (though they will be in the near future supposedly)
Re: (Score:1)
The use of keyboard shortcuts in Lyx is amazing. Not to mention intuitive response with WYSIWYM [wikipedia.org]. The problem, apart from familiarity among researchers, is making it _exactly_ what you mean, which will never beat plain text - but no reason why it can't come close enough (Lyx is mainly backward compatible with latex after all). This would beat the standard of using wikis for building documentation for sure.
Re: (Score:2)
It's an interesting tool, but I've always been somewhat skeptical of tools that write the code for me, especially when collaborating with someone else who may not be using the same tool. There's also the issue of using the templates provided by e.g. conferences, how does that work?
Awesome (Score:4, Interesting)
Re:Awesome (Score:5, Interesting)
Most exciting thing I've seen all day! Right now I use a subversion repository to collaborate with my coauthors, but my advisor isn't very technical and can't seem to figure it out half the time. This is going to be much easier.
Thanks - we've designed writeLaTeX to make it easier to collaborate especially with users who are new to LaTeX or used to WYSIWYG editors. (I'm one of the developers of writeLaTeX and have just returned from my valentine meal out to find us on slashdot!!) Hope the site has been performing ok during the spike in traffic, and if you've any questions just let me know or contact us through the site. Any and all feedback appreciated! John
Re: (Score:2)
Hey! Your site is awesome - it's only been down once so far when I have tried to use it.
One question - how do you make the decision of when to update the preview? I've found that it's a little over-eager - I have had multiple updates cascade while typing a single sentence, and since it's not an immediate update (and I'd be shocked if it was, since it isn't for desktop LaTeX ;-) that seems like extra cycles for not much benefit.
Re: (Score:1)
Hey! Your site is awesome - it's only been down once so far when I have tried to use it.
One question - how do you make the decision of when to update the preview? I've found that it's a little over-eager - I have had multiple updates cascade while typing a single sentence, and since it's not an immediate update (and I'd be shocked if it was, since it isn't for desktop LaTeX ;-) that seems like extra cycles for not much benefit.
Thanks - and sorry you found the site down once, that's one more time than we're aiming for! At the moment the decision on preview updates is fairly simplistic, but we're continuously updating things behind the scenes to make it "cleverer" :-) We've also had requests from some users to be able to turn it off (so they can decide when to update), which makes sense, and we've lots more options/tweaks to add to the UI.
In fact, this weekend we've finally finished a package of updates on the front end, which w
Re: (Score:3)
Not just this one. (Score:5, Informative)
While the summary makes it sound like this is some breakthrough idea, there are several similar sites out there:
https://www.sharelatex.com/ [sharelatex.com]
http://spandex.io/ [spandex.io]
And others, I'm sure. Is the submitter the owner of this particular version? The marketing speak is a bit over-the-top.
I used sharelatex for a group project last semester and it worked fine. Several features were added since then that make it likely I'll use it again.
Options are good, this might be better for some (Score:2)
Breakthrough idea, maybe not. A different realization with distinct advantages, maybe.
This lacks continuously-updated rendering, which I think is a key feature of writelatex.
This looks like it might actually be better than writelatex for most uses (I particularly like the advertised dropbox integration, and revision
Re:Not just this one. (Score:5, Interesting)
I wish I were. Nope, just a fan - sorry for the over enthusiasm.
Some other people also gave me by message these sites: http://www.scribtex.com/ [scribtex.com] as well as this one emulating Google docs: http://docs.latexlab.org/ [latexlab.org]
Didn't know that all these services were available. Only found this by accident a few days ago and found it really useful, hence the story submission.
Re: (Score:3)
That one claims to integrate with, not emulate, Google Docs.
Latex outside academia (Score:4, Interesting)
I loved using Latex when I was in school. I used it not only for dissertations, but also for assignments. But I can't find any use for it outside academia. At least not at my current job. Does anyone have any stories where they use Latex outside a university?
Re: (Score:1)
I use it for daily document work (letters, speech outlines, handouts, posters etc.) and for books I typeset for friends. It's great to have a 20+ year library of documents that I can (usually) run through the engine without having to make changes or change file formats, and without the accompanying formatting/data loss issues.
Re:Latex outside academia (Score:5, Interesting)
I work in publishing, so use it quite a bit for any .pdf manipulation which isn't suited to pdftk, and which justifies it (as opposed to using Enfocus PitStop). Examples:
- in-house ad design system for HS ads in phone books .pdfs displayed in Adobe Acrobat w/ a single click people never used it)
- batch processing ads to add a yellow or white background, or to scale them, sometimes asymmetrically
- batch print graphics w/ filenames --- one instance of that was a several thousand page government publication
- print processed graphics side-by-side w/ the original to make proofreading easier (while I worked up an AppleScript which would page forward in both
- unreleased system for creating galley versions of magazine / journal articles when the source text was in Typo3
- custom typesetting system for custom story books, since taken off-line
I also use it for my own design and typesetting:
- the freely distributed .pdf version of Mike Brotherton's Star Dragon: http://www.mikebrotherton.com/2005/04/20/new-star-dragon-pdf/ [mikebrotherton.com] (this design made it into the Memoir documentclass along w/ some other things I contributed)
- some entries in the TeX Showcase: http://www.tug.org/texshowcase/onetype.pdf [tug.org] and http://www.tug.org/texshowcase/peace_on_earth.pdf [tug.org]
- books which I typeset and print so as to bind them by hand: http://mysite.verizon.net/william_franklin_adams/portfolio/typography/thebookoftea.pdf [verizon.net]
William
Re: (Score:2)
Re: (Score:3)
Does anyone have any stories where they use Latex outside a university?
I've never been a fan of LaTeX, but I use TeX for novels, and have done for about two decades now.
Re: (Score:1)
This [federalreserve.gov] gets built from LaTeX.
Re: (Score:3)
Organic Chemistry (Score:2)
Re: (Score:2)
That's kind of cool. But how is it throwing out progress? Are you saying that using LaTeX to draw organic molecules is regressive in some way?
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Agreed that Chemfig is painful, but I've yet to find a decent workflow with ChemDraw. Currently using Inkscape, which at least has a comprehensive set of shortcuts and doesn't prevent annotation. What do you recommend?
fantastic idea, working with files could be easier (Score:1)
Re: (Score:1)
plus they don't take .eps files??
My total speculative guess is that they're using pdflatex to render rather than traditional latex, and haven't bothered to implement conversions between image formats.
Re: (Score:1)
Re: (Score:1)
Re: (Score:1)
Re: (Score:1)
Bakoma (Score:2)
Re:Bakoma costs (Score:2, Informative)
You neglect to mention it costs 55 euros at its cheapest.
Re: (Score:3)
There is a pretty good looking editor for Latex called Bakoma. What I have never understood with latex is that it is hard to find an editor that does exactly what this website does. You type on the left and it appears on the right. But I want one step further. You also can edit on the right.
The problem with that is that for many graphical interactions there will be more than one interpretation, so a computer cannot know what you actually wanted to do: all it can see is the effect of you having done it. If you can solve that non-contiguity, you'll have a really nice, saleable product...
Comment removed (Score:3)
Re:Writing LaTeX directly is often unnecessary (Score:5, Informative)
LaTeX is basically a write-only language. Almost nothing else can read it except for other TeX variants. And TeX is pretty much a one-trick pony. It does only one thing particularly well: produce fixed-layout PostScript/PDF pages. Other output formats are bolted-on hacks. The problem is that PDF and PostScript are terrible for electronic publishing because of wide variations in screen size and resolution. All the fancy typesetting that looks great on an 8.5"x11" printed page looks lousy when you shrink the PDF down to fit on a seven inch Kindle or Nook screen. For this reason, most electronic publishing is done using HTML so that the reading devices can reflow the content freely to fit the screen. (This is arguably less true for textbooks, mind you.)
Although I'm told that the LaTeX path to HTML has improved a lot since I last tried to use it, you're still starting from source material that was designed for fixed-layout publishing, complete with formatting instructions, and trying to cram that into a non-fixed-layout publishing scheme. Such an inherently lossy transformation can never feasibly produce results that are as good as you would get if you started out with a proper separation between the formatting information and the content, e.g. authoring in DocBook XML and transforming it to HTML and LaTeX as post-processing steps.
Re: (Score:2)
Your post is ridiculous.
LaTeX is basically a write-only language.
I suggest you look up what "write-only" means before you spout bullshit. Hint: it means "hard to read, and thus hard to maintain", with Perl often being given as an example .
Almost nothing else can read it except for other TeX variants.
So Spanish is a useless language too, as almost nobody can understand it but other Spanish-speakers.
It does only one thing particularly well: produce fixed-layout PostScript/PDF pages.
"A boat does only one thing particularly well -- travelling on water". Producing fixed-layout .pdfs is pretty bloody useful for very, very many applications. And produces those so that they actually look good, a
Re: (Score:1)
LaTeX programming should be reduced to three use cases:
- providing additional functionality
- conforming to a particular design / typesetting specification
- shorthand convenience / domain-specific markups created by the authors
The first should be files coming from CTAN and well documented and maintained by the developer, the second should be done by a typesetter _after_ the text is done so as to prepare a document for final format publication, the latter should be maintained by the au
Re: (Score:3)
I maintain my statement. It is a fundamentally hard-to-read language by its very nature because of the lack of any easy-to-parse delineation between markup and content. It is possible—easy even—to write TeX code that would take weeks to unravel enough to fully understand what's going on or debug. Just take a look at any c
Re: (Score:1)
A flexible TeX based system would re-run TeX when the layout changes. Can it be done quickly enough with modern technology? probably yes. Is it worth the trouble? I think the market has spoken and t
Re: (Score:1)
OK, so before I begin, I should state a very big disclaimer that I actually haven't really used any e-readers (I'm too cheap). However, I have thought about what formats to use for typesetting technical textbook-like material, and played around with a couple toolchains a small amount. (I'm also very familiar with Latex.) It would be a useful thing for me to know, so take the following post with a hefty grain of "if you disagree back at me, feel free to give reasons why and I will certainly consider them."
My
Re: (Score:2)
If you don't like LaTeX, take a look at scribble :
http://docs.racket-lang.org/scribble/getting-started.html [racket-lang.org]
Re: (Score:2)
Talking with peers in the TeX world, I find that few professionals are writing in LaTeX directly anymore. LaTeX's typesetting abilities remain sexy, but it is far [better] to keep a document in a semantic markup like Docbook XML, transforming it to LaTeX via an XSL stylesheet only when one wants to produce final print output.
We use this route all the time: DocBook through XSLT through LaTeX to PDF. It's fast, effective, and utterly reliable. I haven't written a document of any significance directly in LaTeX for at least two decades.
Re: (Score:2)
How do you handle complicated math that require special packages in DocBook?
What do you write Docbook in? Surely not direct XML?
I find myself using LaTeX for print documents, and Sphinx for multiformat documents. But I'd be interested to find out if a Docbook based workflow is actually practical for writing mathematical documents.
Re: (Score:1)
I've been slightly interested in toolchains like this, and investigated a little bit AsciiDoc -> Docbook -> Latex -> PDF, but I didn't put a ton of time into it.
How does the flexibility of this approach differ from working right in Latex to when it comes to things like page layout (both margins and placement of floats and images and such), fonts, etc.?
Purpose of LaTeX (Score:5, Insightful)
While there is certainly value in continuous as-you-type output rendering of LaTex, remember that the purpose of LaTeX is typesetting, not word processing. The value is that you describe to (La)TeX how you want things to be rendered and rely upon it doing the right thing, which it nearly always does, beautifully.
You can change something, restructure, re-order, re-design etc. and everything falls perfectly (usually) into place. This is not the case with the WYSIWYG word processing systems--the closest they get to this is the rather limited "styles" presets.
Re: (Score:2)
No I haven't read all the manuals nor memorized the syntax nor wanted to become a TeX guru.
Those who want a tool that is easy to use should use a word processor.
If you read what I wrote you'll see I noted the value of continuous rendering explicitly.
Continuous rendering - instant validation (Score:2)
I think the value of as-you-type rendering is very loosely analogous to that of having automated continuous as-you-type parsing and syntax error highlighting combined with compile/build/test cycle
Re: (Score:2)
Indeed. When I first started using LaTeX (1992), it reminded me when I first started using computers (1979). Writing (card punching) some code, sending it off to be compiled, then running another time to get the output. Compilers used to be all-or-nothing, start each time from scratch. Find an error, attempt to fix it, and start over again. Now if I use modern IDE, even Eclipse, I see much of this process with each keystroke. The compiler is different now--able to make incremental changes on the fly.
Re: (Score:2)
What you describe you can do in Emacs with AUCTeX [gnu.org]. I believe JEdit has something similar.
Re: (Score:2)
Well sort of. The big problem is that there is no iterative compiler for TeX. AucTeX can give you some syntax checking, but far from complete. The preview feature for snippets of code "works", but you lose the document as a whole. I want to be able to press a key in Emacs in the middle of some 100 page document and immediately see the effect *on the whole document* in a parallel window...
Re: (Score:3)
I do believe some people are working on that, but actually with the speed of today's machines you can compile most documents (even fairly large documents) in about 1-2 seconds tops, of course depending on your machine. On my notebook it is almost instantaneous for documents of 10 pages in length. Thus you can just put a view buffer (xdvi window) on auto refresh and have autosave set to 10 seconds with a compile hook and you get very good results, but with a lag that you might not find acceptable.
It might be
ShareLaTeX (Score:1)
Other options (Score:1)
SpanDeX Site Integration [spandex.io]
Always good to spread the news about the rapidly-expanding cloud-based LaTeX options, but there are many and there should be as much exposure to the l
.eps files not yet supported (Score:3)
\includegraphics[width=0.49\textwidth]{numiter.eps}
When I tried to upload the numiter.eps file, I am getting a message that it has an unsupported extension.
-Matyas
Re: (Score:2)
Thanks from us at WriteLaTeX (Score:2)
Re:Internet Age (Score:4, Interesting)
When I was in college and enamored with all things OSS I tried really hard to get into LaTeX. But it seems to me that as time progresses and our method of interacting with our computers via GUIs is more entrenched that it's kind of a dying notion. Of course, there are people who still use it (and will undoubtedly loudly criticize this post), but I would be willing to wager that it's dwindling.
Certainly not in my experience. On the contrary, what I see of LaTeX is growing. A lot of people who encountered it in college were poorly taught, poorly advised, and were given very poor documentation, and they assumed it was just for math/phys/eng geeks. But the quality of doc has improved massively, and the biggest growth area now is the Humanities, who have outgrown Word and are looking for something more controllable.
Re:Does it work with Scientic (sic) Workplace? (Score:1)
If you can upload that style file (tcilatex.sty? it's been a while since I had a Scientific Workplace job) into the system, then yes, you'll be able to work in your comfortable GUI, upload your mangled files filled w/ ugly little hacks and others will be able to edit them. So long as none of your collaborators are offended enough by the ugly little bits which SWP adds to the source to take them out, you'll be able to d/l their changes and continue to work in SWP.
Really though, you should dump all your files
Re: (Score:1)
I edit all my LaTeX source in Emacs, which will still be around long after this is gone. I'll protect my muscle-memory investment with Emacs.
Same here...used Emacs and LaTeX throughout my Grad school....gosh just cann't imagine how would I have completed my PhD dissertation with all those freaking equations if it were not for the LaTeX. Now in corporate world its all dammed M$hit Office.