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
This commit is contained in:
parent
de6dacc274
commit
aaf9e3719d
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fe7760863c53553154b55babe85d49acba68b5c4b87cf7b311fe470ca7139d24
|
|
||||||
size 574411
|
|
3
citeproc-0.5.tar.gz
Normal file
3
citeproc-0.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d37944d39bb92e9f61b4dddb52e7aa12bb171c0f96b62a3a7bf5c12bd47d8792
|
||||||
|
size 579769
|
@ -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
|
Mon Jul 19 07:06:10 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
%global pkg_name citeproc
|
%global pkg_name citeproc
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.4.1
|
Version: 0.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Generates citations and bibliography from CSL styles
|
Summary: Generates citations and bibliography from CSL styles
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
|
Loading…
Reference in New Issue
Block a user