-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bib resource finding, subprocess call, and upcoming deprecation (#13
) * add tests for commands inside pre- and postnotes * fix #2 * fix doc links * fix docs * update some testenvs to python3.5 * Bump version: 1.0.4 → 1.0.5 * use 2.7 instead of 3.5 for general test envs * remove coverage tests on travis to avoid fails * Update changelog * Fix #3 * Update CHANGELOG.rst * Bump version: 1.0.5 ? 1.0.6 * Update README.rst * Switched broken pypip.in badges to shields.io (#8) * Fix crash when no authors present Updated `make_author_year_tokens_from_bib()` so that bib items that don't have authors (e.g. books with editor lists) are still handled correctly. Also moved some re.compile() calls outside the loop for efficiency. * print useful errors for missing author/year data in bib item * scan for \addbibresource & allow mutliple files * fix run_latexdiff command arguments and error capturing * fix invalid escape sequence (deprecated in Python 3.12) and other minor style fixes --------- Co-authored-by: Christer van der Meeren <[email protected]> Co-authored-by: Christer van der Meeren <[email protected]> Co-authored-by: Michael Overmeyer <[email protected]> Co-authored-by: Tim Wilson <[email protected]>
- Loading branch information
1 parent
986bedc
commit 6661665
Showing
20 changed files
with
102 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,13 @@ Bug reports, feature suggestions and other contributions are greatly appreciated | |
Short version | ||
============= | ||
|
||
* Submit bug reports and feature requests at `GitHub <https://github.com/cmeeren/latexdiffcite/issues>`_ | ||
* Submit bug reports and feature requests at `GitHub <https://github.com/cmeeren/latexdiffcite/issues>`__ | ||
* Make pull requests to the ``develop`` branch | ||
|
||
Bug reports | ||
=========== | ||
|
||
When `reporting a bug <https://github.com/cmeeren/latexdiffcite/issues>`_ please include: | ||
When `reporting a bug <https://github.com/cmeeren/latexdiffcite/issues>`__ please include: | ||
|
||
* your operating system name and version | ||
* any details about your local setup that might be helpful in troubleshooting | ||
|
@@ -32,12 +32,12 @@ Feel free to add additional configuration examples. This should include, in the | |
* an example ``.tex`` file | ||
* the output `latexdiffcite` would produce after replacing citation commands | ||
|
||
Please run your JSON through a `JSON validator and formatter <http://jsonlint.com>`_ before adding it to the docs. | ||
Please run your JSON through a `JSON validator and formatter <http://jsonlint.com>`__ before adding it to the docs. | ||
|
||
Feature requests and feedback | ||
============================= | ||
|
||
The best way to send feedback is to file an issue at `GitHub <https://github.com/cmeeren/latexdiffcite/issues>`_. | ||
The best way to send feedback is to file an issue at `GitHub <https://github.com/cmeeren/latexdiffcite/issues>`__. | ||
|
||
If you are proposing a feature: | ||
|
||
|
@@ -50,7 +50,7 @@ Development | |
|
||
To set up `latexdiffcite` for local development: | ||
|
||
1. Fork `latexdiffcite` on `GitHub <https://github.com/cmeeren/latexdiffcite/fork>`_. | ||
1. Fork `latexdiffcite` on `GitHub <https://github.com/cmeeren/latexdiffcite/fork>`__. | ||
2. Clone your fork locally:: | ||
|
||
git clone [email protected]:your_name_here/latexdiffcite.git | ||
|
@@ -61,7 +61,7 @@ To set up `latexdiffcite` for local development: | |
|
||
Now you can make your changes locally. If you add functionality, also add a test in ``tests/test_latexdiffcite.py``. The tests are run with ``py.test`` and can be written as normal functions (starting with ``test_``) containing a standard ``assert`` statement for testing output. | ||
|
||
4. When you're done making changes, run all the checks, doc builder and spell checker with `tox <http://tox.readthedocs.org/en/latest/install.html>`_:[1]_ :: | ||
4. When you're done making changes, run all the checks, doc builder and spell checker with `tox <http://tox.readthedocs.io/en/latest/install.html>`__:[1]_ :: | ||
|
||
tox | ||
|
||
|
@@ -85,7 +85,7 @@ For merging, you should: | |
3. Add yourself to ``AUTHORS.rst``. | ||
|
||
.. [1] If you don't have all the necessary python versions available locally you can rely on Travis -- it will | ||
`run the tests <https://travis-ci.org/cmeeren/latexdiffcite/pull_requests>`_ for each change you add in the pull request. It will be a bit slower than testing locally, though. | ||
`run the tests <https://travis-ci.org/cmeeren/latexdiffcite/pull_requests>`__ for each change you add in the pull request. It will be a bit slower than testing locally, though. | ||
Tips | ||
---- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
|
||
__version__ = '1.0.4' | ||
__version__ = '1.0.6' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.