aboutsummaryrefslogtreecommitdiff
path: root/man
AgeCommit message (Collapse)AuthorFilesLines
2015-07-02Added pandoc.1 to repository. Don't build as part of cabal build.John MacFarlane1-0/+4332
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-01New method for building man pages.John MacFarlane4-0/+46
+ 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-06-28New method for producing man pages.John MacFarlane3-131/+0
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-09replace old url with pandoc.orgPablo Rodríguez1-1/+1
2015-03-28make-pandoc-man-pages: fixed to build with new readMarkdown type.John MacFarlane1-2/+2
2014-08-30Put version in lower-left corner of man pages.John MacFarlane3-3/+5
2014-06-29Rewrote normalize for efficiency. (Closes #1385.)John MacFarlane1-3/+3
* 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`.
2013-08-04Remove CPP from default-extensions; add pragmas to modules as needed.John MacFarlane1-0/+1
2013-05-01remove reference in pandoc.1 to markdown2pdf (1)Jens Petersen1-1/+1
2013-01-25make-pandoc-man-pages: CPP macros to import right time module.John MacFarlane1-1/+4
2013-01-09Added Attr field to Header.John MacFarlane1-6/+6
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.
2012-10-15make-pandoc-man-pages: Use MIN_VERSION macro rather than checking GHC version.John MacFarlane1-1/+1
This is more reliable, since directory 1.2.0.1 can be used with GHC < 1.7.6.
2012-10-15Moved man page creation out of Setup.hs.John MacFarlane1-0/+98
* 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-01-20Removed markdown2pdf and documentation.John MacFarlane1-120/+0
2011-10-23Revert "Added built man pages to repository."John MacFarlane3-2867/+0
This reverts commit eac1fc3750923698db82011b9fda5a0788dfcfea.
2011-10-23Added built man pages to repository.John MacFarlane3-0/+2867
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-07-22Added `--luatex` option to markdown2pdf.John MacFarlane1-0/+3
This uses lualatex to create the PDF.
2011-07-22Deprecated `--xetex` option - it is no longer needed.John MacFarlane1-3/+3
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-01-29Updated some dates in documentation.John MacFarlane1-1/+1
2011-01-28Support --listings in markdown2pdf (Etienne Millon).John MacFarlane1-0/+3
2011-01-28Refactored man pages.John MacFarlane2-1/+15
* 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-28Moved manpage.template -> man/man1/pandoc.1.template.John MacFarlane1-0/+13
2011-01-01Documented -V fontsize= in markdown2pdf man page.John MacFarlane1-4/+2
2010-12-11Removed deprecated -C/--custom-header option.John MacFarlane1-4/+0
Use --template instead.
2010-12-07Added Paulo Tanimoto to AUTHORS in markdown2pdf man page.John MacFarlane2-478/+1
2010-12-07Use same options documentation in README and man page.John MacFarlane1-101/+150
Later we will generate the man page from the README.
2010-12-05Documented fact that you can specify --bibliography repeatedly.John MacFarlane1-1/+2
2010-12-05Documented org-mode writer in README, cabal, man pages.John MacFarlane1-4/+4
2010-12-05Documented all the formats citeproc/bibutils can handle.John MacFarlane1-2/+6
2010-12-03Updated README and pandoc man page with textile reader.John MacFarlane1-5/+5
2010-12-03More documentation for citeproc features (still incomplete).John MacFarlane2-2/+2
2010-12-02Added --bibliography, --csl, --data-dir to markdown2pdf man page.John MacFarlane1-0/+40
2010-12-02Added --bibliography and --csl to pandoc man page.John MacFarlane1-0/+24
2010-11-27Merge branch 'textile'John MacFarlane1-6/+7
Conflicts: README man/man1/pandoc.1.md pandoc.cabal
2010-10-26Added support for MathJax for displaying math in HTML.John MacFarlane1-0/+4
Added --mathjax option. Added MathJax to HTMLMathMethod. Supported MathJax in HTML writer. Resolves Issue #259.
2010-07-22Added new --offline option for slidy.John MacFarlane1-0/+5
Added slidy/slidy.min.{css,js}.
2010-07-21Updated --data-dir documentation to include epub.css.John MacFarlane1-2/+3
2010-07-15Added --section-divs option.John MacFarlane1-0/+4
+ Header identifiers now get attached to the headers, unless --section-divs is specified, in which case they are added to enclosing divs. By default, the divs are not added. + Resolves Issue #230, #239.
2010-07-15Added --webtex option for HTML math.John MacFarlane1-0/+5
+ Added --webtex command-line option, with optional parameter. (Defaults to using google charts API.) + Added WebTeX HTMLMathMethod. + Removed MimeTeX HTMLMathMethod. (WebTeX is generic and subsumes it.) + Modified --mimetex option to use WebTeX. + Thanks to lpeterse for the idea and some of the code.
2010-07-14Fixed pandoc man page source.John MacFarlane1-3/+3
2010-07-13Added a slidy writer.John MacFarlane1-3/+4
Resolves Issue #122.
2010-07-05Documented EPUB writer and --epub-{stylesheet,metadata} options.John MacFarlane1-9/+29
2010-05-17Added Textile writer module.John MacFarlane1-10/+10
2010-05-06Updated man page and README.John MacFarlane1-3/+2
Pandoc no longer respects locale, even when compiled by GHC 6.12.
2010-03-23Removed refs to hsmarkdown, html2markdown from pandoc man page.John MacFarlane1-2/+0
2010-03-18Added --mathml option; removed Text.Pandoc.LaTeXMathML.fiddlosopher1-0/+4
* Added data/MathMLinHTML.js, which is included when no URL is provided for --mathml. This allows MathML to be displayed in better browsers, as text/html. * The module was no longer necessary; its functionality (two lines) was incorporated into pandoc.hs. * Consolidated the two LaTeXMathML.js files into one. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1909 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18Added plain writer.fiddlosopher1-4/+4
Text.Pandoc.Writers.Markdown now exports a writePlain, which writes plain text without links, pictures, or special formatting (not even markdown conventions). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1907 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-14Added --base-header-level option.fiddlosopher1-0/+3
Thanks to Jérémy Bobbio for the patch that formed the basis of this commit. Closes Debian #563416. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1889 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-13Use template variables for include-before/after.fiddlosopher1-0/+8
* These options now imply -s; previously they worked also in fragment mode. * Users can now adjust position of include-before and include-after text in the templates. * Default position of include-before moved back (as it originally was) before table of contents. * Resolves Issue #217. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1883 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-02-06Removed html2markdown and hsmarkdown.fiddlosopher2-137/+0
html2markdown is no longer needed, since you can pass URI arguments to pandoc and directly convert web pages. (Note, however, that pandoc assumes the pages are UTF8. html2markdown made an attempt to guess the encoding and convert them.) hsmarkdown is pointless -- a large executable that could be replaced by 'pandoc --strict'. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1834 788f1e2b-df1e-0410-8736-df70ead52e1b