From a04c15a422cac279e75b012db9614cdc85aa1188 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 1 Jul 2015 11:21:34 -0700 Subject: New method for building man pages. + Removed `--man1`, `--man5` options (breaking change). + Removed `Text.Pandoc.ManPages` module (breaking API change). + Version bump to 1.15 because of the breaking changes, even though they involve features that have only been in pandoc for a day. + Makefile target for `man/man1/pandoc.1`. This uses pandoc to create the man page from README using a custom template and filters. + Added `man/` directory with template and filters needed to build man page. + We no longer have two man pages: pandoc.1 and pandoc_markdown.5. Now there is just pandoc.1, which has all the content from README. This change was needed because of the extensive cross-references between parts of the README. + Removed old `data/pandoc.1.template` and `data/pandoc_markdown.5.template`. --- data/pandoc.1.template | 16 ---------------- data/pandoc_markdown.5.template | 11 ----------- 2 files changed, 27 deletions(-) delete mode 100644 data/pandoc.1.template delete mode 100644 data/pandoc_markdown.5.template (limited to 'data') diff --git a/data/pandoc.1.template b/data/pandoc.1.template deleted file mode 100644 index adef38bcc..000000000 --- a/data/pandoc.1.template +++ /dev/null @@ -1,16 +0,0 @@ -$if(has-tables)$ -.\"t -$endif$ -.TH PANDOC 1 "$date$" "$version$" -.SH NAME -pandoc - general markup converter -$body$ -.SH PANDOC'S MARKDOWN -For a complete description of pandoc's extensions to standard markdown, -see \f[C]pandoc_markdown\f[] (5). -.SH SEE ALSO -.PP -\f[C]pandoc_markdown\f[] (5). -.PP -The Pandoc source code and all documentation may be downloaded -from . diff --git a/data/pandoc_markdown.5.template b/data/pandoc_markdown.5.template deleted file mode 100644 index 6006e90c4..000000000 --- a/data/pandoc_markdown.5.template +++ /dev/null @@ -1,11 +0,0 @@ -$if(has-tables)$ -.\"t -$endif$ -.TH PANDOC_MARKDOWN 5 "$date$" "$version$" -.SH NAME -pandoc_markdown - markdown syntax for pandoc(1) -.SH DESCRIPTION -$body$ -.SH SEE ALSO -.PP -\f[C]pandoc\f[] (1). -- cgit v1.2.3