Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2019-03-14 | Markdown writer: be sure implicit figures work in list contexts. | John MacFarlane | 1 | -11/+13 | |
Previously they would sometimes not work: e.g., when they occured in final paragraphs in lists that were originally parsed as Plain and converted later using PlainToPara. Closes #5368. | |||||
2019-03-10 | LaTeX reader: support `\underline`, `\ul`, `\uline` (#5359) | Paul Tilley | 1 | -0/+5 | |
These are parsed as a Span with class `underline`, as with other readers. | |||||
2019-03-10 | ipynb reader: removed vestigial ReaderOptions param. | John MacFarlane | 1 | -18/+16 | |
2019-03-09 | ipynb reader: remove sensitivity to `raw_html`, `raw_tex` extensions. | John MacFarlane | 1 | -6/+2 | |
We now include every output format. Pruning is handled by `--ipynb-output=`. | |||||
2019-03-09 | Ipynb reader/writer: better handling of cell metadata. | John MacFarlane | 1 | -7/+10 | |
We now handle even complex cell metadata in the Div's attributes. Simple metadata fields are rendered as a plain string, and complex ones as JSON. | |||||
2019-03-07 | Add inNote to Footcite and Footcites | John MacFarlane | 1 | -2/+2 | |
2019-03-02 | JATS reader: Support fig-group block element (#5317). | John MacFarlane | 1 | -1/+4 | |
2019-03-01 | Remove license boilerplate. | John MacFarlane | 51 | -940/+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-28 | Markdown Reader: yamlToMeta respects extensions (#5276) | Mauro Bieg | 1 | -3/+2 | |
Add ReaderOptions parameter to yamlToMeta [API change]. fixes #5272 | |||||
2019-02-23 | JATS reader: fix parsing of figures. | John MacFarlane | 1 | -18/+27 | |
This ensures that a figure containing a single image is parsed as a pandoc "implicit figure" (i.e., a Para with a single Image whose title attribute begins with `fig:`). More complex figures will still be parsed as divs. Closes #5321. |