mo2tex - A pure ruby monteore-to-latex, ical and pic table generator
mo2tex is a pure ruby monteore-to-latex, ical and pic table generator
Installation
Install the gem and add to the application's Gemfile by executing:
$ bundle add mo2tex
If bundler is not being used to manage dependencies, install the gem by executing:
$ gem install mo2tex
Configuration
You will have to write a yaml configuration file before using mo2tex.
Please check the example provided for a sample configuration file.
Usage
After installation, you should be able to run:
$ m2l <config file> # this should create a latex file on standard out with your monteore listing
Please check the example provided for a configuration file.
$ m2c <config file> > <ical calendar file> # this should create an ical file on standard out which you can upload anywhere fitting
$ m2p <config file> | groff -p -mpic -Tpdf -P-pa4 # this should create a pdf file on standard out with a table of the lessons
Development
After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.
Contributing
Bug reports and pull requests are welcome on Gitlab at https://gitlab.com/SMELAT/mo2tex.