summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Removed unneeded import.John MacFarlane2017-09-30
|
* Removed Verbosity and MediaBag params from makePDF.John MacFarlane2017-09-30
| | | | | They can be obtained from CommonState since we're in PandocIO.
* Text.Pandoc.Class - add getVerbosity.John MacFarlane2017-09-30
|
* Removed writerSourceURL, add source URL to common state.John MacFarlane2017-09-30
| | | | | | | | | | | | | | | | | | Removed `writerSourceURL` from `WriterOptions` (API change). Added `stSourceURL` to `CommonState`. It is set automatically by `setInputFiles`. Text.Pandoc.Class now exports `setInputFiles`, `setOutputFile`. The type of `getInputFiles` has changed; it now returns `[FilePath]` instead of `Maybe [FilePath]`. Functions in Class that formerly took the source URL as a parameter now have one fewer parameter (`fetchItem`, `downloadOrRead`, `setMediaResource`, `fillMediaBag`). Removed `WriterOptions` parameter from `makeSelfContained` in `SelfContained`.
* Merge pull request #3945 from tarleb/lua-mediabagJohn MacFarlane2017-09-30
|\ | | | | Lua mediabag module
| * doc/lua-filters.md: document mediabag submoduleAlbert Krewinkel2017-09-30
| |
| * Run Lua filters before extracting mediaAlbert Krewinkel2017-09-30
| | | | | | | | | | This enables users to change the media files being extracted via lua filters.
| * Text.Pandoc.Lua: add mediabag submoduleAlbert Krewinkel2017-09-30
| |
* | Provide make target to update lua module docs (#3946)Albert Krewinkel2017-09-30
|/ | | | | The pandoc module documentation in doc/lua-filters.md was automatically generated from `data/pandoc.lua`. A make target is provided which uses a lua filter to update the documentation.
* Use latest skylighting.John MacFarlane2017-09-28
|
* Support R filters #3940 (#3941)Andrie de Vries2017-09-28
|
* Muse reader: parse anchorsAlexander Krotov2017-09-28
|
* Updated AUTHORS.John MacFarlane2017-09-27
|
* RST writer: add header anchors when header has non-standard id.John MacFarlane2017-09-27
| | | | Closes #3937.
* Travis: add travis_wait to prevent timing out if no output.John MacFarlane2017-09-27
|
* Lua filters: set global FORMAT instead of args.John MacFarlane2017-09-26
| | | | This changes the type of runLuaFilter.
* Lua: set "arg" instead of "PandocParameters".John MacFarlane2017-09-26
| | | | | | | | | This is standard for lua scripts, and I see no reason to depart from the standard here. Also, "arg" is now pushed onto the stack before the script is loaded. Previously it was not, and thus "PandocParameters" was not available at the top level.
* Muse reader: test metadata parsingAlexander Krotov2017-09-26
|
* Fix a typo: s/collabarators/collaborators/Alexander Krotov2017-09-26
|
* Org reader: update emphasis border charsAlbert Krewinkel2017-09-25
| | | | | | | | | | The org reader was updated to match current org-mode behavior: the set of characters which are acceptable to occur as the first or last character in an org emphasis have been changed and now allows all non-whitespace chars at the inner border of emphasized text (see `org-emphasis-regexp-components`). Fixes: #3933
* Fixe another changelog error.John MacFarlane2017-09-24
|
* changelog - fix a few spurious footnotes.John MacFarlane2017-09-24
|
* Added ghc 8.2.1 to tested-with stanza.John MacFarlane2017-09-24
|
* Use pandoc-types 1.17.2.John MacFarlane2017-09-24
|
* Document possible return values of lua filter functionsAlbert Krewinkel2017-09-24
| | | | This is mostly copy'n'pasted from the pandocfilters documentation.
* Allow lua filters to return lists of elementsAlbert Krewinkel2017-09-24
| | | | Closes: #3918
* Require pandoc-types 1.17.2.John MacFarlane2017-09-24
|
* stack.yaml - use new pandoc-citeproc (from git repo).John MacFarlane2017-09-23
|
* Fixed bug in determining writer for xelatex engine.John MacFarlane2017-09-20
| | | | This revises the last commit, fixing #3931.
* Fix and simply latex engine code in App.John MacFarlane2017-09-19
| | | | Fixes #3931.
* linux/Makefile - added interact target.John MacFarlane2017-09-19
|
* stack.pkg.yaml - use latest pandoc-citeproc.John MacFarlane2017-09-17
|
* Added `--strip-comments` option, `readerStripComments` in `ReaderOptions`.John MacFarlane2017-09-17
| | | | | | | | | | * Options: Added readerStripComments to ReaderOptions. * Added `--strip-comments` command-line option. * Made `htmlTag` from the HTML reader sensitive to this feature. This affects Markdown and Textile input. Closes #2552.
* Adjusted headings in using-the-pandoc-api.md.John MacFarlane2017-09-16
|
* Removed customizing-pandoc.md from doc/, added filters.md.John MacFarlane2017-09-16
| | | | | filters.md is essentially the scripting tutorial from the webiste.
* Moved ldoc.ltp from doc to tools.John MacFarlane2017-09-16
| | | | | | doc should be reserved for actual documents, I think. @tarleb - will this cause a problem?
* Markdown reader: added inlines, inlines1.John MacFarlane2017-09-16
| | | | | | | | Eventually we'll add `processEmphasis` and `processBracketed` to this. This will allow us to conform to CommonMark rules and fix #3903 and #1735.
* Set PANDOC_READER_OPTIONS in environment where filters are run.John MacFarlane2017-09-15
| | | | This contains a JSON representation of ReaderOptions.
* Use skylighting 0.4.John MacFarlane2017-09-15
|
* Remove To/FromJSON instance for WriterOptions.John MacFarlane2017-09-15
| | | | | This required the (now removed) instances for Syntax. It was too long, anyway, to be of use.
* FromJSON/ToJSON instances for Reader, WriterOptions.John MacFarlane2017-09-14
| | | | Depends on skylighting 0.3.5.
* Use texmath 0.9.4.2 in stack.yaml.John MacFarlane2017-09-13
|
* Textile reader: allow 'pre' code in list item.John MacFarlane2017-09-12
| | | | Closes #3916.
* Move 'tables in footnotes' fix out of beamer part of default.latex.John MacFarlane2017-09-12
| | | | | | This caused an error in beamer. Footnotes already work in tables in beamer, without this code.
* Add default pdf engine for beamer.John MacFarlane2017-09-12
|
* Use defaultLatexEngine instead of `head latexEngines`.John MacFarlane2017-09-12
| | | | Partial functions make me nervous.
* Update MANUAL.txt (#3919)Ian2017-09-12
| | | Add URL for Prince HTML > PDF engine
* Support for PDF generation via `weasyprint` and `prince` (#3909)Mauro Bieg2017-09-11
| | | | | | | * Rename --latex-engine to --pdf-engine * In `Text.Pandoc.Options.WriterOptions`, rename `writerLaTeXEngine` to `writerPdfEngine` and `writerLaTeXArgs` to `writerPdfArgs`. * Add support for `weasyprint` and `prince`, in addition to `wkhtmltopdf`, for PDF generation via HTML (closes #3906). * `Text.Pandoc.PDF.html2pdf`: use stdin instead of intermediate HTML file
* Merge pull request #3911 from labdsf/muse-reader-bracesJohn MacFarlane2017-09-11
|\ | | | | Muse reader: parse {{{ }}} example syntax
| * Muse reader: parse {{{ }}} example syntaxAlexander Krotov2017-09-11
| |