summaryrefslogtreecommitdiff
path: root/pandoc.hs
Commit message (Collapse)AuthorAge
* Better error messages for filters:John MacFarlane2015-07-02
| | | | | | - Inform user if filter requires an interpreter that isn't found in the path. - Inform user if filter returns an error status.
* New method for building man pages.John MacFarlane2015-07-01
| | | | | | | | | | | | | | | | | | + 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`.
* New method for producing man pages.John MacFarlane2015-06-28
| | | | | | | | | | | | | | | | | | | | | 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.
* replace old url with pandoc.orgPablo Rodríguez2015-06-09
|
* Amends last commit: don't use https for google charts.John MacFarlane2015-06-09
| | | | They don't have a certificate.
* Use https: for mathjax/katex/google-charts CDNs.John MacFarlane2015-06-09
| | | | Closes #1920.
* Only make implicit `-F pandoc-citeproc` when `--bibliography` option used.John MacFarlane2015-05-11
| | | | | | Not when `bibliography` field in metadata is specified. Closes #1849.
* Removed references to `biblio-files` in pandoc.hs and README.John MacFarlane2015-05-11
|
* Revert "EPUB writer: stylesheet changes. Closes #2040."John MacFarlane2015-05-09
| | | | | | | | | | This reverts commit 1c2951dfd9ee72e5270cb974a06098adb9178f89. See #2040. The semantics was too squishy. `--css` takes a URL, but for EPUB we need files that we can read. I prefer keeping the old system for now, with `--epub-stylesheet`.
* EPUB writer: stylesheet changes. Closes #2040.John MacFarlane2015-05-08
| | | | | | | | | | | | * Allow `--css` to be used to specify stylesheets. * Deprecated `--epub-stylesheet` and made it a synoynym of `--css`. * If a code block with class "css" is given as contents of the `stylesheet` metadata field, use its literal code as contents of the epub stylesheet. Otherwise, treat it as a filename and read the file. * Note: `--css` and `stylesheet` in metadata are not compatible. `stylesheet` takes precedence.
* Updated copyright notices to -2015. Closes #2111.John MacFarlane2015-04-26
|
* Merge branch 'errortype' of https://github.com/mpickering/pandoc into ↵John MacFarlane2015-03-28
|\ | | | | | | | | | | | | | | | | | | | | mpickering-errortype Conflicts: benchmark/benchmark-pandoc.hs src/Text/Pandoc/Readers/Markdown.hs src/Text/Pandoc/Readers/Org.hs src/Text/Pandoc/Readers/RST.hs tests/Tests/Readers/LaTeX.hs
| * Update executable fileMatthew Pickering2015-02-18
| |
* | Merge pull request #1976 from wcaleb/json-help-messageJohn MacFarlane2015-03-07
|\ \ | | | | | | Clarify JSON input and output in usage message
| * | Clarify JSON input and output in usage messageCaleb McDaniel2015-02-27
| |/
* / Fix issue #969, #1779 by providing --latex-engine-optSumit Sahrawat2015-03-04
|/
* Better warning when trying to read multiple binary filesMatthew Pickering2015-01-19
|
* Added `--verbose` flag for debugging output in PDF production.John MacFarlane2014-12-26
| | | | | Closes #1840. Closes #1653.
* Recognize .icml extension and use icml writer. See #1707.John MacFarlane2014-10-20
|
* Give better error messages when someone tries to convert pdf, doc, odt.John MacFarlane2014-10-19
| | | | Closes #1683.
* Add support for KaTeX HTML mathmpickering2014-09-25
| | | | Closes #1626
* Use protocol-relative URL for mathjax.John MacFarlane2014-08-31
| | | | See jgm/pandoc-templates#67.
* Removed extra blank line after version.John MacFarlane2014-08-30
|
* Removed check for PATH variable in running filters.John MacFarlane2014-08-17
| | | | | | | | | | This cause problems on Windows 8, where the variable is called `Path`. Instead, simply trap the exception that will be raised by `findExecutable` if path is not set. This should fix #1542.
* pandoc: Don't strip path off of sourceURL.John MacFarlane2014-08-06
| | | | | | We need this information for relative URLs! This should resolve the continuing problem noted in #750.
* Merge pull request #1486 from Aelve/minorJohn MacFarlane2014-08-04
|\ | | | | Very minor cleanup and readability changes
| * Slightly fix readability of main program file.Artyom Kazak2014-08-04
| |
* | Merge branch 'epubend' of https://github.com/mpickering/pandoc into ↵John MacFarlane2014-08-04
|\ \ | |/ |/| | | | | | | | | mpickering-epubend Conflicts: pandoc.cabal
| * EPUB Reader: Integrated into programMatthew Pickering2014-07-31
| |
* | Text.Pandoc.SelfContained changes.John MacFarlane2014-08-02
| | | | | | | | | | | | | | | | * mkSelfContained now takes just two arguments, WriterOptions and the string. * It no longer looks in data files. This only made sense when we had copies of slidy and S5 code there. * Shared.fetchItem' is used instead of the nearly duplicate getItem.
* | pandoc.hs: More code reorganization.John MacFarlane2014-07-31
|/
* pandoc.hs: Rewrote some of the logic for clarity.John MacFarlane2014-07-31
|
* New module, Text.Pandoc.MediaBag.John MacFarlane2014-07-31
| | | | | | | Moved `MediaBag` definition and functions from Shared: `lookupMedia`, `mediaDirectory`, `insertMedia`, `extractMediaBag`. Removed `emptyMediaBag`; use `mempty` instead, since `MediaBag` is a Monoid.
* Made MediaBag a newtype, and added mime type information to media.John MacFarlane2014-07-31
| | | | | | | | | | Shared now exports functions for interacting with a MediaBag: - `emptyMediaBag` - `lookuMedia` - `insertMedia` - `mediaDirectory` - `extractMediaBag`
* getT2TMeta: Take list of source files instead of single.John MacFarlane2014-07-30
| | | | Get latest modification time.
* Allow --self-contained to get content from MediaBag.John MacFarlane2014-07-30
| | | | Added a parameter to makeSelfContained (API change).
* PDF, Docx, EPUB, and ODT writers now automatically use MediaBag.John MacFarlane2014-07-30
| | | | | The MediaBag is thread through from the reader, with no need to extract to files.
* pandoc: Thread media bag into WriterOptions.John MacFarlane2014-07-30
| | | | | | This will make it available to docx and epub readers, etc., so we don't have to extract media to a directory when going from docx -> epub.
* Added --extract-media option.John MacFarlane2014-07-30
| | | | | | This has been documented to affect the epub and docx readers, so we should either add the epub reader before the next release or change the documentation.
* Make toplevel pandoc bin make use of mediabag.Jesse Rosenthal2014-07-30
| | | | | Note that at the moment the mediabag is discarded. This will have to be changed to make use of it.
* Txt2Tags Reader: Added recognition of macrosMatthew Pickering2014-07-27
|
* Txt2Tags Reader: Integrated into pandocMatthew Pickering2014-07-27
|
* Merge branch 'master' of git://github.com/jgm/pandoc into dokuwikiClare Macrae2014-07-01
|\
| * Filters: respect shebang if filter is executable.John MacFarlane2014-06-30
| | | | | | | | Closes #1389.
* | Merge remote-tracking branch 'jgm/master' into dokuwikiClare Macrae2014-06-29
|\|
| * Fixed `--filter` so it doesn't search PATH for a filter with a path.John MacFarlane2014-06-27
| | | | | | | | | | This fixed a bug wherein `--filter ./caps.py` would run `caps.py` from the system path, even if there was a `caps.py` in the working directory.
| * Add track changes option to command line.Jesse Rosenthal2014-06-25
| |
| * Fixed compiler warnings.John MacFarlane2014-06-21
| |
| * Filters: don't print misleading error message.John MacFarlane2014-06-20
| | | | | | | | | | Previously pandoc would say that a filter was not found, even in a case where the filter had a syntax error.
| * Integrated the docx reader into the main pandoc program.mpickering2014-06-16
| | | | | | | | | | Changes also include generalising the types of reader allowed. The mechanism now mimics the more general output mechanism.