aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2022-01-13 19:11:50 +0200
committerIgor Pashev <pashev.igor@gmail.com>2022-01-16 19:49:37 +0200
commitf62f8b7ef2f1c2357fbd41f5226fe433e632e042 (patch)
tree5b94da2cac9e6a451b21cf183da8311e3b5eb2a1 /src/Text/Pandoc/Readers/LaTeX/Parsing.hs
parentb80b03c0b3d03c9504854fe97e7e6def6fe7c609 (diff)
downloadpandoc-f62f8b7ef2f1c2357fbd41f5226fe433e632e042.tar.gz
LaTeX: parse thebibliographyHEADmaster
Diffstat (limited to 'src/Text/Pandoc/Readers/LaTeX/Parsing.hs')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX/Parsing.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX/Parsing.hs b/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
index 9eb4a0cbc..8fb6bd5bc 100644
--- a/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
+++ b/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
@@ -172,6 +172,7 @@ data LaTeXState = LaTeXState{ sOptions :: ReaderOptions
, sFileContents :: M.Map Text Text
, sEnableWithRaw :: Bool
, sRawTokens :: IntMap.IntMap [Tok]
+ , sTheBibItemNum :: Int
}
deriving Show
@@ -199,6 +200,7 @@ defaultLaTeXState = LaTeXState{ sOptions = def
, sFileContents = M.empty
, sEnableWithRaw = True
, sRawTokens = IntMap.empty
+ , sTheBibItemNum = 0
}
instance PandocMonad m => HasQuoteContext LaTeXState m where