Deprecated
This sample is no longer maintained. No further updates will be made.
DriveTeX
A cloud LaTeX editor. Live at drivetex.appspot.com. Inspired by LaTeX Lab by Bobby Soares.
User Manual
Right now, it's a little bit more difficult to get started with DriveTeX that it ought to be.
- Go to drivetex.appspot.com. If this is your first visit, you'll be prompted to authorize DriveTeX to access Google Drive files that you specifically give permission to access.
- Visit drive.google.com. (If you just authorized DriveTeX, you might have to reload.)
Find a
.texfile to edit, right click, "Open With" -> DriveTeX. - Your file opens up in the DriveTeX editor. You can make changes, save and generate a preview.
If you find that your situation doesn't work with DriveTeX (multiple source files, additional LaTeX plugins, etc.), let me know!
Getting started with development
One-time system setup
- Install npm
- Windows or Mac: Download NodeJS
- Ubuntu/Debian:
sudo apt-get install npm - Depending on your system setup, you may want to reference this StackOverflow answer about installing NPM global packages without administrative priviledge and this one about
node: command not found
npm install -g bower grunt-cli http-server- Install Google Cloud SDK (only needed for pushing to production)
gcloud auth logingcloud config set project drivetex
Clean repo build
npm installgrunt cleanDepsgrunt
Test locally
cd public; http-server- Visit http://localhost:8080/
Deploy to App Engine
gcloud preview app deploy public/app.yaml --version=3 --promote
Open Source Credits
DriveTeX makes use of many high quality open source libraries, including:
- texlive.js (Many thanks to Manuel for his support!)
- Polymer
- CodeMirror
Disclaimers and Licensing
This is not an official Google product (experimental or otherwise), it is just code that happens to
be owned by Google. It is licensed under
Apache 2.0;
see the LICENSE file for full details.