Skip to main content
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.6 (2017-02-26)

  • Fix bug where temp files has not finished writing before calling latexdiff

1.0.5 (2017-02-21)

  • Fix crash when LaTeX commands were used in pre-notes and post-notes

1.0.4 (2015-06-08)

  • Minor readme/doc changes

1.0.0 (2015-06-08)

  • First release on PyPI.

Release files for latexdiffcite 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for latexdiffcite 1.0.6
File Size Uploaded
latexdiffcite-1.0.6.tar.gz 103.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for latexdiffcite 1.0.6
File Interpreter ABI Platform
latexdiffcite-1.0.6-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 118.3 kB

Release files / latexdiffcite-1.0.6.tar.gz

Download URL latexdiffcite-1.0.6.tar.gz
Size 103.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5a248e732d8791f3977c5c83fdb7cf2e381bb490d0903dfe680b726c4bb88166
BLAKE2b-256 checksum
How to use checksums
11b97325de3ae6ed0b619bbc6c0dcdd496b8cb0a5267e1c13ed56b14e1dbe244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / latexdiffcite-1.0.6-py2.py3-none-any.whl

Download URL latexdiffcite-1.0.6-py2.py3-none-any.whl
Size 14.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cbb138f9df8f62f8dad1801591ffb9e09bedb212dce1d57164f363313b36f23e
BLAKE2b-256 checksum
How to use checksums
45e19473355d8fd7aea4ef863b6208d11b763ef16f752379997848d8e4c3c6e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page