A small utility to generate LaTeX diffs from Org files.
Install by cloning this repository and from the root directory issuing:
gem install org-diffTo generate the LaTeX diff between two Org files, issue
org-diff fileA.org fileB.orgTo instead generate the LaTeX diff for the same Org file, but for different Git revisions, issue
org-diff git file.org revA [revB]where the second revision is optional (HEAD by default), e.g.
org-diff git file.org HEAD~1will compare the current revision of file.org with the previous
one. Alternatively, you can use the provided Git plugin to the same
effect:
git org-diff file.org HEAD~1After checking out the repo, run bin/setup to install
dependencies. 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 tags, and
push the .gem file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/jagot/org-diff.