154 points · by ot · 14y ago · 62 comments
I am aiming for a fermium model at the moment, deep down I want to offer free a service which helps people collaborate on important work. Ideally with premium accounts subsidising a free but fully functional accounts. i.e. help people work together first, make a living second.
few buzzwords for people: > MongoDB/mongolab, > 100% CoffeeScript, > Node.js, > Now.js/socket.io, > Twitter bootstrap, stole css for menu bar from nide https://github.com/coreh/nide > S3 > Linode > loggy.com
So you'll have half as much traffic in 100.5 days? :)
More seriously, this looks awesome. I do all almost all of my writing in LaTeX, including papers, presentations, and random other documents. I've tried to collaborate on LaTeX documents before, but unlike many other types of text documents, the collaboration didn't work very well: the editors that could do collaboration didn't integrate with rapid compilation and previewing, and the editors that do rapid compilation and previewing don't do collaboration.
Have you considered using PDF.js to display the PDF in real-time in the browser next to the LaTeX document? Put that together with something like SyncTeX, and you could show your (or everyone's) current cursor position in the rendered document in real-time. Various tricks also exist to render LaTeX documents more quickly to allow for real-time previewing, such as those used in WhizzyTeX http://cristal.inria.fr/whizzytex/ .
Integration between the BibTeX bits and some form of online reference tracking would make a lot of sense: hit one bookmarklet or browser plugin button on a paper you want to reference, and end up with a new reference in your .bib file.
The biggest question I immediately have: how well does this handle documents that need random packages you don't already have in your TeX installation? From Beamer and TikZ to conference and journal styles to random obscure formatting packages, I don't want to find out in a crunch that I can't easily use any package I need. Do you have any compatibility issues with random TeX and LaTeX packages, perhaps due to the need to run them in a secure server environment? Do I have to add all the individual packages into my project, or can I have them as common elements across my projects? Similarly, can I share my own .bib files and packages across projects?
On that note, what about images and arbitrary data files I might need to include, such as from \includegraphics or
What TeX implementation do you use behind the scenes? TeXLive, I hope?
How do I know what versions you use? What happens when you upgrade? TeX itself might keep backward compatibility forever, but random LaTeX packages don't always maintain that property.
First-impression question: why do you ask for my first and last name, rather than just an email address and password? Do you want it to fill in \author{} automatically? Please say up front what you need it for. Either way, never ask for "first name" and "last name", just ask for "full name", which will work for more people. http://www.w3.org/International/questions/qa-personal-names
I have looked into pdf.js and semi implemented it however it was only really worth it for firefox users, other browsers generally had a better experience natively, not that I am ruling it out forever but at the time I went for keeping it simple.
Seeing others cursors would be great. I am using the ace editor and that does not natively suport more than once cursor atm, if I had more time I may implement it myself but to be honest it is not going to happen in the very short term.
behind the scenes it is just a fully instance of tex-live 2011 which should cover 95% of needs. For other packaged which are available I am hoping people request them for the moment and I install them, for obvious reasons I am wary of allowing people the ability to install global packages on my server.
On first name and last name, you are right not really needed, same goes for email confirmation. I have been planning on killing those for a while but just hasn't happened!
I definitely wouldn't suggest that you allow people to install new packages globally. However, TeX supports personal LaTeX paths, so users could have their own path with whatever extra packages they needed. (Also, if you ever decide to provide paid-account-only features, that seems like a prime candidate.)
TeXLive definitely covers most needs. Beamer and TikZ represent the biggest things I regularly want that TeXLive doesn't include, and would want to install to a non-project-specific location (since they both have big piles of interacting packages). Other bits, like conference and journal styles, usually come as a single .sty or .cls file that I could easily enough just drop in my project if necessary.
One more thought: I desperately want this to integrate with git, since I version-control almost all of my LaTeX documents.
Something I'm wondering about: I currently use vim-latexsuite which has a bunch of expansion features. For instance, if you type '^^' it expands to '^{<++>}<++>', where the '<++>' are jump markers, and then 'jumps' into the first marker. So if I wanted to type e.g., 'e^{-x/2}', the keystrokes I'd use would be 'e ^ ^ - x / 2 CTRL-J'.
I'm not sure how you'd do the something similar, but the combination of jump markers and user-defined expansions (e.g., I can define 'QQ' -> '\mathbb{Q}', 'fN' -> 'function', '`/' -> '\frac{<++>}{<++>}<++>' or even 'pmABCD' -> '\begin{pmatrix} a & b \\ c& d \end{pmatrix}' ) saves an enormous amount of time writing TeX.
Out of curiosity, why do all these in your editor rather than in TeX? For example, `\def\QQ{\mathbb Q}` would work just fine, and be only one more keystroke. (The third example could be made into a parametrised macro, but `\frac` is already such a macro, so I guess that you're really valuing the keystrokes.)
For the others, it is really about the keystrokes -- one has to be able to type really fast to keep up in a lecture or a talk, and then once you've optimized for speed, why not type that quickly all the time?
I am an avid vim user and I would also love more powerful bindings.
Very cool site, though. Google docs for latex is a very useful offering. Thanks!
A demo is up and running at http://docs.latexlab.org/
* not affiliated with the project in anyway, just remember using it awhile back.
- unlimited private projects / free accounts only have public projects like cloud9 - multiple compilers - unlimited collaborators per project - background compile looking for errors - git pull access
any other ideas are welcome.
A really sweet potential feature request: dropbox integration. Then I could work on my dissertation from anywhere, and always have a few extra backups.
I did write a makefile to do the monotonous stuff for me (create pdf, generate figures with graphviz, fetch bibtex from zotero, etc). one of those instances of procrastination instead of writing which i can at least justify.
http://www.ieee.org/conferences_events/conferences/publishin...
I did upload the class file and the document points to it explicitly.
You can check out the errors here: https://www.sharelatex.com/project/4f2cc71be369403e73004116 (awesome that I can do this!)
This is really great, I'm going to tell all of my academic friends/collaborators about it. This is a _huge_ improvement over version control (for non-geeks) or Dropbox sharing, not to mention email, which a shocking number of people seem to still use.
That said, it would be nice to be able to download the files with one click, sync with dropbox, and maybe have support for versions or diffs?
There is no version control at the moment. I am working on how to implement this and diffs in a user friendly way soon. Basically git is not the answer for collaborative LaTeX in my option, a different more dynamic and simpler way is needed which I am working on.
This sounds very interesting. Could you elaborate at all, particularly on what 'more dynamic' means?
Stolen from another comment I made about writing latex:
"writing LaTeX is different from code for many reasons, for one if you write a new class in e.g. c# all other classes do not care about the implementation, just what can the put in and what do they get out. With LaTeX that doesn't work, you duplicate yourself and get the narrative in the wrong order, they are very different paradigms."
Basically other systems have this down, classically google docs and either pad, but they are just for normal text. I would love to be able to have a wrapped git blame on the site, one you can see in real time.
Awesome job BTW.
£10 says it goes down in the next 6 hours.
I'm bored this w/e, so do get in touch and let me know if I can lend a hand with some back-end systems tuning ... email, or via the phone number on m'webshite (also on devwiki, under "contact numbers" IIRC)
FWIW, I just imported a document I'm working on to check things out. It gives a bunch of warnings (underfull \hbox) but other than that works fine on my system -- on your site, however, I can't get to the PDF, it keeps jumping to the Logs screen with the warnings...
The site is secure but can always do better.
Looking forward to giving it a spin!