summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge pull request #3951 from greut/patch-1John MacFarlane2017-10-03
|\ | | | | Load Google Font using HTTPS by default
| * Load Google Font using HTTPS by defaultYoan Blanc2017-10-03
| | | | | | Otherwise they won't show up in current version of firefox/chromium.
* | Merge pull request #3952 from tarleb/lua-pipe-wrapperJohn MacFarlane2017-10-03
|\ \ | | | | | | Lua pipe wrapper
| * | pandoc.lua: use wrapper funciton for pipe commandAlbert Krewinkel2017-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pipe command is wrapped in a lua function, throwing a lua error if the command returns with an error. A wrapper is needed as Haskell functions exposed to lua may not throw lua errors due to limitations of hslua. The error handling is written such that a table can be returned as an error object in the future. This is potentially useful when finer control is required while catching the error in lua code. Current limitations of hslua require error objects to be strings.
| * | Lua.PandocModule: promote addFunction to top levelAlbert Krewinkel2017-10-03
| |/ | | | | | | This reduces some boilerplate.
* | Use latest pandoc-citeproc for pkg build.John MacFarlane2017-10-03
| |
* | Travis: don't turn on -Werror for dependencies!John MacFarlane2017-10-03
| |
* | Travis: don't build benchmarks on ghc 7.10.3 or 8.0.2.John MacFarlane2017-10-03
|/ | | | The build is timing out, maybe this will help.
* Removed spuriously added test/pandoc.tix.John MacFarlane2017-10-02
|
* Markdown reader: Fixed bug with indented code following raw LaTeX.John MacFarlane2017-10-02
| | | | Closes #3947.
* Org reader: support `\n` export optionAlbert Krewinkel2017-10-02
| | | | | | | The `\n` export option turns all newlines in the text into hard linebreaks. Closes #3950
* Lua: added 'pipe', which encapsulates Text.Pandoc.Process.pipeProcess.John MacFarlane2017-10-01
| | | | This is hard to do in lua, so it's helpful to provide this.
* Lua: move sha1 from pandoc.mediabag to pandoc.John MacFarlane2017-10-01
|
* Lua: use sha1 instead of hashname.John MacFarlane2017-09-30
| | | | Better to leave control over the extension to the user.
* Lua: make fetch return mime type first and then content.John MacFarlane2017-09-30
|
* Lua: simply mediabag module.John MacFarlane2017-09-30
| | | | | | Now 'fetch' simply fetches content and mime type. A new 'hashname' function is provided to get a filename based on the sha1 hash of the contents and the mime type.
* Lua: make lua.mediabag.fetch return filename and mime type.John MacFarlane2017-09-30
| | | | | This is necessary because you may need to insert the filename into an image or link element.
* Lua filters: make sure whole CommonState is passed through...John MacFarlane2017-09-30
| | | | to insertResource (`fetch`).
* EPUB writer: simplified some functions.John MacFarlane2017-09-30
|
* 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
|