aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-09-30Removed unneeded import.John MacFarlane1-1/+0
2017-09-30Removed Verbosity and MediaBag params from makePDF.John MacFarlane2-36/+29
They can be obtained from CommonState since we're in PandocIO.
2017-09-30Text.Pandoc.Class - add getVerbosity.John MacFarlane1-0/+5
2017-09-30Removed writerSourceURL, add source URL to common state.John MacFarlane17-123/+118
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`.
2017-09-30Merge pull request #3945 from tarleb/lua-mediabagJohn MacFarlane6-41/+252
Lua mediabag module
2017-09-30Provide make target to update lua module docs (#3946)Albert Krewinkel3-46/+89
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.
2017-09-30doc/lua-filters.md: document mediabag submoduleAlbert Krewinkel1-0/+77
2017-09-30Run Lua filters before extracting mediaAlbert Krewinkel1-2/+2
This enables users to change the media files being extracted via lua filters.
2017-09-30Text.Pandoc.Lua: add mediabag submoduleAlbert Krewinkel5-39/+173
2017-09-28Use latest skylighting.John MacFarlane2-2/+2
2017-09-28Support R filters #3940 (#3941)Andrie de Vries1-0/+1
2017-09-28Muse reader: parse anchorsAlexander Krotov2-1/+31
2017-09-27Updated AUTHORS.John MacFarlane1-0/+16
2017-09-27RST writer: add header anchors when header has non-standard id.John MacFarlane2-1/+19
Closes #3937.
2017-09-27Travis: add travis_wait to prevent timing out if no output.John MacFarlane1-0/+1
2017-09-26Lua filters: set global FORMAT instead of args.John MacFarlane3-8/+12
This changes the type of runLuaFilter.
2017-09-26Lua: set "arg" instead of "PandocParameters".John MacFarlane1-2/+2
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.
2017-09-26Muse reader: test metadata parsingAlexander Krotov2-2/+8
2017-09-26Fix a typo: s/collabarators/collaborators/Alexander Krotov1-1/+1
2017-09-25Org reader: update emphasis border charsAlbert Krewinkel2-12/+12
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
2017-09-24Fixe another changelog error.John MacFarlane1-17/+17
2017-09-24changelog - fix a few spurious footnotes.John MacFarlane1-3/+3
2017-09-24Added ghc 8.2.1 to tested-with stanza.John MacFarlane1-1/+1
2017-09-24Use pandoc-types 1.17.2.John MacFarlane2-6/+2
2017-09-24Document possible return values of lua filter functionsAlbert Krewinkel1-5/+16
This is mostly copy'n'pasted from the pandocfilters documentation.
2017-09-24Allow lua filters to return lists of elementsAlbert Krewinkel3-61/+93
Closes: #3918
2017-09-24Require pandoc-types 1.17.2.John MacFarlane1-2/+2
2017-09-23stack.yaml - use new pandoc-citeproc (from git repo).John MacFarlane1-0/+4
2017-09-20Fixed bug in determining writer for xelatex engine.John MacFarlane1-1/+1
This revises the last commit, fixing #3931.
2017-09-19Fix and simply latex engine code in App.John MacFarlane1-47/+44
Fixes #3931.
2017-09-19linux/Makefile - added interact target.John MacFarlane1-1/+5
2017-09-17stack.pkg.yaml - use latest pandoc-citeproc.John MacFarlane1-1/+1
2017-09-17Added `--strip-comments` option, `readerStripComments` in `ReaderOptions`.John MacFarlane6-8/+46
* 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.
2017-09-16Adjusted headings in using-the-pandoc-api.md.John MacFarlane1-6/+35
2017-09-16Removed customizing-pandoc.md from doc/, added filters.md.John MacFarlane3-28/+480
filters.md is essentially the scripting tutorial from the webiste.
2017-09-16Moved ldoc.ltp from doc to tools.John MacFarlane1-0/+0
doc should be reserved for actual documents, I think. @tarleb - will this cause a problem?
2017-09-16Markdown reader: added inlines, inlines1.John MacFarlane1-18/+23
Eventually we'll add `processEmphasis` and `processBracketed` to this. This will allow us to conform to CommonMark rules and fix #3903 and #1735.
2017-09-15Set PANDOC_READER_OPTIONS in environment where filters are run.John MacFarlane1-7/+16
This contains a JSON representation of ReaderOptions.
2017-09-15Use skylighting 0.4.John MacFarlane3-4/+4
2017-09-15Remove To/FromJSON instance for WriterOptions.John MacFarlane1-4/+0
This required the (now removed) instances for Syntax. It was too long, anyway, to be of use.
2017-09-14FromJSON/ToJSON instances for Reader, WriterOptions.John MacFarlane5-4/+22
Depends on skylighting 0.3.5.
2017-09-13Use texmath 0.9.4.2 in stack.yaml.John MacFarlane2-0/+2
2017-09-12Textile reader: allow 'pre' code in list item.John MacFarlane2-8/+15
Closes #3916.
2017-09-12Move 'tables in footnotes' fix out of beamer part of default.latex.John MacFarlane1-2/+3
This caused an error in beamer. Footnotes already work in tables in beamer, without this code.
2017-09-12Add default pdf engine for beamer.John MacFarlane1-0/+1
2017-09-12Use defaultLatexEngine instead of `head latexEngines`.John MacFarlane1-3/+9
Partial functions make me nervous.
2017-09-12Update MANUAL.txt (#3919)Ian1-1/+2
Add URL for Prince HTML > PDF engine
2017-09-11Support for PDF generation via `weasyprint` and `prince` (#3909)Mauro Bieg6-76/+127
* 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
2017-09-11Merge pull request #3911 from labdsf/muse-reader-bracesJohn MacFarlane2-1/+41
Muse reader: parse {{{ }}} example syntax
2017-09-11Merge pull request #3917 from labdsf/muse-reader-emphasis-wordJohn MacFarlane2-4/+21
Muse reader: allow inline markup to be followed by punctuation