From aaf9e3719dca3736519341a2c6584b7c88a5e951db2a0109919bd7f2ea1ff004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Tue, 7 Sep 2021 15:04:10 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-citeproc revision:24, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-citeproc?expand=0&rev=28 --- citeproc-0.4.1.tar.gz | 3 --- citeproc-0.5.tar.gz | 3 +++ ghc-citeproc.changes | 56 +++++++++++++++++++++++++++++++++++++++++++ ghc-citeproc.spec | 2 +- 4 files changed, 60 insertions(+), 4 deletions(-) delete mode 100644 citeproc-0.4.1.tar.gz create mode 100644 citeproc-0.5.tar.gz diff --git a/citeproc-0.4.1.tar.gz b/citeproc-0.4.1.tar.gz deleted file mode 100644 index 78cbf6c..0000000 --- a/citeproc-0.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fe7760863c53553154b55babe85d49acba68b5c4b87cf7b311fe470ca7139d24 -size 574411 diff --git a/citeproc-0.5.tar.gz b/citeproc-0.5.tar.gz new file mode 100644 index 0000000..d39aa65 --- /dev/null +++ b/citeproc-0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d37944d39bb92e9f61b4dddb52e7aa12bb171c0f96b62a3a7bf5c12bd47d8792 +size 579769 diff --git a/ghc-citeproc.changes b/ghc-citeproc.changes index 15357e3..b36ce9b 100644 --- a/ghc-citeproc.changes +++ b/ghc-citeproc.changes @@ -1,3 +1,59 @@ +------------------------------------------------------------------- +Sat Aug 21 16:27:59 UTC 2021 - psimons@suse.com + +- Update citeproc to version 0.5. + ## 0.5 + + * Add `linkBibliography` field to `CiteprocOptions` [API change]. + When this is set to True, we hyperlink bibliography entries according + to the draft of the CSL v1.02 spec (Appendix VI). When an entry has + a DOI, PMCID, PMID, or URL available but none of these are rendered + by the style, add a link to the title (or, if no title is present, + the whole entry), using the URL for the DOI, PMCID, PMID, or URL + (in that order of priority). (Benjamin Bray, #88.) + + * In generating citation labels, only use `issued` date. + Not, for example, `accessed` (#80). + + * Citeproc.Locale: export `lookupQuotes`. [API change] + + * Citeproc.Types: Add `localizeQuotes` method to CiteprocOutput class + [API change]. + + * Citeproc.CslJson, Citeproc.Pandoc: Implement `localizeQuotes`. + + * Citeproc: apply `localizeQuotes` after rendering. This ensures + that quotes are properly localized and flipflopped. Previously this + was done in `renderCslJson` (for CSL JSON) and in pandoc + (for Pandoc Inlines). It is more consistent to do this as part + of the rendering pipeline, in citeproc itself. + + * Citeproc.CslJson: Drop the Locale parameter from the signature of + `renderCslJson` [breaking API change]. It was only needed for quote + localization, which now occurs outside of this function. + + * Citeproc.Pandoc: use a Span with class csl-quoted for quotes, + rather than a Quoted inline. This way we can leave Quoted elements + passed in by pandoc alone, and we won't get strange effects like the + one described in #87 (where `"` behaves differently when in + a citation suffix). + + * Default to Shifted with `icu` flag (#83). This makes the library + behave similarly whether compiled with `icu` or with the default + `unicode-collation` and prevents test failures with `icu`. + + * Require recent text-icu with icu flag. + Older versions don't build with newer versions of icu4c. + + * Support links in CslJson (Benjamin Bray). Currently they are + only supported in rendering, not parsing (in support of #88). + + * Allow test cases to specify CiteprocOptions (Benjamin Bray). + + * Update locales from upstream. + + * Add new CSL tests to repository. + ------------------------------------------------------------------- Mon Jul 19 07:06:10 UTC 2021 - psimons@suse.com diff --git a/ghc-citeproc.spec b/ghc-citeproc.spec index d286320..9e478be 100644 --- a/ghc-citeproc.spec +++ b/ghc-citeproc.spec @@ -19,7 +19,7 @@ %global pkg_name citeproc %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.4.1 +Version: 0.5 Release: 0 Summary: Generates citations and bibliography from CSL styles License: BSD-2-Clause