Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2019-05-05 | Org reader: prefer plain symbols over math symbols | Albert Krewinkel | 1 | -1/+1 | |
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 | -1/+3 | |
Fixes: #5484 | |||||
2019-05-03 | LaTeX reader: Allow newlines in `\mintinline`. | John MacFarlane | 1 | -3/+7 | |
2019-05-01 | MediaWiki reader: handle multiple attributes in table row (#5471) | chinapedia | 1 | -2/+2 | |
2019-04-10 | LaTeX reader: add braces when resolving `\DeclareMathOperator`. | John MacFarlane | 1 | -1/+2 | |
These seem to be needed for xelatex but not pdflatex. Closes #5441. | |||||
2019-04-05 | Vimwiki reader: improve handling of internal links. | John MacFarlane | 1 | -5/+12 | |
1) Don't append `.html` 2) Add `wikilink` title This mirrors behavior of other wiki readers. Generally the `.html` extension is not wanted. It may be important for output to HTML in certain circumstances, but it can always be added using a filter that matches on links with title `wikilink`. Note that if you have a workflow that uses pandoc to convert vimwiki to readable HTML pages, you may need to add such a filter to reproduce current behavior. Here is a filter that does the job: ```lua function Link(el) if el.title == 'wikilink' then el.target = el.target .. ".html" end return el end ``` Save this as `fixlinks.lua` and use with `--lua-filter fixlinks.lua`. Closes #5414. | |||||
2019-04-01 | Dokuwiki Reader fix: parse single curly brace (#5417) | Mauro Bieg | 1 | -1/+1 | |
fixes #5416 | |||||
2019-03-30 | ipynb reader/writer: use format 'ipynb' for raw cell where no format given. | John MacFarlane | 1 | -2/+3 | |
According to nbformat docs, this is supposed to render in every format. We don't do that, but we at least preserve it as a raw block in markdown, so you can round-trip. | |||||
2019-03-28 | Markdown reader: fenced div takes priority over setext header. | John MacFarlane | 1 | -2/+2 | |
For ::: {.cell} --- ::: | |||||
2019-03-28 | Ipynb reader: use `html` for a raw cell with no format. | John MacFarlane | 1 | -1/+1 | |
The nbformat spec says that when no format is specified, the raw cell will be rendered in every markup format. Pandoc doesn't have a construct that works this way, so we just fall back to `html`. | |||||
2019-03-27 | ipynb reader: avoid introducing spurious `.0` on integers in metadata. | John MacFarlane | 1 | -1/+4 | |
2019-03-27 | Drop support for ghc < 8. | John MacFarlane | 1 | -3/+0 | |
2019-03-25 | HTML reader: read `data-foo` attribute into `foo`. | John MacFarlane | 1 | -1/+2 | |
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. |