Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 516640 | Differences between
and this patch

Collapse All | Expand All

(-)src/Text/CSL/Input/Bibutils.hs (+1 lines)
Lines 63-68 Link Here
63
                              "using the file extension."
63
                              "using the file extension."
64
#else
64
#else
65
        _           -> error $ "citeproc: Bibliography format not supported.\n" ++
65
        _           -> error $ "citeproc: Bibliography format not supported.\n" ++
66
                              "using the file extension."
66
#endif
67
#endif
67
68
68
data BibFormat
69
data BibFormat
(-)pandoc-citeproc.hs (+2 lines)
Lines 74-79 Link Here
74
  where go "biblatex" = Just BibLatex
74
  where go "biblatex" = Just BibLatex
75
        go "bib"      = Just BibLatex
75
        go "bib"      = Just BibLatex
76
        go "bibtex"   = Just Bibtex
76
        go "bibtex"   = Just Bibtex
77
#ifdef USE_BIBUTILS
77
        go "ris"      = Just Ris
78
        go "ris"      = Just Ris
78
        go "endnote"  = Just Endnote
79
        go "endnote"  = Just Endnote
79
        go "enl"      = Just Endnote
80
        go "enl"      = Just Endnote
Lines 83-88 Link Here
83
        go "isi"      = Just Isi
84
        go "isi"      = Just Isi
84
        go "medline"  = Just Medline
85
        go "medline"  = Just Medline
85
        go "copac"    = Just Copac
86
        go "copac"    = Just Copac
87
#endif
86
        go "json"     = Just Json
88
        go "json"     = Just Json
87
        go _          = Nothing
89
        go _          = Nothing
88
90
(-)pandoc-citeproc.cabal (+4 lines)
Lines 324-329 Link Here
324
executable pandoc-citeproc
324
executable pandoc-citeproc
325
    main-is:          pandoc-citeproc.hs
325
    main-is:          pandoc-citeproc.hs
326
    hs-source-dirs:   .
326
    hs-source-dirs:   .
327
    default-extensions: CPP
328
    if flag(bibutils)
329
        build-depends:   hs-bibutils >= 0.3
330
        cpp-options:     -DUSE_BIBUTILS
327
    ghc-options:      -funbox-strict-fields -Wall
331
    ghc-options:      -funbox-strict-fields -Wall
328
    ghc-prof-options: -prof -auto-all
332
    ghc-prof-options: -prof -auto-all
329
    build-depends:    base >= 4, pandoc-citeproc, pandoc-types >= 1.12.3, aeson,
333
    build-depends:    base >= 4, pandoc-citeproc, pandoc-types >= 1.12.3, aeson,

Return to bug 516640