Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-citeproc for openSUSE:Factory 
checked in at 2021-08-25 20:56:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-citeproc (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-citeproc.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-citeproc"

Wed Aug 25 20:56:42 2021 rev:13 rq:912588 version:0.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-citeproc/ghc-citeproc.changes        
2021-06-13 23:06:12.307675301 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-citeproc.new.1899/ghc-citeproc.changes      
2021-08-25 20:57:27.509220248 +0200
@@ -1,0 +2,14 @@
+Mon Jul 19 07:06:10 UTC 2021 - [email protected]
+
+- Update citeproc to version 0.4.1.
+  ## 0.4.1
+
+    * Change Pandoc `inNote` so it creates a `Span` with class `csl-note`
+      rather than a `Note`.  This should make it easier to integrate
+      citations with ordinary notes in pandoc.
+    * Do not hyperlink author-only citations (#77).  If we do this we get
+      two consecutive hyperlinks for author-in-text forms.
+    * `movePunctuationInsideQuotes`: only move `,` and `.`, not `?` and `!`,
+      as per the CSL spec.
+
+-------------------------------------------------------------------

Old:
----
  citeproc-0.4.0.1.tar.gz

New:
----
  citeproc-0.4.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-citeproc.spec ++++++
--- /var/tmp/diff_new_pack.QantOh/_old  2021-08-25 20:57:27.949219670 +0200
+++ /var/tmp/diff_new_pack.QantOh/_new  2021-08-25 20:57:27.953219665 +0200
@@ -19,7 +19,7 @@
 %global pkg_name citeproc
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.4.0.1
+Version:        0.4.1
 Release:        0
 Summary:        Generates citations and bibliography from CSL styles
 License:        BSD-2-Clause

++++++ citeproc-0.4.0.1.tar.gz -> citeproc-0.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/citeproc-0.4.0.1/CHANGELOG.md 
new/citeproc-0.4.1/CHANGELOG.md
--- old/citeproc-0.4.0.1/CHANGELOG.md   2021-06-05 07:55:30.000000000 +0200
+++ new/citeproc-0.4.1/CHANGELOG.md     2021-07-18 19:29:38.000000000 +0200
@@ -1,5 +1,15 @@
 # citeproc changelog
 
+## 0.4.1
+
+  * Change Pandoc `inNote` so it creates a `Span` with class `csl-note`
+    rather than a `Note`.  This should make it easier to integrate
+    citations with ordinary notes in pandoc.
+  * Do not hyperlink author-only citations (#77).  If we do this we get
+    two consecutive hyperlinks for author-in-text forms.
+  * `movePunctuationInsideQuotes`: only move `,` and `.`, not `?` and `!`,
+    as per the CSL spec.
+
 ## 0.4.0.1
 
   * Fix bug introduced by the fix to #61 (#74).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/citeproc-0.4.0.1/citeproc.cabal 
new/citeproc-0.4.1/citeproc.cabal
--- old/citeproc-0.4.0.1/citeproc.cabal 2021-06-05 07:57:19.000000000 +0200
+++ new/citeproc-0.4.1/citeproc.cabal   2021-07-18 19:27:38.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version:       2.2
 name:                citeproc
-version:             0.4.0.1
+version:             0.4.1
 synopsis:            Generates citations and bibliography from CSL styles.
 description:         citeproc parses CSL style files and uses them to
                      generate a list of formatted citations and bibliography
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/citeproc-0.4.0.1/src/Citeproc/CslJson.hs 
new/citeproc-0.4.1/src/Citeproc/CslJson.hs
--- old/citeproc-0.4.0.1/src/Citeproc/CslJson.hs        2021-02-01 
19:26:30.000000000 +0100
+++ new/citeproc-0.4.1/src/Citeproc/CslJson.hs  2021-06-29 01:54:25.000000000 
+0200
@@ -559,7 +559,7 @@
  where
   startsWithMovable t =
     case T.uncons t of
-      Just (c,_) -> c == '.' || c == ',' || c == '!' || c == '?'
+      Just (c,_) -> c == '.' || c == ','
       Nothing    -> False
   go el =
     case el of
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/citeproc-0.4.0.1/src/Citeproc/Pandoc.hs 
new/citeproc-0.4.1/src/Citeproc/Pandoc.hs
--- old/citeproc-0.4.0.1/src/Citeproc/Pandoc.hs 2021-02-01 19:26:38.000000000 
+0100
+++ new/citeproc-0.4.1/src/Citeproc/Pandoc.hs   2021-07-05 19:47:17.000000000 
+0200
@@ -69,7 +69,7 @@
       DisplayRightInline -> B.spanWith ("",["csl-right-inline"],[])
       DisplayIndent      -> B.spanWith ("",["csl-indent"],[])
   addQuotes             = B.doubleQuoted . flipFlopQuotes DoubleQuote
-  inNote                = B.note . B.para
+  inNote                = B.spanWith ("",["csl-note"],[])
   movePunctuationInsideQuotes
                         = punctuationInsideQuotes
   mapText f             = walk go
@@ -104,7 +104,7 @@
  where
   startsWithMovable t =
     case T.uncons t of
-      Just (c,_) -> c == '.' || c == ',' || c == '!' || c == '?'
+      Just (c,_) -> c == '.' || c == ','
       Nothing    -> False
   go [] = []
   go (Quoted qt xs : Str t : rest)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/citeproc-0.4.0.1/src/Citeproc/Types.hs 
new/citeproc-0.4.1/src/Citeproc/Types.hs
--- old/citeproc-0.4.0.1/src/Citeproc/Types.hs  2021-04-18 00:57:56.000000000 
+0200
+++ new/citeproc-0.4.1/src/Citeproc/Types.hs    2021-06-29 18:06:41.000000000 
+0200
@@ -1469,8 +1469,9 @@
 renderOutput :: CiteprocOutput a => CiteprocOptions -> Output a -> a
 renderOutput _ NullOutput = mempty
 renderOutput _ (Literal x) = x
-renderOutput opts (Tagged (TagItem _ ident) x)
+renderOutput opts (Tagged (TagItem itemtype ident) x)
   | linkCitations opts
+  , itemtype /= AuthorOnly
   = addHyperlink ("#ref-" <> unItemId ident) $ renderOutput opts x
 renderOutput opts (Tagged _ x) = renderOutput opts x
 renderOutput opts (Formatted formatting xs) =

Reply via email to