Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-10-16 | RST writer: correctly handle inline code containing backticks. | John MacFarlane | 1 | -2/+7 | |
(Use a :literal: role.) Closes #3974. | |||||
2017-10-16 | RST writer: don't backslash-escape word-internal punctuation. | John MacFarlane | 1 | -15/+18 | |
Closes #3978. | |||||
2017-10-15 | App: added --request-header option. | John MacFarlane | 1 | -8/+17 | |
2017-10-15 | Remove openURL from Shared (API change). | John MacFarlane | 2 | -58/+45 | |
Now all the guts of openURL have been put into openURL from Class. openURL is now sensitive to stRequestHeaders in CommonState and will add these custom headers when making a request. It no longer looks at the USER_AGENT environment variable, since you can now set the `User-Agent` header directly. | |||||
2017-10-15 | Class: add stRequestHeaders to CommonState, and setRequestHeader. | John MacFarlane | 1 | -0/+13 | |
2017-10-15 | Handle unknown options in form `--latex-engine=foo`. | John MacFarlane | 1 | -1/+2 | |
Previously these were not triggering the helpful message about option name changes. | |||||
2017-10-13 | Merge pull request #3970 from d-dorazio/master | John MacFarlane | 1 | -2/+4 | |
markdown writer: always write bracketed_spans' attributes | |||||
2017-10-13 | CommonMark writer: omit "fig:" prefix in image titles. | John MacFarlane | 1 | -0/+3 | |
This is used internally to indicate internal figures. See https://groups.google.com/d/msgid/pandoc-discuss/892c5a25-086a-4e19-b4c1-8 975cea8df0f@googlegroups.com?utm_medium=email&utm_source=footer | |||||
2017-10-13 | markdown writer: always write bracketed_spans' attributes | d-dorazio | 1 | -2/+4 | |
2017-10-11 | ConTeXt writer: Use identifiers for chapters. | John MacFarlane | 1 | -6/+7 | |
Closes #3968. | |||||
2017-10-11 | FB2 Writer: format LineBlock as poem | Alexander Krotov | 1 | -2/+6 | |
Previously writer produced one paragraph with <empty-line/> elements, which are not allowed inside <p> according to FB2 schema. | |||||
2017-10-10 | docx writer - activate evenAndOddHeaders from reference doc | Agustín Martín Barbero | 1 | -0/+1 | |
Fixes #3901 by checking for the evenAndOddHeaders mark in the reference doc, and copying it to the resulting docx if present. | |||||
2017-10-09 | FB2 writer: replace concatMap with cMap | Alexander Krotov | 1 | -10/+10 | |
2017-10-09 | hlint FB2 writer | Alexander Krotov | 1 | -50/+50 | |
2017-10-08 | Shared.stringify, removeFormatting: handle Quoted better. | John MacFarlane | 1 | -2/+9 | |
Previously we were losing the qutation marks in Quoted elements. See #3958. | |||||
2017-10-08 | LaTeX reader: don't treat "..." as Quoted. | John MacFarlane | 1 | -2/+0 | |
This caused quotes to be omitted in `\texttt` contexts. Closes #3958. However, a better fix would be to modify the | |||||
2017-10-08 | Small logic fix. | John MacFarlane | 1 | -2/+1 | |
2017-10-08 | Org reader: end footnotes after two blank lines | Albert Krewinkel | 1 | -4/+5 | |
Footnotes can not only be terminated by the start of a new footnote or a header, but also by two consecutive blank lines. | |||||
2017-10-06 | Use mathjax 2.7.2 by default. | John MacFarlane | 1 | -1/+1 | |
2017-10-06 | Removed redundant import | John MacFarlane | 1 | -1/+0 | |
2017-10-06 | LaTeX reader: read polyglossia/babel \text($LANG){...}. | bucklereed | 1 | -113/+129 | |
2017-10-05 | KaTeX fixes: | John MacFarlane | 4 | -43/+21 | |
* In Options.HTMLMathMethod, the KaTeX contsructor now takes only one string (for the KaTeX base URL), rather than two [API change]. * The default URL has been updated to the latest version. * The autoload script is now loaded by default. | |||||
2017-10-05 | pandoc.lua: throw better error when pipe command fails | Albert Krewinkel | 1 | -3/+2 | |
A table containing the error code, command, and command output is thrown instead of just a string error message. | |||||
2017-10-05 | Use hslua v0.9.0 | Albert Krewinkel | 1 | -12/+1 | |
2017-10-03 | pandoc.lua: use wrapper funciton for pipe command | Albert Krewinkel | 1 | -1/+1 | |
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. | |||||
2017-10-03 | Lua.PandocModule: promote addFunction to top level | Albert Krewinkel | 1 | -14/+10 | |
This reduces some boilerplate. | |||||
2017-10-02 | Markdown reader: Fixed bug with indented code following raw LaTeX. | John MacFarlane | 1 | -1/+1 | |
Closes #3947. | |||||
2017-10-02 | Org reader: support `\n` export option | Albert Krewinkel | 3 | -2/+5 | |
The `\n` export option turns all newlines in the text into hard linebreaks. Closes #3950 | |||||
2017-10-01 | Lua: added 'pipe', which encapsulates Text.Pandoc.Process.pipeProcess. | John MacFarlane | 1 | -0/+17 | |
This is hard to do in lua, so it's helpful to provide this. | |||||
2017-10-01 | Lua: move sha1 from pandoc.mediabag to pandoc. | John MacFarlane | 1 | -1/+3 | |
2017-09-30 | Lua: use sha1 instead of hashname. | John MacFarlane | 1 | -13/+5 | |
Better to leave control over the extension to the user. | |||||
2017-09-30 | Lua: make fetch return mime type first and then content. | John MacFarlane | 1 | -1/+1 | |
2017-09-30 | Lua: simply mediabag module. | John MacFarlane | 1 | -15/+31 | |
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. | |||||
2017-09-30 | Lua: make lua.mediabag.fetch return filename and mime type. | John MacFarlane | 1 | -0/+4 | |
This is necessary because you may need to insert the filename into an image or link element. | |||||
2017-09-30 | Lua filters: make sure whole CommonState is passed through... | John MacFarlane | 2 | -14/+22 | |
to insertResource (`fetch`). | |||||
2017-09-30 | EPUB writer: simplified some functions. | John MacFarlane | 1 | -24/+18 | |
2017-09-30 | Removed unneeded import. | John MacFarlane | 1 | -1/+0 | |
2017-09-30 | Removed Verbosity and MediaBag params from makePDF. | John MacFarlane | 2 | -36/+29 | |
They can be obtained from CommonState since we're in PandocIO. | |||||
2017-09-30 | Text.Pandoc.Class - add getVerbosity. | John MacFarlane | 1 | -0/+5 | |
2017-09-30 | Removed writerSourceURL, add source URL to common state. | John MacFarlane | 14 | -115/+113 | |
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-30 | Run Lua filters before extracting media | Albert Krewinkel | 1 | -2/+2 | |
This enables users to change the media files being extracted via lua filters. | |||||
2017-09-30 | Text.Pandoc.Lua: add mediabag submodule | Albert Krewinkel | 4 | -36/+166 | |
2017-09-28 | Support R filters #3940 (#3941) | Andrie de Vries | 1 | -0/+1 | |
2017-09-28 | Muse reader: parse anchors | Alexander Krotov | 1 | -1/+11 | |
2017-09-27 | RST writer: add header anchors when header has non-standard id. | John MacFarlane | 1 | -1/+6 | |
Closes #3937. | |||||
2017-09-26 | Lua filters: set global FORMAT instead of args. | John MacFarlane | 2 | -8/+8 | |
This changes the type of runLuaFilter. | |||||
2017-09-26 | Lua: set "arg" instead of "PandocParameters". | John MacFarlane | 1 | -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-26 | Muse reader: test metadata parsing | Alexander Krotov | 1 | -2/+1 | |
2017-09-26 | Fix a typo: s/collabarators/collaborators/ | Alexander Krotov | 1 | -1/+1 | |
2017-09-25 | Org reader: update emphasis border chars | Albert Krewinkel | 1 | -3/+3 | |
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 |