diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-06-29 07:58:33 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-06-29 07:59:00 -0700 |
commit | 3429fa6438355da63c3f418eda32b1a011ddbc40 (patch) | |
tree | 924ff75d9ebe1df3dc3ea3efe7b3a0a75ea196ac /src/Text/Pandoc/Readers | |
parent | a349814665bbd2298acc367cd5485b983313a05d (diff) | |
download | pandoc-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.hs | 4 |
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) |