summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-10-11 20:56:44 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-10-11 20:56:44 -0700
commitcfc2e00b849f3d40a78eaa0ba0a44545a57ca56a (patch)
tree4ac9c5dd98365f8e6aae3ee3713d34110ca05fce /src/Text/Pandoc
parent1dcd7c66ebd9e0f7aa337e784f4c2d6b14e8cebd (diff)
LaTeX reader: Make `\noindent` inline rather than block.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index c733bbb88..c31266ea3 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -280,7 +280,6 @@ blockCommands = M.fromList $
-- that are to be processed by the compiler but not printed.
, "ignore"
, "hyperdef"
- , "noindent"
, "markboth", "markright", "markleft"
, "hspace", "vspace"
]
@@ -476,7 +475,7 @@ inlineCommands = M.fromList $
] ++ map ignoreInlines
-- these commands will be ignored unless --parse-raw is specified,
-- in which case they will appear as raw latex blocks:
- [ "index", "nocite" ]
+ [ "noindent", "index", "nocite" ]
inNote :: Inlines -> Inlines
inNote ils =