Code Monkey home page Code Monkey logo

latexdiffcite's Introduction

Help wanted!

I lack both the time and interest to maintain and develop latexdiffcite further. Give me a holler if you want to take over.

Documentation Status PyPI Package latest release PyPI Package monthly downloads Supported versions
Travis-CI Build Status AppVeyor Build Status Coverage Status Code Quality Status Scrutinizer Status

What is latexdiffcite?

latexdiffcite is a wrapper around latexdiff to make citations diff properly:

https://latexdiffcite.readthedocs.org/en/latest/_images/illustration.png

latexdiffcite is a wrapper around latexdiff which, before calling latexdiff, replaces (in temporary files!) citation commands such as \cite{...} with written-out formatted references. It does this by looking up references in a corresponding .bib file or .bbl file and formatting them according to a user-specifiable configuration. latexdiff will then properly mark changes in the citations. The citation format can be heavily customized to match what you are already getting from LaTeX/BibTeX.

Quick start

latexdiff is required, but you of course already have that installed and working, right? :-)

Install with pip:

pip install latexdiffcite

To compare two .tex files on disk, use the file subcommand like this:

latexdiffcite file FILE_OLD FILE_NEW

To compare two revisions (commit hash, tag, branch, etc.) of a .tex file in a git repository, use the git subcommand like this:

latexdiffcite git FILE REV_OLD [REV_NEW] [FILE_NEW]
  • REV_OLD and REV_NEW can be commit hashes, tags, branches, etc.
  • REV_NEW is optional, and defaults to HEAD (the latest committed version).
  • FILE_NEW is optional, and is used when the new filename/path is different than the old

Documentation

For customization and advanced usage, see latexdiffcite.readthedocs.org.

latexdiffcite's People

Contributors

cmeeren avatar twilsonco avatar tkmim avatar ionelmc avatar movermeyer avatar

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.