Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-05-29 | Merge pull request #5526 from tarleb/richer-version-type | John MacFarlane | 12 | -23/+353 | |
Lua: add Version type to simplify comparisons | |||||
2019-05-29 | Merge pull request #5497 from mb21/html-writer-video-audio | John MacFarlane | 8 | -39/+61 | |
Output HTML5 video and audio elements | |||||
2019-05-29 | HTML reader: misc. epub related fixes. | John MacFarlane | 2 | -920/+928 | |
- 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-29 | Lua: add Version type to simplify comparisons | Albert Krewinkel | 12 | -23/+353 | |
Version specifiers like `PANDOC_VERSION` and `PANDOC_API_VERSION` are turned into `Version` objects. The objects simplify version-appropriate comparisons while maintaining backward-compatibility. A function `pandoc.types.Version` is added as part of the newly introduced module `pandoc.types`, allowing users to create version objects in scripts. | |||||
2019-05-29 | HTML writer: output video and audio elements | mb21 | 8 | -37/+52 | |
depending on file extension of the image path | |||||
2019-05-29 | Text.Pandoc.MIME: add mediaCategory [API change] | mb21 | 1 | -2/+9 | |
2019-05-28 | Remove command test for #5517. | John MacFarlane | 1 | -32/+0 | |
We need a better test that works cross-platform. Until then, removing this. Closes #5528. | |||||
2019-05-28 | HTML writer: emit empty alt tag in figures (#5518) | Mauro Bieg | 6 | -8/+8 | |
The same text is already in the <figcaption> and screen-readers would read it twice, see #4737 | |||||
2019-05-28 | MANUAL: add note about title-meta, author-meta, date-meta. | John MacFarlane | 1 | -0/+6 | |
Closes #5486. | |||||
2019-05-28 | Add test for relative file: URI to #5517. | John MacFarlane | 1 | -0/+6 | |
2019-05-28 | Fix handling of `file:` URL scheme in `downloadOrRead` (#5522) | Mauro Bieg | 2 | -2/+28 | |
Move up the pattern match to be reachable, closes #5517. Previously `file:/` URLs were handled wrongly and pandoc attempted to make HTTP requests, which failed. | |||||
2019-05-27 | Specify skylighting 0.8 as extra-deps. | John MacFarlane | 1 | -0/+2 | |
2019-05-27 | EPUB writer: don't include 'landmarks' if there aren't any. | John MacFarlane | 1 | -9/+10 | |
Previously we could get an empty ol element, which caused validation errors with epubcheck. | |||||
2019-05-27 | Use skylighting 0.8. | John MacFarlane | 3 | -29/+33 | |
2019-05-27 | consolidate simple-table detection (#5524) | Mauro Bieg | 6 | -42/+24 | |
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 | 2 | -5/+7 | |
2019-05-25 | HTML reader: trim definition list terms | Alexander Krotov | 2 | -1/+18 | |
2019-05-25 | Muse writer: do not escape empty line after <br> | Alexander Krotov | 2 | -4/+6 | |
2019-05-23 | Disable missing-home-modules warning in stack.yaml. | John MacFarlane | 1 | -1/+1 | |
Otherwise 'stack ghci' fails. | |||||
2019-05-23 | Revert "appveyor - temporarily stop building pandoc-citeproc." | John MacFarlane | 1 | -4/+4 | |
This reverts commit b71d67ea03ba2daca7bac8d86b9dd32f71883486. | |||||
2019-05-22 | appveyor - temporarily stop building pandoc-citeproc. | John MacFarlane | 1 | -4/+4 | |
Once we get this cached we can add it back? | |||||
2019-05-22 | Markdown writer: Ensure the code fence is long enough. | John MacFarlane | 2 | -11/+24 | |
Previously too few backticks were used when the code block contained an indented line of backticks. (Ditto tildes.) Cloess #5519. | |||||
2019-05-21 | Makefile: remove --resolver= from targets. | John MacFarlane | 1 | -5/+5 | |
This causes unnecessary recompilation. | |||||
2019-05-21 | Markdown writer: fix small error in ed73bd28 | Jesse Rosenthal | 1 | -4/+3 | |
A `do` notation was left in a non-monadic function. | |||||
2019-05-21 | Markdown writer: Handle labels with integer names | Jesse Rosenthal | 2 | -3/+38 | |
Previously if labels had integer names, it could produce a conflict with auto-labeled reference links. Now we test for a conflict and find the next available integer. Note that this involves adding a new state variable `stPrevRefs` to keep track of refs used in other document parts when using `--reference-location=block|section` Closes #5495 | |||||
2019-05-20 | Improve output of Lua tests (#5499) | Albert Krewinkel | 8 | -165/+202 | |
This makes use of tasty-lua, a package to write tests in Lua and integrate the results into Tasty output. Test output becomes more informative: individual tests and test groups become visible in test output. Failures are reported with helpful error messages. | |||||
2019-05-18 | Add tex_math_dollars to multimarkdownExtensions. | John MacFarlane | 1 | -0/+1 | |
This form is now supported in multimarkdown, in addition to `tex_math_double_backslash`. See #5512. | |||||
2019-05-17 | Use new code signing cert for Windows. | John MacFarlane | 1 | -1/+1 | |
2019-05-17 | Bump to 2.7.3 | John MacFarlane | 1 | -1/+1 | |
2019-05-16 | JATS writer: properly handle footnotes. | John MacFarlane | 3 | -31/+56 | |
"Best Practice: When footnotes are grouped at the end of an article, wrap them in a `<fn-group>` and use an `<xref>` element in the text, as usual, to tie each footnote in the list to a particular location in the text." Closes #5511. | |||||
2019-05-15 | FB2 writer: do not wrap note references into <sup> and brackets | Alexander Krotov | 3 | -18/+6 | |
Existing FB2 readers, such as FBReader, already display links with type="note" as a superscript. | |||||
2019-05-15 | hlint FB2 writer | Alexander Krotov | 1 | -27/+22 | |
2019-05-15 | Fix using Beamer with geometry (#5505) | Daniel Maslowski | 1 | -0/+4 | |
Beamer already loads geometry, so we need to use the `\geometry` command to set geometry options. | |||||
2019-05-13 | Org reader: fix planning elements in headers level 3 and higher | Albert Krewinkel | 2 | -1/+25 | |
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 | 4 | -4/+38 | |
Unknown export options are properly ignored and omitted from the output. | |||||
2019-05-12 | add test/tables.xwiki to git and pandoc.cabal (#5498) | Mauro Bieg | 2 | -0/+47 | |
2019-05-12 | Org writer: always indent src blocks content by 2 spaces | Albert Krewinkel | 3 | -29/+27 | |
Emacs always uses two spaces when indenting the content of src blocks, e.g., when exiting a `C-c '` edit-buffer. Pandoc used to indent contents by the space-equivalent of one tab, but now always uses two spaces, too. Closes: #5440 | |||||
2019-05-11 | FB2 reader: add notes parsing test | Alexander Krotov | 3 | -0/+24 | |
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-07 | MANUAL.txt: removes double 'inside' (#5489) | ♫ Christian Krause ♫ | 2 | -3/+9 | |
2019-05-05 | Asciidoc writer: use `` `+...+` `` form for inline code. | John MacFarlane | 3 | -14/+14 | |
The old `` `a__b__c` `` yields emphasis inside code in asciidoc. To get a pure literal code span, use `` `+a__b__c+` ``. | |||||
2019-05-05 | Asciidoc writer: use proper smart quotes with asciidoctor. | John MacFarlane | 2 | -12/+18 | |
Asciidoctor has a different format for smart quotes. Closes #5487. | |||||
2019-05-05 | LaTeX writer: don't produce columns environment unless beamer. | John MacFarlane | 1 | -2/+2 | |
The environment is beamer-only and as far as I'm aware there's no latex package that provides it for non-beamer use. Closes #5485. | |||||
2019-05-05 | Org reader: prefer plain symbols over math symbols | Albert Krewinkel | 2 | -4/+8 | |
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 | 2 | -1/+10 | |
Fixes: #5484 | |||||
2019-05-04 | HTML writer: don't add variation selector if it's already there. | John MacFarlane | 1 | -1/+4 | |
See f11d0c9dc8b61cc38e138aaecb0f0094add3465a This fixes round-trip failures. | |||||
2019-05-04 | Add template variable `curdir` with working directory | John MacFarlane | 2 | -0/+10 | |
from which pandoc is run. Closes #5464. |