Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-03-15 | Use tasty-golden for golden tests in Old. | John MacFarlane | 2 | -39/+54 | |
2017-03-14 | Command tests: just findPandoc once. | John MacFarlane | 1 | -4/+4 | |
2017-03-14 | Removed unneeded import. | John MacFarlane | 1 | -1/+0 | |
2017-03-14 | Got rid of distracting warning in test output. | John MacFarlane | 1 | -2/+2 | |
2017-03-14 | Small test plumbing improvement. | John MacFarlane | 1 | -11/+11 | |
2017-03-14 | Use tasty for tests rather than test-framework. | John MacFarlane | 29 | -142/+137 | |
2017-03-13 | Removed unused symbol. | John MacFarlane | 1 | -1/+0 | |
2017-03-13 | Better handling of \part in LaTeX. | John MacFarlane | 4 | -10/+48 | |
Closes #1905. Removed stateChapters from ParserState. Now we parse chapters as level 0 headers, and parts as level -1 headers. After parsing, we check for the lowest header level, and if it's less than 1 we bump everything up so that 1 is the lowest header level. So `\part` will always produce a header; no command-line options are needed. | |||||
2017-03-13 | Docx writer: Support 9 levels of headers. | John MacFarlane | 2 | -5/+66 | |
Closes #1642. | |||||
2017-03-13 | RST writer: convert to PandocMonad, report on unrendered raw items. | John MacFarlane | 2 | -33/+41 | |
2017-03-13 | ISSUE_TEMPLATE: add URL for pandoc-discuss. | John MacFarlane | 1 | -2/+3 | |
2017-03-13 | Added github ISSUE_TEMPLATE. | John MacFarlane | 1 | -0/+10 | |
2017-03-13 | Highlighting: highlighting now returns an Either rather than Maybe. | John MacFarlane | 5 | -25/+44 | |
This allows us to display error information returned by the skylighting library. Display a warning if the highlighting library throws an error. | |||||
2017-03-13 | Put TEI writer inside PandocMonad. Added warnings for omitted raw elements. | John MacFarlane | 2 | -149/+166 | |
Also added identifiers on `<div>` elements. These were commented out before, not sure why? | |||||
2017-03-12 | Org reader: interpret more meta value as inlines | Albert Krewinkel | 1 | -4/+9 | |
The values of the following meta variables are now interpreted using org-markup instead of treating them as pure strings: - *keywords*: comma-separated list of inlines - *subtitle*: inline values - *nocite*: inline values; using it multiple times accumulates the values. | |||||
2017-03-12 | Converted DokuWiki writer to use PandocMonad. | John MacFarlane | 1 | -25/+34 | |
2017-03-12 | MediaWiki writer: use PandocMonad. | John MacFarlane | 1 | -23/+29 | |
2017-03-12 | Issue warning for duplicate header identifiers. | John MacFarlane | 6 | -8/+46 | |
As noted in the previous commit, an autogenerated identifier may still coincide with an explicit identifier that is given for a header later in the document, or with an identifier on a div, span, link, or image. This commit adds a warning in this case, so users can supply an explicit identifier. * Added `DuplicateIdentifier` to LogMessage. * Modified HTML, Org, MediaWiki readers so their custom state type is an instance of HasLogMessages. This is necessary for `registerHeader` to issue warnings. See #1745. | |||||
2017-03-12 | Improved behavior of `auto_identifiers` when there are explicit ids. | John MacFarlane | 2 | -1/+15 | |
Previously only autogenerated ids were added to the list of header identifiers in state, so explicit ids weren't taken into account when generating unique identifiers. Duplicated identifiers could result. This simple fix ensures that explicitly given identifiers are also taken into account. Fixes #1745. Note some limitations, however. An autogenerated identifier may still coincide with an explicit identifier that is given for a header later in the document, or with an identifier on a div, span, link, or image. Fixing this would be much more difficult, because we need to run `registerHeader` before we have the complete parse tree (so we can't get a complete list of identifiers from the document by walking the tree). However, it might be worth issuing warnings for duplicate header identifiers; I think we can do that. It is not common for headers to have the same text, and the issue can always be worked around by adding explicit identifiers, if the user is aware of it. | |||||
2017-03-12 | Revert "Shared: export extractIds." | John MacFarlane | 1 | -20/+0 | |
This reverts commit 0ef1e51211cd35b1ddb54a5fe8bee4247f1e1801. | |||||
2017-03-12 | Shared: export extractIds. | John MacFarlane | 1 | -0/+20 | |
This will be used to help with #1745. | |||||
2017-03-12 | MANUAL: Small clarification in YAML metadata section. | John MacFarlane | 1 | -1/+1 | |
2017-03-11 | Changed test case labeled 3384.md to 3348.md. | John MacFarlane | 1 | -0/+0 | |
The last commit referred to #3384, but should have closed #3348. | |||||
2017-03-11 | Markdown writer: fixed bugs in simple/multiline list output. | John MacFarlane | 2 | -10/+24 | |
* Previously we got overlong lists with `--wrap=none`. This is fixed. * Previously a multiline list could become a simple list (and would always become one with `--wrap=none`). Closes #3384. | |||||
2017-03-11 | Markdown reader: optimized nonindentSpaces. | John MacFarlane | 1 | -6/+3 | |
Makes the benchmark go from 40 to 36 ms. | |||||
2017-03-10 | ConTeXt writer: converted to use PandocMonad. | John MacFarlane | 1 | -19/+28 | |
2017-03-10 | Removed normalizeSpaces from Text.Pandoc.Shared. | John MacFarlane | 3 | -23/+9 | |
Rewrote functions in RST reader and writer to avoid the need for it. Closes #1530. | |||||
2017-03-10 | Docx reader: more efficient trimSps. | John MacFarlane | 1 | -9/+9 | |
Replacing trimLineBreaks. This does the work of normalizeSpaces as well, so we avoid the need for that function here. See #1530. | |||||
2017-03-10 | Shared.normalizeSpaces: strip off leading/trailing line breaks... | John MacFarlane | 1 | -2/+4 | |
...not just spaces. | |||||
2017-03-10 | Add Muse writer (#3489) | Alexander Krotov | 12 | -3/+1489 | |
* Add Muse writer * Advertise new Muse writer * Muse writer: add regressions tests | |||||
2017-03-10 | stack.yaml: Use texmath 0.9.3. | John MacFarlane | 2 | -2/+2 | |
2017-03-10 | Use pMacroDefinition in macro (for more direct parsing). | John MacFarlane | 1 | -13/+8 | |
This is newly exported in texmath 0.9.3. Note that this means that `macro` will now parse one macro at a time, rather than parsing a whole group together. | |||||
2017-03-10 | Expand \newenvironment macros. | John MacFarlane | 3 | -11/+25 | |
Closes #987. Depends on still unreleased texmath 0.9.3. | |||||
2017-03-09 | LaTeX reader: Treat `{{xxx}}` the same as `{xxx}`. | John MacFarlane | 1 | -9/+14 | |
Closes #2115. | |||||
2017-03-09 | Changed display format for messages. | John MacFarlane | 1 | -8/+8 | |
2017-03-09 | HTML writer: info message if 'lang' is unspecified. | John MacFarlane | 1 | -1/+4 | |
Closes #3486. | |||||
2017-03-09 | Logging: Added NoLangSpecified, use toConstr to avoid boilerplate. | John MacFarlane | 1 | -42/+30 | |
2017-03-09 | HTML writer: fallback to basename rather than Untitled. | John MacFarlane | 3 | -6/+7 | |
2017-03-08 | Remove space at beginning/end of RST code span. | John MacFarlane | 1 | -1/+4 | |
Otherwise we get invalid RST. There seems to be no way to escape the space. Closes #3496. | |||||
2017-03-08 | Org reader: disallow tables on list marker lines | Albert Krewinkel | 2 | -4/+14 | |
Fixes: #3499 | |||||
2017-03-08 | Travis: Remove GHC HEAD build. | John MacFarlane | 1 | -3/+3 | |
This pretty much always fails due to dependencies. | |||||
2017-03-08 | Travis: comment out OSX build. | John MacFarlane | 1 | -3/+3 | |
This always takes forever to complete. Since I develop on OSX anyway, it's not so urgent. | |||||
2017-03-08 | Markdown writer: Avoid spurious blanklines at end of document... | John MacFarlane | 7 | -18/+6 | |
after tables and list, for example. | |||||
2017-03-08 | Markdown writer: ensure space before list at top level. | John MacFarlane | 2 | -22/+44 | |
Closes #3487. | |||||
2017-03-08 | Org reader: don't allow tables inside list items. | John MacFarlane | 2 | -0/+13 | |
Closes #3499. | |||||
2017-03-08 | Added test case for #3497. | John MacFarlane | 1 | -0/+51 | |
2017-03-08 | Markdown writer: escape unordered list markers at beginning of paragraph | John MacFarlane | 1 | -12/+20 | |
to avoid false interpretation as a list. Also handle `|`, and refactor code for escaping `%`. Closes #3497. | |||||
2017-03-07 | stack.yamls: use lts-8.4 and texmath-0.9.1.1. | John MacFarlane | 2 | -2/+4 | |
2017-03-07 | Re-enable support for custom lua writers. | John MacFarlane | 1 | -1/+3 | |
Closes #3495. | |||||
2017-03-07 | Speed up Native writer quickcheck tests. | John MacFarlane | 1 | -2/+4 | |