git.iko.soy/typeable/pandoc
on master help sign in
LaTeX reader: Make `\noindent` inline rather than block.
cfc2e00John MacFarlane
src/Text/Pandoc/Readers/LaTeX.hs+1−2
@@ -280,7 +280,6 @@ blockCommands = M.fromList $
280 -- that are to be processed by the compiler but not printed.
280 -- that are to be processed by the compiler but not printed.
281 , "ignore"
281 , "ignore"
282 , "hyperdef"
282 , "hyperdef"
283− , "noindent"
284 , "markboth", "markright", "markleft"
283 , "markboth", "markright", "markleft"
285 , "hspace", "vspace"
284 , "hspace", "vspace"
286 ]
285 ]
@@ -476,7 +475,7 @@ inlineCommands = M.fromList $
476 ] ++ map ignoreInlines
475 ] ++ map ignoreInlines
477 -- these commands will be ignored unless --parse-raw is specified,
476 -- these commands will be ignored unless --parse-raw is specified,
478 -- in which case they will appear as raw latex blocks:
477 -- in which case they will appear as raw latex blocks:
479− [ "index", "nocite" ]
478+ [ "noindent", "index", "nocite" ]
480
479
481inNote :: Inlines -> Inlines
480inNote :: Inlines -> Inlines
482inNote ils =
481inNote ils =