This sample is no longer maintained. No further updates will be made.
A cloud LaTeX editor. Live at drivetex.appspot.com. Inspired by LaTeX Lab by Bobby Soares.
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
.tex
file 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!
- 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 login
gcloud config set project drivetex
npm install
grunt cleanDeps
grunt
cd public; http-server
- Visit http://localhost:8080/
gcloud preview app deploy public/app.yaml --version=3 --promote
DriveTeX makes use of many high quality open source libraries, including:
- texlive.js (Many thanks to Manuel for his support!)
- Polymer
- CodeMirror
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.