Man writer: Don't print .\" t at beginning unless we're
in --standalone mode. git-svn-id: https://pandoc.googlecode.com/svn/trunk@650 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
e58a55eb41
commit
dfcae807b0
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ pandocToMan opts (Pandoc meta blocks) = do
|
||||||
(head, foot) <- metaToMan opts meta
|
(head, foot) <- metaToMan opts meta
|
||||||
body <- blockListToMan opts blocks
|
body <- blockListToMan opts blocks
|
||||||
(notes, preprocessors) <- get
|
(notes, preprocessors) <- get
|
||||||
let preamble = if null preprocessors
|
let preamble = if null preprocessors || not (writerStandalone opts)
|
||||||
then empty
|
then empty
|
||||||
else text $ ".\\\" " ++ concat (nub preprocessors)
|
else text $ ".\\\" " ++ concat (nub preprocessors)
|
||||||
notes' <- notesToMan opts (reverse notes)
|
notes' <- notesToMan opts (reverse notes)
|
||||||
|
|
Loading…
Reference in a new issue