Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-09-04 | Roff readers: better parsing of groups. | John MacFarlane | 1 | -1/+1 | |
We now allow groups where the closing `\\}` isn't at the beginning of a line. Closes #5410. | |||||
2019-07-28 | Use doctemplates 0.3, change type of writerTemplate. | John MacFarlane | 3 | -3/+3 | |
* 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-22 | Org reader: accept ATTR_LATEX in block attributes | Albert Krewinkel | 1 | -0/+7 | |
Attributes for LaTeX output are accepted as valid block attributes; however, their values are ignored. Fixes: #5648 | |||||
2019-07-14 | Muse: add RTL support | Alexander Krotov | 1 | -0/+3 | |
Closes #5551 | |||||
2019-07-13 | Merge pull request #5589 from blmage/fix-3992 | John MacFarlane | 1 | -1/+33 | |
Add support for EPUB2 covers (fix #3992) | |||||
2019-06-22 | add tests for EPUB2 and EPUB3 cover reader | martinfrancois | 1 | -1/+33 | |
2019-06-20 | Add a test for MathML formulas in ODT documents | blmage | 1 | -0/+1 | |
2019-06-09 | Muse reader: test that links inside image descriptions work | Alexander Krotov | 1 | -0/+3 | |
2019-05-25 | Muse reader: allow images inside link descriptions | Alexander Krotov | 1 | -0/+3 | |
2019-05-13 | Org reader: fix planning elements in headers level 3 and higher | Albert Krewinkel | 1 | -0/+24 | |
Planning info is now always placed before the subtree contents. Previously, the planning info was placed after the content if the header's subtree was converted to a list, which happens with headers of level 3 and higher per default. Fixes: #5494 | |||||
2019-05-13 | Org reader: omit, but warn about unknown export options | Albert Krewinkel | 1 | -0/+18 | |
Unknown export options are properly ignored and omitted from the output. | |||||
2019-05-11 | FB2 reader: add notes parsing test | Alexander Krotov | 1 | -0/+1 | |
2019-05-05 | Org reader: prefer plain symbols over math symbols | Albert Krewinkel | 1 | -3/+7 | |
Symbols like `\alpha` are output plain and unemphasized, not as math. Fixes: #5483 | |||||
2019-05-05 | Org reader: recognize emphasis after TODO/DONE keyword | Albert Krewinkel | 1 | -0/+7 | |
Fixes: #5484 | |||||
2019-03-25 | HTML reader: read `data-foo` attribute into `foo`. | John MacFarlane | 1 | -1/+1 | |
The HTML writer adds the `data-` prefix for HTML5 for nonstandard attributes. But the attributes are represented in the AST without the `data-` prefix, so we should strip this when reading HTML. Closes #5392. | |||||
2019-02-18 | Docx reader: add tests for trimming last inline. | Jesse Rosenthal | 1 | -0/+4 | |
2019-02-18 | Muse reader: add secondary note support | Alexander Krotov | 1 | -0/+17 | |
2019-02-12 | Docx reader: Add test for reading sdts in footnotes. | Jesse Rosenthal | 1 | -0/+4 | |
2019-02-06 | Docx reader: Tests for alternate document.xml | Jesse Rosenthal | 1 | -2/+7 | |
2019-02-06 | Muse reader: test that block level markup does not break <verbatim> | Alexander Krotov | 1 | -0/+7 | |
2019-02-04 | Add missing copyright notices and remove license boilerplate (#5112) | Albert Krewinkel | 28 | -0/+311 | |
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. | |||||
2019-01-09 | RST reader: change treatment of `number-lines` directives. (#5207) | Brian Leung | 1 | -2/+2 | |
Directives of this type without numeric inputs should not have a `startFrom` attribute; with a blank value, the writers can produce extra whitespace. | |||||
2019-01-08 | Removed superfluous sourceCode class on code blocks. | John MacFarlane | 2 | -8/+8 | |
* These were added by the RST reader and, for literate Haskell, by the Markdown and LaTeX readers. There is no point to this class, and it is not applied consistently by all readers. See #5047. * Reverse order of `literate` and `haskell` classes on code blocks when parsing literate Haskell. Better if `haskell` comes first. | |||||
2019-01-07 | Org reader: handle `minlevel` option differently. (#5190) | Brian Leung | 1 | -1/+6 | |
When `minlevel` exceeds the original minimum level observed in the file to be included, every heading should be shifted rightward. | |||||
2019-01-06 | Add DokuWiki reader (#5108) | Alexander | 1 | -0/+315 | |
Closes #1792 | |||||
2019-01-01 | Org reader: fix self-link parsing regression | Albert Krewinkel | 1 | -0/+4 | |
Fixes a regression introduced by the previous commit. | |||||
2019-01-01 | Org reader: fix treatment of links to images | Albert Krewinkel | 1 | -13/+17 | |
Links with descriptions which are pointing to images are no longer read as inline images, but as proper links. Fixes: #5191 | |||||
2018-12-25 | Muse reader tests: test #cover directive | Alexander Krotov | 1 | -0/+5 | |
2018-12-10 | Docx: add test for lists with level overrides. | Jesse Rosenthal | 1 | -0/+4 | |
2018-11-14 | Muse reader: trim whitespace before parsing grid table cells | Alexander Krotov | 1 | -0/+11 | |
2018-11-14 | Muse reader: add grid tables support | Alexander Krotov | 1 | -0/+43 | |
2018-11-02 | table tests | Yan Pashkovsky | 1 | -0/+11 | |
2018-10-30 | Roff reader: properly handle unknown backslash escapes. | John MacFarlane | 1 | -0/+2 | |
They are treated as regular characters, according to groff 7. Cloess #5034. | |||||
2018-10-28 | Roff tokenizer: better handling of escapes. | John MacFarlane | 1 | -2/+2 | |
2018-10-28 | Roff tokenizer: revamped font parsing using escapeArg. | John MacFarlane | 1 | -1/+1 | |
Add support for \C'...' escapes. | |||||
2018-10-28 | Muse: Make tables round-trip | Alexander Krotov | 1 | -2/+16 | |
2018-10-28 | Muse reader: try to parse lists before trying to parse table | Alexander Krotov | 1 | -0/+12 | |
This ensures that tables inside lists are parsed correctly. | |||||
2018-10-27 | Remove misleading comment from Muse reader tests | Alexander Krotov | 1 | -1/+0 | |
pandoc follows Text::Amuse rules instead of being bug compatible with Emacs Muse | |||||
2018-10-27 | Muse reader: forbid whitespace after opening and before closing markup elements | Alexander Krotov | 1 | -2/+10 | |
See https://github.com/melmothx/text-amuse/issues/44 for discussion on these rules | |||||
2018-10-26 | Muse reader: parse page breaks | Alexander Krotov | 1 | -0/+8 | |
2018-10-22 | Man reader: don't parse \[ul] as unicode escape. | John MacFarlane | 1 | -1/+1 | |
2018-10-22 | Muse reader: allow footnotes to start with empty line | Alexander Krotov | 1 | -0/+17 | |
A space character was required after footnote marker, now newline is allowed. | |||||
2018-10-20 | Man reader: Fixed handling of nested fonts. | John MacFarlane | 1 | -0/+7 | |
Closes #4978. | |||||
2018-10-21 | Muse reader: allow empty headers | Alexander Krotov | 1 | -0/+7 | |
Previously empty headers caused parser to terminate without parsing the rest of the document. | |||||
2018-10-20 | Man reader: Fix .B, .I, .BR, etc. | John MacFarlane | 1 | -1/+4 | |
2018-10-20 | Man reader: major restructuring, support macros. | John MacFarlane | 1 | -4/+4 | |
- Improved support for custom macro definitions. - LinePart type has been added. RoffStr is now one constructor of LinePart (the other being MacroArg). - MComment has lost its argument. - MEndMacro has been removed. - MStr has been removed (we now simply use LinePart). - Macros now store a list of tokens. - Each macro argument is a [LinePart], instead of a LinePart. - .BR now behaves as documented in man (and doesn't create a link). | |||||
2018-10-20 | Man reader: handle shift in list style. | John MacFarlane | 1 | -6/+10 | |
Closes #4987. | |||||
2018-10-19 | Man reader: Improved header parsing. | John MacFarlane | 1 | -2/+2 | |
- .SH should be level 1, .SS level 2. - The header title can come on the next line. | |||||
2018-10-19 | Man reader: properly handle multi-block list items. | John MacFarlane | 1 | -4/+4 | |
Closes #4985. | |||||
2018-10-19 | Man reader: Added more tests for escapes. | John MacFarlane | 1 | -6/+11 | |
Closes #4983. |