Commit Graph
152 Commits
Author SHA1 Message Date
John MacFarlane 95503a5200 Updated man page. 2016-06-04 07:55:08 -07:00
John MacFarlane 3bfb8ea032 Updated man page. 2016-03-24 09:00:23 -07:00
John MacFarlane 3e50a0ee98 Updated man page. 2016-03-22 17:07:18 -07:00
John MacFarlane db207904ef Updated man page. 2016-03-21 15:39:57 -07:00
John MacFarlane 3336783906 Updated man page. 2016-03-19 14:14:53 -07:00
John MacFarlane 9a2326c397 Rebuilt man page. 2016-03-18 22:54:03 -07:00
ickc b411e0ffd0 Update pandoc.1 2016-03-06 20:23:12 -08:00
John MacFarlane f8776ed871 Updated man page. 2016-01-13 10:36:02 -08:00
John MacFarlane 293f31c698 Regenerated man page. 2016-01-10 16:48:47 -08:00
John MacFarlane 1c0ebe600c Updated man page. 2016-01-02 15:52:49 -08:00
John MacFarlane b5d9798618 Updated filter for man pages. 2016-01-02 15:52:33 -08:00
John MacFarlane 5985688122 Updated man page. 2015-11-16 07:41:37 -08:00
John MacFarlane d58d242931 Updated man page. 2015-11-16 07:02:33 -08:00
John MacFarlane fc56d9d227 Updated man page. 2015-11-15 10:05:59 -08:00
John MacFarlane a119ad8d09 Updated man page from README. 2015-11-12 19:52:02 -08:00
John MacFarlane e08399a16b Man page update. 2015-10-16 10:52:00 -07:00
John MacFarlane ee7c5fbd21 Updated pandoc.1. 2015-10-15 20:39:24 -07:00
John MacFarlane ecae35e9a6 Updated man page from README. 2015-10-10 15:45:50 -07:00
John MacFarlane 221390d024 Updated man page. 2015-08-13 15:33:19 -07:00
Chris Black 1c4481daa8 List all styles in manual for --reference-docx 2015-07-21 17:54:16 -05:00
John MacFarlane 7120df9dad Don't capitalize header links in man page.
Also regenerated man page from latest README.
2015-07-21 10:24:59 -07:00
John MacFarlane 605e15a71d Updated man page. 2015-07-15 09:18:52 -07:00
John MacFarlane 0bd5873977 Updated man page. 2015-07-10 11:55:05 -07:00
John MacFarlane 79764df2d5 Added pandoc.1 to repository. Don't build as part of cabal build.
The process was too fragile.  It made too many assumptions about
available libraries (which failed sometimes when sandboxes were
used).  This is a low-tech solution.  The only drawback is that
`man/pandoc.1` is a generated file in the repository.  It will need
to be regenerated periodically when README changes.
2015-07-02 22:12:38 -07:00
John MacFarlane a04c15a422 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`.
2015-07-01 11:27:15 -07:00
John MacFarlane fe625e053d 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.
2015-06-28 14:39:17 -07:00
Pablo Rodríguez c18e93ca6e replace old url with pandoc.org 2015-06-09 22:22:58 +02:00
John MacFarlane 978ae55b22 make-pandoc-man-pages: fixed to build with new readMarkdown type. 2015-03-28 15:36:30 -07:00
John MacFarlane fcd35cc955 Put version in lower-left corner of man pages. 2014-08-30 16:11:45 -07:00
John MacFarlane 3fbbafd391 Rewrote normalize for efficiency. (Closes #1385.)
* Added normalizeInlines, normalizeBlocks.
* Type signature is now more narrow, `Pandoc -> Pandoc` instead of
  `Data a :: a -> a`.  Some users may need to change their uses of
  `normalize` to the newly exported `normalizeInlines` or
  `normalizeBlocks`.
2014-06-29 23:05:08 -07:00
John MacFarlane 2d6e0b1530 Remove CPP from default-extensions; add pragmas to modules as needed. 2013-08-04 14:12:13 -07:00
Jens Petersen 7b25af213c remove reference in pandoc.1 to markdown2pdf (1) 2013-05-01 13:52:50 +09:00
John MacFarlane f135ac2389 make-pandoc-man-pages: CPP macros to import right time module. 2013-01-25 12:17:55 -08:00
John MacFarlane d599c4cdab Added Attr field to Header.
Previously header ids were autogenerated by the writers.
Now they are generated (unless supplied explicitly) in the
markdown parser, if the `header_identifiers` extension is
selected.

In addition, the textile reader now supports id attributes on
headers.
2013-01-09 09:30:05 -08:00
John MacFarlane b808655b2b make-pandoc-man-pages: Use MIN_VERSION macro rather than checking GHC version.
This is more reliable, since directory 1.2.0.1 can be used with
GHC < 1.7.6.
2012-10-15 21:31:19 -07:00
John MacFarlane b3ad94bde9 Moved man page creation out of Setup.hs.
* MakeManPage.hs has been transformed into
  man/make-pandoc-man-pages.hs.
* There is now a cabal stanza for this, so the dependencies are
  handled by cabal.
* Special treatment in Setup.hs ensures that this never gets installed;
  it is built and used to create the man pages.
* Setup.hs cleaned up.
2012-10-15 21:26:24 -07:00
John MacFarlane 1d615908c2 Removed markdown2pdf and documentation. 2012-01-20 21:22:51 -08:00
John MacFarlane 8c588a98c6 Revert "Added built man pages to repository."
This reverts commit eac1fc3750.
2011-10-23 18:26:50 -07:00
John MacFarlane eac1fc3750 Added built man pages to repository.
In general I don't like adding generated content to the repository,
but I also want to make it possible to clone the repository and
'cabal install'.  THe current system with Setup.hs calling
MakeManPage.hs is too fragile.
2011-10-23 18:24:19 -07:00
John MacFarlane fecbceb610 Added --luatex option to markdown2pdf.
This uses lualatex to create the PDF.
2011-07-22 13:17:41 -07:00
John MacFarlane 18306c74fb Deprecated --xetex option - it is no longer needed.
Deprecated `writerXeTeX` and the `--xetex` option.
The latex writer now produces a file that can be processed
by latex, pdflatex, lualatex, or xelatex, so this option isn't
needed.

The option is still neded in markdown2pdf, however, which
has been modified to take some options that aren't in pandoc.
2011-07-22 13:11:46 -07:00
John MacFarlane 154b48c627 Updated some dates in documentation. 2011-01-29 13:14:25 -08:00
John MacFarlane d28daf0e89 Support --listings in markdown2pdf (Etienne Millon). 2011-01-28 21:21:09 -08:00
John MacFarlane 8c435578d6 Refactored man pages.
* Markdown syntax description from README now goes in pandoc_markdown.5.
* Refactored man page construction functions, putting more of
  the work in MakeManPages.hs.
2011-01-28 12:02:26 -08:00
John MacFarlane 219573eed2 Moved manpage.template -> man/man1/pandoc.1.template. 2011-01-28 09:15:29 -08:00
John MacFarlane e9c1c1dccf Documented -V fontsize= in markdown2pdf man page. 2011-01-01 10:10:31 -08:00
John MacFarlane c6b79d794e Removed deprecated -C/--custom-header option.
Use --template instead.
2010-12-11 00:22:34 -08:00
John MacFarlane 581f8f77d5 Added Paulo Tanimoto to AUTHORS in markdown2pdf man page. 2010-12-07 12:09:52 -08:00
John MacFarlane 315e236d6a Use same options documentation in README and man page.
Later we will generate the man page from the README.
2010-12-07 09:36:03 -08:00
John MacFarlane fabd9e6c22 Documented fact that you can specify --bibliography repeatedly. 2010-12-05 12:57:27 -08:00