28 Commits

Author SHA256 Message Date
5ba099781c Accepting request 1289259 from Publishing
OBS-URL: https://build.opensuse.org/request/show/1289259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybtex?expand=0&rev=20
2025-07-01 09:34:09 +00:00
9acf58e154 Accepting request 1174785 from Publishing
OBS-URL: https://build.opensuse.org/request/show/1174785
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybtex?expand=0&rev=19
2024-05-17 18:06:29 +00:00
Martin Pluskal
f88b0d3c87 Accepting request 1174636 from home:dimstar:Factory
- Use %autosetup macro: allows us to eliminate usage of deprecated
  %patchN syntax.

OBS-URL: https://build.opensuse.org/request/show/1174636
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=24
2024-05-17 08:03:23 +00:00
2817ce8ec3 Accepting request 1070072 from Publishing
OBS-URL: https://build.opensuse.org/request/show/1070072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybtex?expand=0&rev=18
2023-03-08 13:53:32 +00:00
Martin Pluskal
ad57e23f4e Accepting request 1069871 from home:pgajdos:python
- do not require python-six
- added patches
  fix 6afabe217a
  + python-pybtex-no-six.patch

OBS-URL: https://build.opensuse.org/request/show/1069871
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=22
2023-03-08 07:30:27 +00:00
a689d725f8 Accepting request 923516 from Publishing
OBS-URL: https://build.opensuse.org/request/show/923516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybtex?expand=0&rev=17
2021-10-06 17:50:00 +00:00
Martin Pluskal
3587d7d818 Accepting request 922255 from home:StevenK:branches:Publishing
- 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
2021-10-06 13:57:29 +00:00
644421906a Accepting request 839118 from Publishing
- 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
2020-10-02 15:40:37 +00:00
Martin Pluskal
fc29550b13 - Do not ship tests
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=19
2020-10-02 08:44:14 +00:00
Martin Pluskal
077c0045ca Accepting request 835009 from home:dirkmueller:branches:Publishing
- 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
2020-09-18 12:30:06 +00:00
38ea9e8b21 Accepting request 807689 from Publishing
OBS-URL: https://build.opensuse.org/request/show/807689
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybtex?expand=0&rev=15
2020-05-23 15:26:56 +00:00
Martin Pluskal
c3fc600ece Accepting request 807608 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/807608
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=16
2020-05-20 11:43:13 +00:00
f705650d64 Accepting request 561638 from Publishing
- 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
2018-01-07 16:22:44 +00:00
Martin Pluskal
562d48fb6d - Needs to go along sr#561628
- Update to version 0.21:
- Convert to singlespec

OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=14
2018-01-04 13:15:57 +00:00
d9088cf062 Accepting request 349284 from Publishing
1

OBS-URL: https://build.opensuse.org/request/show/349284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybtex?expand=0&rev=13
2015-12-23 07:49:43 +00:00
OBS User mrdocs
9049eac40c Accepting request 347802 from home:nemysis:branches:Publishing
Please accept these changes.

OBS-URL: https://build.opensuse.org/request/show/347802
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=12
2015-12-17 06:42:07 +00:00
Stephan Kulow
ce31e3f805 Accepting request 316320 from Publishing
1

OBS-URL: https://build.opensuse.org/request/show/316320
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybtex?expand=0&rev=12
2015-07-14 15:44:29 +00:00
OBS User mrdocs
b633dc30f0 Accepting request 316312 from home:nemysis:branches:Publishing
Please accept these changes.

OBS-URL: https://build.opensuse.org/request/show/316312
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=10
2015-07-12 21:14:21 +00:00
Stephan Kulow
886f481e5e Accepting request 246434 from Publishing
- 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
2014-08-27 05:46:28 +00:00
Guido Berhoerster
27cd75c57d - 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/package/show/Publishing/python-pybtex?expand=0&rev=8
2014-08-26 07:10:25 +00:00
Stephan Kulow
5badc24c6d Accepting request 235424 from Publishing
- 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
2014-05-27 10:02:38 +00:00
Guido Berhoerster
671a2fa3b7 - update to version 1.3
* 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
2014-05-26 15:22:34 +00:00
Stephan Kulow
c7befc8752 Accepting request 121171 from Publishing
- 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
2012-05-16 19:09:17 +00:00
Guido Berhoerster
059e316de7 - 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/package/show/Publishing/python-pybtex?expand=0&rev=4
2012-05-16 10:46:08 +00:00
8234b5614d Autobuild autoformatter for 74783
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybtex?expand=0&rev=2
2011-07-01 15:00:32 +00:00
ff2332b0a1 Accepting request 74783 from Publishing
Please add python-pybtex, a BibTeX drop-in replacement, bibliography format converter which includes a python interface to bibliography formats

OBS-URL: https://build.opensuse.org/request/show/74783
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybtex?expand=0&rev=1
2011-07-01 15:00:07 +00:00
Guido Berhoerster
518db9ba92 - update to version 0.15
- 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
2011-06-13 16:51:04 +00:00
Pavol Rusnak
daf536a1b1 Accepting request 57614 from home:gberh
OBS-URL: https://build.opensuse.org/request/show/57614
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=1
2011-02-09 17:22:41 +00:00

Diff Content Not Available