git.iko.soy/typeable/pandoc
on master help sign in
Texinfo writer: Removed tabs from source.
4112fb8John MacFarlane
src/Text/Pandoc/Writers/Texinfo.hs+3−3
@@ -120,7 +120,7 @@ inCmd cmd contents = char '@' <> text cmd <> braces contents
120
120
121-- | Convert Pandoc block element to Texinfo.
121-- | Convert Pandoc block element to Texinfo.
122blockToTexinfo :: Block -- ^ Block to convert
122blockToTexinfo :: Block -- ^ Block to convert
123− -> State WriterState Doc
123+ -> State WriterState Doc
124
124
125blockToTexinfo Null = return empty
125blockToTexinfo Null = return empty
126
126
@@ -195,9 +195,9 @@ blockToTexinfo HorizontalRule =
195 -- XXX can't get the equivalent from LaTeX.hs to work
195 -- XXX can't get the equivalent from LaTeX.hs to work
196 return $ text "@iftex" $$
196 return $ text "@iftex" $$
197 text "@bigskip@hrule@bigskip" $$
197 text "@bigskip@hrule@bigskip" $$
198− text "@end iftex" $$
198+ text "@end iftex" $$
199 text "@ifnottex" $$
199 text "@ifnottex" $$
200− text (take 72 $ repeat '-') $$
200+ text (take 72 $ repeat '-') $$
201 text "@end ifnottex"
201 text "@end ifnottex"
202
202
203blockToTexinfo (Header 0 _ lst) = do
203blockToTexinfo (Header 0 _ lst) = do