diff options
| author | Chris Wells <chris@mathematicaster.org> | 2026-01-20 17:00:40 -0600 |
|---|---|---|
| committer | Chris Wells <chris@mathematicaster.org> | 2026-01-20 17:00:40 -0600 |
| commit | 5d83e36ef8210d1514259c89ff97a25c4d19600c (patch) | |
| tree | bb15b5d2f15e671b6963b1088a501e0dee758f2e /src/Hakyll/TeX | |
| parent | 8424579b0c79038510c3e763b1154cb6aea5cdfe (diff) | |
| download | main-5d83e36ef8210d1514259c89ff97a25c4d19600c.tar main-5d83e36ef8210d1514259c89ff97a25c4d19600c.tar.gz main-5d83e36ef8210d1514259c89ff97a25c4d19600c.tar.bz2 main-5d83e36ef8210d1514259c89ff97a25c4d19600c.tar.lz main-5d83e36ef8210d1514259c89ff97a25c4d19600c.tar.xz main-5d83e36ef8210d1514259c89ff97a25c4d19600c.tar.zst main-5d83e36ef8210d1514259c89ff97a25c4d19600c.zip | |
Technically working, but I need a cleaner way to pass personA and
journalA into a list context...
Diffstat (limited to 'src/Hakyll/TeX')
| -rw-r--r-- | src/Hakyll/TeX/BibTeX.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Hakyll/TeX/BibTeX.hs b/src/Hakyll/TeX/BibTeX.hs index eb87c4e..a78f254 100644 --- a/src/Hakyll/TeX/BibTeX.hs +++ b/src/Hakyll/TeX/BibTeX.hs @@ -33,7 +33,8 @@ instance Writable [B.T] where compileBibtex :: (StringConv s String) => Item s -> Compiler (Item BibTeX) compileBibtex = fmap (B.lowerCaseFieldNames <<$>>) . compileParsec_ p . fmap toSL where - p = B.skippingLeadingSpace $ B.file <* P.space <* P.eof + p = B.skippingSpace B.file + -- p = B.skippingLeadingSpace $ B.file <* P.space <* P.eof bibtexCompiler :: Compiler (Item BibTeX) bibtexCompiler = getResourceBody >>= compileBibtex |
