Skip to content

nickatomlin/detexify

This branch is 1 commit ahead of, 14 commits behind kirel/detexify:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0654a7a · Sep 17, 2015
Jul 11, 2014
Sep 17, 2015
May 25, 2015
Aug 4, 2014
May 25, 2015
Jul 7, 2014
Jul 11, 2009
Sep 27, 2014
Jul 8, 2014
Jun 25, 2014
Jun 28, 2010
Sep 4, 2010
Jul 13, 2014
Sep 27, 2014
Jun 19, 2009
Jun 25, 2014
Jan 11, 2015
Jul 11, 2014
Jul 11, 2014
Jul 11, 2014
Jul 11, 2014
Jun 28, 2010

Repository files navigation

Detexify (Frontend)

LaTeX symbol classifier as a webservice. This is the frontend. Uses https://github.com/kirel/detexify-hs-backend as the backend.

Setup

  • Install Ruby 2.1.2 and Bundler
  • $ bundle
  • $ bundle exec dotenv middleman

Production setup

This runs the frontend locally using the production backend. It is configured via environment variables. To setup the backend locally see https://github.com/kirel/detexify-hs-backend

Tests

Check if all symbols are compiling: $ rspec spec

Tasks

reminder for myself source ~/.aws

Adding symbols

You need Latex installed!

Symbols are configured in lib/latex/symbols.yml.

  1. Add the symbol
  2. run the tests $ rspec spec
  3. Create a Pull-Request

For me:

  1. generate the symbol sprite $ bundle exec rake symbols:sprite
  2. Redeploy git push heroku master

Populate the backend

$ bundle exec dotenv rake populate (uses TRAINCOUCH to populate CLASSIFIER - see .env for defaults)

License

Copyright (c) 2009 Daniel Kirsch, released under the MIT license, see MIT-LICENSE

About

Latex Symbol Classifier Web Frontend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 64.6%
  • JavaScript 18.0%
  • Ruby 8.5%
  • HTML 7.2%
  • CoffeeScript 1.7%