mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-01 15:38:09 +08:00
Fixed template name in MakeManPage.hs
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ main = do
|
||||
modDeps <- modifiedDependencies markdown2pdfpage [markdown2pdfpage <.> "md"]
|
||||
unless (null modDeps) $ do
|
||||
mpdfContents <- liftM toString $ B.readFile $ markdown2pdfpage <.> "md"
|
||||
templ <- liftM toString $ B.readFile $ "templates" </> "man.template"
|
||||
templ <- liftM toString $ B.readFile $ "templates" </> "default.man"
|
||||
let doc = readMarkdown defaultParserState{ stateStandalone = True }
|
||||
mpdfContents
|
||||
writeManPage markdown2pdfpage templ doc
|
||||
|
||||
Reference in New Issue
Block a user