Citeproc-py

Latest version: v0.5.1

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.5.1

~~~~~~~~~~~~~~~~~~~~~~~~~~

Bug fixed:

* avoid rnc2rng 2.6.2 which breaks installation of citeproc-py

0.5.0

~~~~~~~~~~~~~~~~~~~~~~~~~~

Enhancements:

* handle commas and ampersands in a functional style
* Number: handle commas and ampersands
* added symbol for textquotesingle
* specify fallback locales for fr-CA and es-CL
* improved page number and ranges parsing

Bug fixed:

* don't fail on empty page ranges (90) (bbm)
* detect end of file while parsing incorrect bib (59) (John Vandenberg)

Other changes:

* Removed 3.2-3.4 and added 3.7, 3.8 to supported Pythons
* Refactored locales handling

0.4.0

~~~~~~~~~~~~~~~~~~~~~~~~~~

New features:

* allow specifying the encoding of a BibTeX database file (20 and 25)
* BibTeX 'month' field: support integers and "<month> <day>" values
* BibTeX 'pages' field: support "10", "10+", "10-12" and "10--12" formats
* BibTeX entry types: map the non-standard 'thesis' and 'report' entries
* update the CSL schema to version 1.0.1 (5)
* update the CSL locales to commit 49bf3fc0

Bug fixed:

* avoid crash when there is nothing to affix (David Lesieur)
* fix BibTeX month to CSL month mapping (24)
* strip leading/trailing whitespace from BibTeX values (37)

0.3.0

~~~~~~~~~~~~~~~~~~~~~~~~~~

Major improvements to the BibTeX parser:

* split names into parts and assign them to the equivalent CSL name parts
* fixed handling of accent macros and escaped characters
* more compatible (La)TeX macro handling in general (but still basic)
* handle standard Computer Modern ligatures such as --, ---, and <<
* added unit tests for the BibTeX and LaTeX parsers

Other changes:

* disable RelaxNG validation of CSL styles by default (API change)

0.2.0

~~~~~~~~~~~~~~~~~~~~~~~~~~

* bad cite callback function can determine how a bad cite is displayed (hetsch)
* added option to disable RelaxNG validation (Jasper Op de Coul)
* distutils was replaced with setuptools (Joshua Carp)
* bug fixes (Yaroslav Halchenko, David Lesieur)
* CitationStylesBibliography.bibliography() now returns the list of entries

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.