Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-10-04 | hlint Muse writer | Alexander Krotov | 1 | -1/+1 | |
2019-09-28 | More throwError in place of fail. | John MacFarlane | 1 | -1/+2 | |
2019-09-28 | Replace some more fails with throwErrors. | John MacFarlane | 1 | -1/+2 | |
2019-09-28 | Use throwError instead of fail when appropriate. | John MacFarlane | 1 | -1/+4 | |
2019-09-28 | Use Prelude.fail to avoid ambiguity with fail from GHC.Base. | John MacFarlane | 1 | -3/+3 | |
2019-08-25 | Use new doctemplates, doclayout. | John MacFarlane | 1 | -28/+28 | |
+ Remove Text.Pandoc.Pretty; use doclayout instead. [API change] + Text.Pandoc.Writers.Shared: remove metaToJSON, metaToJSON' [API change]. + Text.Pandoc.Writers.Shared: modify `addVariablesToContext`, `defField`, `setField`, `getField`, `resetField` to work with Context rather than JSON values. [API change] + Text.Pandoc.Writers.Shared: export new function `endsWithPlain` [API change]. + Use new templates and doclayout in writers. + Use Doc-based templates in all writers. + Adjust three tests for minor template rendering differences. + Added indentation to body in docbook4, docbook5 templates. The main impact of this change is better reflowing of content interpolated into templates. Previously, interpolated variables were rendered independently and intepolated as strings, which could lead to overly long lines. Now the templates interpolated as Doc values which may include breaking spaces, and reflowing occurs after template interpolation rather than before. | |||||
2019-07-28 | Use doctemplates 0.3, change type of writerTemplate. | John MacFarlane | 1 | -4/+5 | |
* Require recent doctemplates. It is more flexible and supports partials. * Changed type of writerTemplate to Maybe Template instead of Maybe String. * Remove code from the LaTeX, Docbook, and JATS writers that looked in the template for strings to determine whether it is a book or an article, or whether csquotes is used. This was always kludgy and unreliable. To use csquotes for LaTeX, set `csquotes` in your variables or metadata. It is no longer sufficient to put `\usepackage{csquotes}` in your template or header includes. To specify a book style, use the `documentclass` variable or `--top-level-division`. * Change template code to use new API for doctemplates. | |||||
2019-07-14 | Muse: add RTL support | Alexander Krotov | 1 | -5/+9 | |
Closes #5551 | |||||
2019-05-27 | consolidate simple-table detection (#5524) | Mauro Bieg | 1 | -11/+1 | |
add `onlySimpleTableCells` to `Text.Pandoc.Shared` [API change] This fixes an inconsistency in the HTML reader, which did not treat tables with `<p>` inside cells as simple. | |||||
2019-05-25 | Muse writer: do not escape empty line after <br> | Alexander Krotov | 1 | -4/+5 | |
2019-03-01 | Remove license boilerplate. | John MacFarlane | 1 | -18/+0 | |
The haddock module header contains essentially the same information, so the boilerplate is redundant and just one more thing to get out of sync. | |||||
2019-02-18 | hlint Muse | Alexander Krotov | 1 | -2/+2 | |
2019-02-18 | Muse writer: escape secondary notes | Alexander Krotov | 1 | -7/+10 | |
2019-02-18 | Move a comment in Muse Writer | Alexander Krotov | 1 | -1/+1 | |
2019-02-04 | Add missing copyright notices and remove license boilerplate (#5112) | Albert Krewinkel | 1 | -2/+2 | |
Quite a few modules were missing copyright notices. This commit adds copyright notices everywhere via haddock module headers. The old license boilerplate comment is redundant with this and has been removed. Update copyright years to 2019. Closes #4592. | |||||
2018-11-15 | Muse writer: output tables as grid tables if they have multi-line cells | Alexander Krotov | 1 | -1/+13 | |
2018-11-14 | Muse writer: indent simple tables only on the top level | Alexander Krotov | 1 | -4/+5 | |
2018-11-14 | Muse writer: simplify "simpleTable" | Alexander Krotov | 1 | -7/+4 | |
2018-11-14 | Muse writer: remove outdated comments | Alexander Krotov | 1 | -3/+0 | |
2018-11-13 | Muse writer: output tables with one column as grid tables | Alexander Krotov | 1 | -1/+1 | |
2018-11-11 | Text.Pandoc.Shared: add parameter to uniqueIdent, inlineListToIdentifier. | John MacFarlane | 1 | -1/+1 | |
The parameter is Extensions. This allows these functions to be sensitive to the settings of `Ext_gfm_auto_identifiers` and `Ext_ascii_identifiers`. This allows us to use `uniqueIdent` in the CommonMark reader, replacing some custom code. It also means that `gfm_auto_identifiers` can now be used in all formats. Semantically, `gfm_auto_identifiers` is now a modifier of `auto_identifiers`; for identifiers to be set, `auto_identifiers` must be turned on, and then the type of identifier produced depends on `gfm_auto_identifiers` and `ascii_identifiers` are set. Closes #5057. | |||||
2018-11-06 | hlint Muse writer | Alexander Krotov | 1 | -1/+1 | |
2018-11-05 | Muse writer: add support for --reference-location= | Alexander Krotov | 1 | -6/+44 | |
Address #107 | |||||
2018-10-25 | Muse writer: add support for grid tables | Alexander Krotov | 1 | -23/+35 | |
2018-10-23 | Fix Muse writer style | Alexander Krotov | 1 | -42/+42 | |
2018-10-23 | Muse writer: use length instead of realLength to calculate definition ↵ | Alexander Krotov | 1 | -1/+2 | |
indentation Muse parsers don't take character width into account when calculating indentation. | |||||
2018-10-23 | Muse writer: do not insert newline before lists | Alexander Krotov | 1 | -3/+3 | |
2018-10-23 | Muse writer: code cleanup | Alexander Krotov | 1 | -4/+2 | |
2018-10-22 | Reduce code duplication in Muse writer | Alexander Krotov | 1 | -34/+18 | |
2018-10-22 | hlint Muse writer | Alexander Krotov | 1 | -5/+3 | |
2018-10-21 | Muse writer: use lightweight markup after </em> tag | Alexander Krotov | 1 | -0/+1 | |
2018-10-09 | hlint Muse writer | Alexander Krotov | 1 | -4/+4 | |
2018-09-16 | Muse writer: replace newlines in strings with spaces | Alexander Krotov | 1 | -1/+7 | |
2018-09-16 | Muse writer: output headers without asterisks if not on the top level | Alexander Krotov | 1 | -2/+3 | |
2018-09-12 | Muse writer: never wrap definition list terms | Alexander Krotov | 1 | -1/+1 | |
2018-09-11 | Muse writer: set envInsideBlock = True when rendering notes | Alexander Krotov | 1 | -1/+2 | |
2018-09-11 | Muse writer: use "" instead of [] for empty String | Alexander Krotov | 1 | -1/+1 | |
2018-09-11 | Muse writer: check for whitespace in the beginning and end of Str's | Alexander Krotov | 1 | -0/+2 | |
2018-09-11 | Muse writer: escape -, ; and > in the beginning of strings | Alexander Krotov | 1 | -3/+6 | |
2018-09-11 | Muse writer: escape list markers in the beginning of notes | Alexander Krotov | 1 | -1/+4 | |
2018-09-11 | Muse writer: normalize inline list before testing if tags should be used | Alexander Krotov | 1 | -19/+18 | |
2018-09-11 | Muse writer: use tags instead of lightweight markup for empty strings | Alexander Krotov | 1 | -4/+9 | |
2018-09-02 | Muse writer: hlint | Alexander Krotov | 1 | -4/+4 | |
2018-09-02 | Muse writer: use lightweight markup when possible | Alexander Krotov | 1 | -19/+123 | |
2018-09-02 | Muse writer: add more comments | Alexander Krotov | 1 | -2/+2 | |
2018-09-02 | Muse writer: escape empty strings | Alexander Krotov | 1 | -1/+2 | |
This guarantees that conditionalEscapeString never returns empty string. | |||||
2018-09-01 | Muse writer: wrap conditionalEscapeString result into "Muse" type | Alexander Krotov | 1 | -22/+28 | |
This removes the need to pass envInsideLinkDescription to it. | |||||
2018-09-01 | Muse writer: separate "shouldEscapeString" function | Alexander Krotov | 1 | -6/+11 | |
2018-08-31 | Muse writer: simplify inline list rendering | Alexander Krotov | 1 | -15/+12 | |
2018-05-07 | Muse writer: add support for left-align and right-align classes | Alexander Krotov | 1 | -2/+8 | |
Address issue #4542 |