aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-06-29 07:58:33 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-06-29 07:59:00 -0700
commit3429fa6438355da63c3f418eda32b1a011ddbc40 (patch)
tree924ff75d9ebe1df3dc3ea3efe7b3a0a75ea196ac /src/Text/Pandoc/Readers
parenta349814665bbd2298acc367cd5485b983313a05d (diff)
downloadpandoc-3429fa6438355da63c3f418eda32b1a011ddbc40.tar.gz
LaTeX reader: fixed `\cite` so it is a NormalCitation not AuthorInText.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 2be55c9da..258fdfcf4 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -559,8 +559,8 @@ inlineCommands = M.fromList $
src <- unescapeURL <$> braced
mkImage options src)
, ("enquote", enquote)
- , ("cite", citation "cite" AuthorInText False)
- , ("Cite", citation "cite" AuthorInText False)
+ , ("cite", citation "cite" NormalCitation False)
+ , ("Cite", citation "Cite" NormalCitation False)
, ("citep", citation "citep" NormalCitation False)
, ("citep*", citation "citep*" NormalCitation False)
, ("citeal", citation "citeal" NormalCitation False)