From fe625e053d078e03d824a1df746196b8a2c697b1 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 28 Jun 2015 14:39:17 -0700 Subject: New method for producing man pages. This change adds `--man1` and `--man5` options to pandoc, so pandoc can generate its own man pages. It removes the old overly complex method of building a separate executable (but not installing it) just to create the man pages. The man pages are no longer automatically created in the build process. The man/ directory has been removed. The man page templates have been moved to data/. New unexported module: Text.Pandoc.ManPages. Text.Pandoc.Data now exports readmeFile, and `readDataFile` knows how to find README. Closes #2190. --- README | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README') diff --git a/README b/README index 5671b821e..9023dded1 100644 --- a/README +++ b/README @@ -240,6 +240,14 @@ General options `epub.css`, `templates`, `slidy`, `slideous`, or `s5` directory placed in this directory will override pandoc's normal defaults. +`--man1` + +: Write `pandoc.1` man page to *stdout*. + +`--man5` + +: Write `pandoc_markdown.5` man page to *stdout*. + `--verbose` : Give verbose debugging output. Currently this only has an effect -- cgit v1.2.3