git.iko.soy/typeable/pandoc
on master help sign in
Use latest citeproc.
commiteff6b8f27d482ae56e49752d38bd985734a2b414 authorJohn MacFarlane <jgm@berkeley.edu> dateSun 27 Sep 2020, 16:03 (6 years ago) parentae4dcc0
4 files changed+5−6
cabal.project+1−1 pandoc.cabal+1−1 src/Text/Pandoc/Citeproc/BibTeX.hs+2−3 stack.yaml+1−1
cabal.project+1−1
@@ -7,5 +7,5 @@ package pandoc
77source-repository-package
88 type: git
99 location: https://github.com/jgm/citeproc
10− tag: dc7ad5a8780d3bb12c437edf15f966f03c4be43f
10+ tag: 5e76be59977e8998b9c2232da8e71ec6360ff26b
1111constraints: base16-bytestring < 1
pandoc.cabal+1−1
@@ -403,7 +403,7 @@ library
403403 blaze-markup >= 0.8 && < 0.9,
404404 bytestring >= 0.9 && < 0.12,
405405 case-insensitive >= 1.2 && < 1.3,
406− citeproc >= 0.0 && < 0.1,
406+ citeproc >= 0.1 && < 0.2,
407407 commonmark >= 0.1.0.2 && < 0.2,
408408 commonmark-extensions >= 0.2 && < 0.3,
409409 commonmark-pandoc >= 0.2 && < 0.3,
src/Text/Pandoc/Citeproc/BibTeX.hs+2−3
@@ -30,8 +30,7 @@ import Text.Pandoc.Error (PandocError)
3030import Text.Pandoc.Shared (stringify)
3131import qualified Text.Pandoc.Walk as Walk
3232import Citeproc.Types
33−import Citeproc.CaseTransform (withSentenceCase)
34−import Citeproc.Pandoc (caseTransform)
33+import Citeproc.Pandoc
3534import Text.Pandoc.Citeproc.Util (toIETF)
3635import Text.Pandoc.Citeproc.Data (biblatexStringMap)
3736import Data.Default
@@ -736,7 +735,7 @@ protectCase f = Walk.walk unprotect . f . Walk.walk protect
736735 startsWithLowercase _ = False
737736
738737unTitlecase :: Maybe Lang -> Inlines -> Inlines
739−unTitlecase mblang = protectCase (caseTransform (withSentenceCase mblang))
738+unTitlecase mblang = protectCase (addTextCase mblang SentenceCase)
740739
741740getTitle :: Text -> Bib Inlines
742741getTitle f = do
stack.yaml+1−1
@@ -7,7 +7,7 @@ packages:
77- '.'
88extra-deps:
99- git: https://github.com/jgm/citeproc
10− commit: dc7ad5a8780d3bb12c437edf15f966f03c4be43f
10+ commit: 5e76be59977e8998b9c2232da8e71ec6360ff26b
1111- pandoc-types-1.22
1212- texmath-0.12.0.3
1313- rfc5051-0.2