Skip to main content

Wrapper around latexdiff to make citations diff properly

Project description

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.

Changelog

1.0.1 (2015-06-08)

  • Minor readme changes

1.0.0 (2015-06-08)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

latexdiffcite-1.0.1.zip (130.1 kB view details)

Uploaded Source

Built Distribution

latexdiffcite-1.0.1-py2.py3-none-any.whl (14.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file latexdiffcite-1.0.1.zip.

File metadata

  • Download URL: latexdiffcite-1.0.1.zip
  • Upload date:
  • Size: 130.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for latexdiffcite-1.0.1.zip
Algorithm Hash digest
SHA256 2d5c646acf3bc2dcb495c72e58b58fdd7981e947a4cb7350898c2db838dcfb91
MD5 fd33d9ef41d251129bf0e842b11d0f50
BLAKE2b-256 cea082837f5d8e9a792966cfcab241918cfee1c7074bd3115f0c83af280148d7

See more details on using hashes here.

File details

Details for the file latexdiffcite-1.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for latexdiffcite-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a8b0357c9ab7c6402f147e470a17f609e189f5bbec3f971c8275a4ade984888a
MD5 d004c7d913f44f8e07b8083977c79fda
BLAKE2b-256 9f67c2dab67736df6ae61c1825c74d5acf2e097d3a6a3be0108d428680f224e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page