Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Org::Diff

A small utility to generate LaTeX diffs from Org files.

Installation

Install by cloning this repository and from the root directory issuing:

gem install org-diff

Usage

To generate the LaTeX diff between two Org files, issue

org-diff fileA.org fileB.org

To 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~1

will 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~1

Development

After 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.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/jagot/org-diff.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages