summaryrefslogtreecommitdiff
path: root/src/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-07-25 20:27:20 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2012-07-25 22:05:06 -0700
commit070b968ae042238c86740c2aea21aacc4f62f618 (patch)
tree9e2d6ccf2567bb81571e427be886eddc2c290973 /src/pandoc.hs
parent856aa8c244b86a51d4229bf7c5f3799d231570f7 (diff)
stateCitations -> readerCitations.
Diffstat (limited to 'src/pandoc.hs')
-rw-r--r--src/pandoc.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs
index 884e851f9..a0404d9e6 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -936,8 +936,7 @@ main = do
then "."
else takeDirectory (head sources)
- let startParserState = def{ stateCitations = map CSL.refId refs,
- stateOptions = def{
+ let startParserState = def{ stateOptions = def{
readerStrict = strict
, readerSmart = smart || (texLigatures &&
(laTeXOutput || writerName' == "context"))
@@ -948,6 +947,7 @@ main = do
, readerLiterateHaskell =
"+lhs" `isSuffixOf` readerName' ||
lhsExtension sources
+ , readerCitations = map CSL.refId refs
},
stateIndentedCodeClasses = codeBlockClasses,
stateApplyMacros = not laTeXOutput