Giter VIP home page Giter VIP logo

drivetex's Introduction

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.

  1. 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.
  2. 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.
  3. 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 login
  • gcloud config set project drivetex

Clean repo build

  • npm install
  • grunt cleanDeps
  • grunt

Test locally

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:

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.

drivetex's People

Contributors

sqrrrl avatar xylo04 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

drivetex's Issues

Upgrade polymer

Grunt is unhappy because Polymer 0.5 is deprecated, but 1.0.0 is not backwards compatible.

Expose the TeX compiler output

Currently TeX compiler output is only available in the JavaScript console. There should be a proper UI element for that.

not able to install drivetex

I was quite eager to try out this code, as I have been looking for a long time for what I think this application provides. However, the instructions for installation that are provided do not seem to work for me. Are they perhaps now obsolete? In particular, the last command: gcloud preview app deploy public/app.yaml --version=3 --promote is what returns errors such as "preview app" now being a deprecated option. When I just type gcloud app deploy public/app.yaml --version=3 --promote, I continue to get errors. Some of the errors suggest that I need to include some kind of [bucket] as part of the options. At that point, I went down a seriously deep rabbit hole, after noticing that the "public" folder was marked as "Migrate to Polymer 1.0" and then trying to learn about Polymer to see if there were alternative ways to get the files installed. Are these files eventually supposed to end up on my Google Drive account? Or reside on the local hard drive of my computer? I'm just confused about what the end-state is supposed to be, and definitely confused as to how to get there. Some help regarding how to install this code (a step-by-step guide would be helpful for a newbie like me) would be greatly appreciated! Thanks!

Could not undump bytes

The first document compile works; every compile after that fails with a mysterious Could not undump bytes error.

Luckily I know a little about this from manuels/texlive.js#26; unluckily, I can't seem to reliably configure App Engine to disallow caching texlive resources.

Add Realtime API

My vision is for DriveTeX to be collaborative, similar to Google Docs.

Support images

texlive.js supports importing image files into the compiled document, but I need to add UI support to enable that.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.