pandoc-citeproc 0.7.1 → 0.7.1.1
raw patch · 3 files changed
+8/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog +4/−0
- pandoc-citeproc.cabal +1/−1
- src/Text/CSL/Proc/Collapse.hs +3/−2
changelog view
@@ -1,3 +1,7 @@+pandoc-citeproc (0.7.1.1)++ * Fixed regression in numerical citation collapsing (#131).+ pandoc-citeproc (0.7.1) * Improvements to numerical styles:
pandoc-citeproc.cabal view
@@ -1,5 +1,5 @@ name: pandoc-citeproc-version: 0.7.1+version: 0.7.1.1 cabal-version: >= 1.12 synopsis: Supports using pandoc with citeproc
src/Text/CSL/Proc/Collapse.hs view
@@ -59,8 +59,9 @@ numOf = foldr (\x _ -> x) 0 . citNums process xs = if hasLocator xs then xs- else let ys = concat (groupConsecWith numOf xs)- in if length ys > 2+ else flip concatMap (groupConsecWith numOf xs)+ $ \ys ->+ if length ys > 2 then [ Output [ head ys , OPan [Str "\x2013"]