Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-10-24 | Added some haddock docs for Text.Pandoc.Class functions. | John MacFarlane | 1 | -3/+22 | |
2017-10-24 | HTML reader: close td/th should close any open block tag... | John MacFarlane | 1 | -0/+2 | |
Closes #3991. | |||||
2017-10-24 | HTML reader: td should close an open th or td. | John MacFarlane | 1 | -0/+1 | |
2017-10-24 | Revert "HTML reader: td or th implicitly closes blocks within last td/th." | John MacFarlane | 1 | -5/+1 | |
This reverts commit d2c4243f89a6368d4f9f8a511d9b026d0be19cd8. | |||||
2017-10-24 | HTML reader: td or th implicitly closes blocks within last td/th. | John MacFarlane | 1 | -1/+5 | |
2017-10-24 | Fenced divs: ensure that paragraph at end doesn't become Plain. | John MacFarlane | 1 | -4/+9 | |
Added test case. | |||||
2017-10-23 | Back to using [WARNING] and [INFO] to mark messages. | John MacFarlane | 1 | -4/+2 | |
2017-10-23 | Implemented fenced Divs. | John MacFarlane | 3 | -0/+32 | |
+ Added Ext_fenced_divs to Extensions (default for pandoc Markdown). + Document fenced_divs extension in manual. + Implemented fenced code divs in Markdown reader. + Added test. Closes #168. | |||||
2017-10-23 | HTML reader: `htmlTag` improvements. | John MacFarlane | 1 | -8/+19 | |
We previously failed on cases where an attribute contained a `>` character. This patch fixes the bug. Closes #3989. | |||||
2017-10-23 | More pleasing presentation of warnings and info messages. | John MacFarlane | 1 | -4/+5 | |
!! warning -- info | |||||
2017-10-23 | Downgraded SkippedContent and DocxParserWarning from WARNING to INFO | John MacFarlane | 1 | -2/+2 | |
2017-10-22 | LaTeX Reader: support \lettrine | mb21 | 1 | -0/+1 | |
2017-10-22 | LaTeX Reader: use opt function consistently | mb21 | 1 | -3/+3 | |
2017-10-21 | In rendering PandocParsecError, only print input at error location... | John MacFarlane | 1 | -1/+6 | |
if the source name is `source` (i.e., the top level). Otherwise results will be misleading, since what readM does is to look up the source position of the error in the *original* input, which may not match the input used by parseFromString or in parsing from an included file. Closes #3865. Not a great fix, maybe there's something better that could be done, but this should at least avoid misleading messages. | |||||
2017-10-20 | SelfContained: data-background-image instead of data-background. | John MacFarlane | 1 | -1/+1 | |
Really closes #3979. | |||||
2017-10-19 | LaTeX reader: be more forgiving in parsing command options. | John MacFarlane | 1 | -2/+2 | |
This was needed, for example, to make some minted options work. | |||||
2017-10-19 | LaTeX reader: Strip off quotes in `\include` filenames. | John MacFarlane | 1 | -1/+2 | |
2017-10-19 | LaTeX reader: support `\expandafter`. | John MacFarlane | 1 | -6/+19 | |
Closes #3983. | |||||
2017-10-19 | LaTeX reader: handle `\DeclareRobustCommand`. | John MacFarlane | 1 | -2/+3 | |
Currently it's just treated as a synonym for `\newcommand`. Handles the second case mentioned in #3983. | |||||
2017-10-17 | Latex reader: Skip spaces in image options | Ben Firshman | 1 | -0/+2 | |
2017-10-16 | SelfContained: handle data-background attribute on section. | John MacFarlane | 1 | -2/+3 | |
This should help with #3979. In my test, I got a data uri for data-background. But it didn't actually work in the browser (the background image didn't show). Not sure whether this is a problem in reveal.js or a problem in pandoc... | |||||
2017-10-16 | HTML writer: don't add data- prefix to unknown attributes beginning with data-. | John MacFarlane | 1 | -0/+1 | |
Or we'll get data-data-blah. | |||||
2017-10-16 | Improved handling of include files in LaTeX reader. | John MacFarlane | 2 | -61/+81 | |
Previously `\include` wouldn't work if the included file contained, e.g., a begin without a matching end. We've changed the Tok type so that it stores a full SourcePos, rather than just a line and column. So tokens keeep track of the file they came from. This allows us to use a simpler method for includes, which doesn't require parsing the included document as a whole. Closes #3971. | |||||
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. |