- Update to 0.24.0:
* Added support for sup and sub tags to LaTeX and Markdown backends.
* Added support for @online entries and the urldate field.
* Fixed bugs in the example plugin.
* Fixed bad get_default_encoding() call.
* Reimplemented pybtex.utils.OrderedCaseInsensitiveDict using
collections.OrderedDict (so it has a __delitem__).
* unsrt.py now supports type when formatting phdthesis.
* Added from_string to pybtex.database.BibliographyData.
* Added from_string and to_string to pybtex.database.Entry.
* Preserve order in pybtex.utils.OrderedCaseInsensitiveDict.__repr__.
* Fixed entries with duplicate keys being removed during sorting.
* Fixed handling of duplicate person fields
* Use xml.etree.ElementTree instead of the deprecated cElementTree.
* Import base classes from collections.abc instead of collections.
* Use __iter__ instead of deprecated Element.getchildren().
- Switch to using pytest to run tests, and run the testsuite.
OBS-URL: https://build.opensuse.org/request/show/922255
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=21
- Do not ship tests
- update to 0.22.2:
* Fixed compatibility with Python 2 and older versions of Python 3.
* Fixed non-working ``--backend`` option with ``pybtex -l python``.
* Fixed handling of duplicate fields in ``.bib`` biles.
* BibTeX parser is now up to 10% faster on some files.
* Fixed parsing of names with ``\~`` characters.
* Fixed formatting proceedings without an ``editor`` field in ``unsrt.py``.
* In case of too many braces in a BibTeX string, ``PybtexSyntaxError`` is now raised instead
* Dropped ``2to3``, made the code compatible with both Python 2 and 3 with Six_.
* Moved tests outside of the ``pybtex`` package.
* Fixed searching in docs with recent versions of Sphinx_.
* API: renamed ``bibtex.BibTeXEntryIterator`` to ``bibtex.LowLevelParser`` for clarity.
* API: removed confusing usage of ``Person.text`` in ``tempate.names``.
* API: ``Entry.fields`` does not automagically look for cross-referenced entries
+ anymore.
OBS-URL: https://build.opensuse.org/request/show/839118
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybtex?expand=0&rev=16
- update to 0.22.2:
* Fixed compatibility with Python 2 and older versions of Python 3.
* Fixed non-working ``--backend`` option with ``pybtex -l python``.
* Fixed handling of duplicate fields in ``.bib`` biles.
* BibTeX parser is now up to 10% faster on some files.
* Fixed parsing of names with ``\~`` characters.
* Fixed formatting proceedings without an ``editor`` field in ``unsrt.py``.
* In case of too many braces in a BibTeX string, ``PybtexSyntaxError`` is now raised instead
* Dropped ``2to3``, made the code compatible with both Python 2 and 3 with Six_.
* Moved tests outside of the ``pybtex`` package.
* Fixed searching in docs with recent versions of Sphinx_.
* API: renamed ``bibtex.BibTeXEntryIterator`` to ``bibtex.LowLevelParser`` for clarity.
* API: removed confusing usage of ``Person.text`` in ``tempate.names``.
* API: ``Entry.fields`` does not automagically look for cross-referenced entries
+ anymore.
OBS-URL: https://build.opensuse.org/request/show/835009
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=18
- Update to version 0.21:
* BibTeX writer now uses latexcodec to encode characters that are
not directly supported by the output encoding. Thanks, Hong Xu!
* HTML backend: {braced stings} are now wrapped with
<span class="bibtex-protected"> to enable custom CSS styling.
* unsrt.py: DOI, PubMed and Arxiv links now use HTTPS instead of
HTTP.
* unsrt.py: URLs with percent characters are now formatted
correctly.
* unsrt.py: short page / volume / chapter numbers are now joined
with a non-breaking space, like in BibTeX.
* unsrt.py: inbook now uses the editor field if the author field
is missing, like in BibTeX.
* unsrt.py: the words “volume” and “pages” in the beginning of
the sentence are now capitalized, like in BibTeX.
* unsrt.py: removed unnecessary period between the book title and
the comma in inbook.
* LaTeX backend: fix encoding tilde ("~") characters with newer
versions of latexcodec.
* Fix splitting names with escaped space ("\ ") characters.
- Convert to singlespec
OBS-URL: https://build.opensuse.org/request/show/561638
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybtex?expand=0&rev=14
- update to version 0.18
- Pybtex is now fully case-insensitive (like BibTeX). As a
consequence, IEEEtran styles now work corretly.
- Added ``--preserve-case`` optoin to ``pybtex-convert`` (by
default all identifiers are converted to lower case).
- An erorr is reported if two citations have the same key but
different case, like in BibTeX. (Example: ddt1999 and DDT1999).
- Fixed parsing unused bibliography entries with strings
containing @ characters.
- ``entry.max$`` constant is now set to 250, ``global.max$`` is
set to 20000, like in BibTeX.
- Added ``--strict`` option to ``pybtex-convert`` and
``pybtex-format`` (turns warning to errors).
- Strict mode is now enabled by default when using pybtex as a
library (exceptions are raised on all errors instead of just
printing warnings to stderr).
Non-strict error handling is still enabled when using pybtex
from the command line, for compatibility with BibTeX. Use
``--strict`` option if you don't like this.
- Added missing pybtex-format manpage.
OBS-URL: https://build.opensuse.org/request/show/246434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybtex?expand=0&rev=10
- Pybtex is now fully case-insensitive (like BibTeX). As a
consequence, IEEEtran styles now work corretly.
- Added ``--preserve-case`` optoin to ``pybtex-convert`` (by
default all identifiers are converted to lower case).
- An erorr is reported if two citations have the same key but
different case, like in BibTeX. (Example: ddt1999 and DDT1999).
- Fixed parsing unused bibliography entries with strings
containing @ characters.
- ``entry.max$`` constant is now set to 250, ``global.max$`` is
set to 20000, like in BibTeX.
- Added ``--strict`` option to ``pybtex-convert`` and
``pybtex-format`` (turns warning to errors).
- Strict mode is now enabled by default when using pybtex as a
library (exceptions are raised on all errors instead of just
printing warnings to stderr).
Non-strict error handling is still enabled when using pybtex
from the command line, for compatibility with BibTeX. Use
``--strict`` option if you don't like this.
- Added missing pybtex-format manpage.
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=8
- update to version 0.17
- Added pybtex-format utility for formatting bibliography files
as HTML, LaTeX, and other supported human-readable formats.
- Added --strict command line option (all warnings become
errors).
- Added alpha label style, and alpha and unsrtalpha formatting
styles.
- Added support for url, eprint, doi, and pubmed fields in unsrt
style.
- Names with hyphens are now abbreviated correctly
("Jean-Baptiste" becomes "J.-B.").
- width$ now uses cmr10 font metrics, like in BibTeX. Non-latin
characters are also supported.
- Pythonic style engine now supports @preamble commands.
- Warning on missing fields are now more human-readable.
- When writing BibTeX files, put entry key on the same line with
entry type. Fixes warnings in Jabref.
- When using multiple .bib files, macros defined in earlier files
are available in subsequent ones (like in BibTeX).
- Fixed parsing .bst files with lines consisting of a single %
character.
- Fixed sorting entries without author in author_year_title
sorting style.
- Fixed broken CaseInsensitiveDict.get().
- CaseInsensitiveDict is now pickleable.
- Added support for registering plugins at runtime with
pybtex.plugin.register_plugin() - useful for using pybtex as a
library.
OBS-URL: https://build.opensuse.org/request/show/235424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybtex?expand=0&rev=9
* Windows RT viewer app for MuPDF.
* Library changes to support progressive loading (display PDF
files as they download). Windows/Linux/MacOS viewer supports
this using curl.
* Incremental updates to PDF files are now (optionally) preserved
on loading/saving.
* Prototype support for checking PDF Digital Signatures.
* Initial annotation support (strike-out, underline, highlight
and ink) (library and android builds only).
* Fix operation on Android API level 8.
* Android redraw optimisations.
* Android app now supports Google Cloud Print.
* Android app translated into many languages.
* Android support for more architectures.
* Improvements to store (avoid collisions causing unnecessary
evictions).
* Windows apps use Unicode filenames now.
* PDF function handling improved; functions can now be passed to
devices without 'sampling'.
* PDF image handling improved; images can now be passed to
devices without decompression.
* Indexed images are no longer uncompressed at load time, saving
memory.
* Caching of rendered tiles for speed.
* Improved text analysis mode, capable of spotting
columns/indents, right-to-left text etc.
* HTML output mode now includes image output.
* PDF password encoding handling improved.
* MuPDF now opens Jpeg, Tiff and PNG files directly.
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=6
- update to version 0.16
- BibTeX .bib and .bst parsers were completely rewritten; they
are now much faster and more BibTeX-compatible
- syntax errors and undefined strings in .bib files now result in
warnings instead of errors, like in BibTeX
- unused entries in .bib files are now skipped, like in BibTeX
- the case of entry keys is now preserved (in previous versions
they were converted to lowercase)
- pythonic style engine now supports sorting
- pythonic style engine: fixed nested optional() blocks
- fixed parsing of some names with a Last part but no von part
- fixed processing of brace-level-one "special characters" in
purify$ BibTeX built-in function
- added proper error messages on encoding errors in .bib files
- the default encoding is now UTF-8 on all platforms
- pybtex-convert now preserves the order of entries in BibTeX and
BibTeXML files
- fixed first_of behavior when non-empty child is followed by a
child that has a missing field
- fixed crossref lookups when key is not lower case
- completed unsrt and plain python styles: they now contain all
entry types
- added doctree backend for rendering into a tree of docutils
nodes
- added support for non-string backends
OBS-URL: https://build.opensuse.org/request/show/121171
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybtex?expand=0&rev=5
- BibTeX .bib and .bst parsers were completely rewritten; they
are now much faster and more BibTeX-compatible
- syntax errors and undefined strings in .bib files now result in
warnings instead of errors, like in BibTeX
- unused entries in .bib files are now skipped, like in BibTeX
- the case of entry keys is now preserved (in previous versions
they were converted to lowercase)
- pythonic style engine now supports sorting
- pythonic style engine: fixed nested optional() blocks
- fixed parsing of some names with a Last part but no von part
- fixed processing of brace-level-one "special characters" in
purify$ BibTeX built-in function
- added proper error messages on encoding errors in .bib files
- the default encoding is now UTF-8 on all platforms
- pybtex-convert now preserves the order of entries in BibTeX and
BibTeXML files
- fixed first_of behavior when non-empty child is followed by a
child that has a missing field
- fixed crossref lookups when key is not lower case
- completed unsrt and plain python styles: they now contain all
entry types
- added doctree backend for rendering into a tree of docutils
nodes
- added support for non-string backends
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=4
- changed license from GPL-3 to MIT
- when parsing multiple BibTeX files, macros defined in earlier
files are now available to all subsequent files, like in BibTeX
- BibTeX .bst interpreter now prints warnings on missing entries,
like BibTeX, instead of raising a KeyError
- call.type$ BibTeX built-in function now uses default.entry for
unknown entry types, like in BibTeX
- substring$ now accepts start=0 and returns an empty string.
- added more detailed error messages for already defined
variables in .bst files
- bugfixes
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=2