Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-09-05 | Roff reader: Better support for 'while'. | John MacFarlane | 1 | -0/+3 | |
2019-09-05 | Roff reader: improve handling of groups. | John MacFarlane | 1 | -4/+2 | |
2019-09-04 | Roff reader: Fix problem parsing comments before macro. | John MacFarlane | 1 | -2/+0 | |
2019-09-04 | Roff reader: more improvements in parsing conditionals. | John MacFarlane | 1 | -3/+4 | |
2019-09-04 | Roff readers: better parsing of groups. | John MacFarlane | 1 | -9/+5 | |
We now allow groups where the closing `\\}` isn't at the beginning of a line. Closes #5410. | |||||
2019-09-02 | LaTeX reader: don't try to parse includes if raw_tex is set. | John MacFarlane | 1 | -5/+13 | |
When the `raw_tex` extension is set, we just carry through `\usepackage`, `\input`, etc. verbatim as raw LaTeX. Closes #5673. | |||||
2019-09-02 | LaTeX reader: properly handle optional arguments for macros. | John MacFarlane | 2 | -2/+2 | |
Closes #5682. | |||||
2019-08-27 | LaTeX reader: fix `\\` in `\parbox` inside a table cell. | John MacFarlane | 1 | -3/+18 | |
Closes #5711. | |||||
2019-08-27 | Markdown reader: Headers: don't parse content over newline boundary. | John MacFarlane | 1 | -4/+15 | |
Closes #5714. | |||||
2019-08-26 | Use parseFromString' in Muse reader. | John MacFarlane | 1 | -1/+1 | |
Now that it is polymorphic, this is possible, and it's a better choice because it resets last string pos. | |||||
2019-08-26 | Fix inline parsing in grid table cells. | John MacFarlane | 2 | -2/+2 | |
* T.P.Parsing: Change type of `setLastStrPos` so it takes a `Maybe SourcePos` rather than a `SourcePos`. [API change] * T.P.Parsing: Make `parseFromString'` and `gridTableWith` and `gridTableWith'` polymorphic in the parser state, constraining it with `HasLastStrPosition`. [API change] Closes #5708. | |||||
2019-08-23 | RST reader: use title, not admonition-title, for admonition title. | John MacFarlane | 1 | -1/+1 | |
This puts RST reader into alignment with docbook reader. | |||||
2019-08-23 | docbook: richer parse for admonitions (#5593) | Michael Peyton Jones | 1 | -16/+27 | |
Fixes #1234. This parses admonitions not as a blockquote, but rather as a div with an appropriate class. We also handle titles for admonitions as a nested div with the "title" class. (I followed the behaviour of other docbook-to-html converters in this - there are clearly other ways you could encode it.) In general, the handling of elements with nested title elements is very inconsistent. I think we should make it consistent, but I'm leaivng that for later to make this a small change. Example: ```docbook <warning xml:id="someId"> <title>My title</title> <simpara>An admonition block</simpara> </warning> ``` goes to ```html <div id="someId" class="warning"> <div class="title">My title</div> <p>An admonition block</p> </div> ``` | |||||
2019-08-14 | LaTeX reader: improve withRaw so it can handle cases where... | John MacFarlane | 1 | -2/+3 | |
the token string is modified by a parser (e.g. accent when it only takes part of a Word token). Closes #5686. Still not ideal, because we get the whole `\t0BAR` and not just `\t0` as a raw latex inline command. But I'm willing to let this be an edge case, since you can easily work around this by inserting a space, braces, or raw attribute. The important thing is that we no longer drop the rest of the document after a raw latex inline command that gobbles only part of a Word token! | |||||
2019-08-14 | Removed some needless lookaheads in Markdown reader. | John MacFarlane | 1 | -2/+0 | |
2019-08-05 | Treat `ly` as verbatim too (#5671) | Urs Liska | 1 | -0/+1 | |
According to https://github.com/jgm/pandoc/issues/4725#issuecomment-399772217 not only the `lilypond` environment but also `ly` should be included in the verbatim list. @jperon https://github.com/jperon/lyluatex/issues/203 | |||||
2019-07-24 | LaTeX reader: handle `\passthrough` macro used by latex writer. | John MacFarlane | 1 | -0/+2 | |
Closes #5659. | |||||
2019-07-22 | LaTeX reader: support tex `\tt` command. | John MacFarlane | 1 | -0/+1 | |
Closes #5654. | |||||
2019-07-22 | Org reader: accept ATTR_LATEX in block attributes | Albert Krewinkel | 1 | -3/+11 | |
Attributes for LaTeX output are accepted as valid block attributes; however, their values are ignored. Fixes: #5648 | |||||
2019-07-20 | LaTeX reader: search for image with list of extensions... | John MacFarlane | 1 | -6/+16 | |
like latex does, if an extension is not provided. Closes #4933. | |||||
2019-07-19 | Markdown: Ensure that expanded latex macros end with space if original did. | John MacFarlane | 1 | -1/+10 | |
Closes #4442. | |||||
2019-07-16 | LaTeX reader: handle \looseness command values better. | John MacFarlane | 1 | -5/+4 | |
Closes #4439. | |||||
2019-07-14 | Muse: add RTL support | Alexander Krotov | 1 | -0/+12 | |
Closes #5551 | |||||
2019-07-13 | Fix #4499: add mbox and hbox handling to LaTeX reader (#5586) | Vasily Alferov | 1 | -1/+11 | |
When `+raw_tex` is enabled, these are passed through literally. Otherwise, they are handled in a way that emulates LaTeX's behavior. | |||||
2019-07-13 | Merge pull request #5589 from blmage/fix-3992 | John MacFarlane | 1 | -8/+15 | |
Add support for EPUB2 covers (fix #3992) | |||||
2019-07-13 | Merge pull request #5606 from blmage/odt-frames | John MacFarlane | 4 | -75/+127 | |
Improve the parsing of frames in ODT documents | |||||
2019-07-13 | LaTeX reader: Properly handle \providecommand and environment... | John MacFarlane | 1 | -21/+30 | |
They are now ignored if the corresponding command or environment is already defined. Closes #5635. | |||||
2019-07-10 | RST reader: keep `name` property in `imgAttr`. (#5637) | Brian Leung | 1 | -1/+1 | |
Closes #5619. | |||||
2019-07-06 | Markdown reader: handle inline code more eagerly within lists. (#5628) | Brian Leung | 1 | -5/+7 | |
Closes #5627. | |||||
2019-07-02 | Fix redundant constraint warnings. (#5625) | Pete Ryland | 6 | -9/+8 | |
2019-06-21 | Support epigraph command in LaTeX Reader. | oquechy | 1 | -0/+8 | |
Closes #3523. | |||||
2019-06-20 | Improve the parsing of frames in ODT documents | blmage | 4 | -75/+127 | |
2019-06-18 | Handle the case where the "cover" meta does not link to the manifest | blmage | 1 | -2/+2 | |
2019-06-18 | Add support for EPUB2 covers (fix #3992) | blmage | 1 | -7/+14 | |
2019-06-09 | DocBook reader: Issue IgnoredElement warnings. | John MacFarlane | 1 | -28/+37 | |
2019-06-09 | FB2 reader: skip unknown elements rather than throwing errors. | John MacFarlane | 1 | -20/+39 | |
Sometimes custom elements are used, and the reader should not abort but skip them with a warning. (For example, id element in author.) Closes #5560. | |||||
2019-06-08 | LaTeX reader: pass through unknown listings language as class. | John MacFarlane | 1 | -7/+13 | |
Previously if the language was not in the list of listings- supported languages, it would not be added as a class, so custom syntax highlighting could not be used. Closes #5540. | |||||
2019-06-04 | Include trailing {}s in raw latex commands. | John MacFarlane | 1 | -2/+7 | |
Change is in rawLaTeXInline in LaTeX reader, but it affects the markdown reader and other readers that allow raw LaTeX. Previously, trailing `{}` would be included for unknown commands, but not for known commands. However, they are sometimes used to avoid a trailing space after the command. The chances that a `{}` after a LaTeX command is not part of the command are very small. Closes #5439. | |||||
2019-06-04 | Docx reader: Add support for w:rtl (ltr annotation). | John MacFarlane | 2 | -4/+19 | |
Closes #5545. | |||||
2019-06-04 | Markdown reader: don't create implicit reference for empty header. | John MacFarlane | 1 | -4/+7 | |
Closes #5549. | |||||
2019-05-29 | HTML reader: misc. epub related fixes. | John MacFarlane | 1 | -30/+41 | |
- With epub extensions, check for epub:type in addition to type. - Fix problem with noteref parsing which caused block-level content to be eaten with the noteref. - Rename pAnyTag to pAny. - Refactor note resolution. | |||||
2019-05-27 | consolidate simple-table detection (#5524) | Mauro Bieg | 1 | -7/+2 | |
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 reader: allow images inside link descriptions | Alexander Krotov | 1 | -5/+4 | |
2019-05-25 | HTML reader: trim definition list terms | Alexander Krotov | 1 | -1/+1 | |
2019-05-13 | Org reader: fix planning elements in headers level 3 and higher | Albert Krewinkel | 1 | -1/+1 | |
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 | 2 | -4/+14 | |
Unknown export options are properly ignored and omitted from the output. | |||||
2019-05-11 | FB2 reader: parse notes | Alexander Krotov | 1 | -3/+51 | |
Closes #5493 | |||||
2019-05-11 | FB2 reader: use XML.Light.Input.parseXMLDoc to parse the root element | Alexander Krotov | 1 | -12/+11 | |
2019-05-11 | Reduce the amount of state in FB2 reader | Alexander Krotov | 1 | -1/+3 | |
2019-05-11 | FB2 reader: use Text.XML.Light.unqual where possible | Alexander Krotov | 1 | -8/+8 | |