Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-06-11 | LaTeX writer: Don't highlight code in headings. | John MacFarlane | 2 | -3/+12 | |
This causes compilation errors, and I don't know how to work around them. Closes #5574. | |||||
2019-06-11 | Revert "JATS template: don't include journal-meta unless 'journal'..." | John MacFarlane | 2 | -2/+7 | |
This reverts commit 193b5ccebaceeb7c0959d40136a1a4d2aeb00c95. journal-meta is required. Better to include it even if it doesn't validate through lack of required fields. | |||||
2019-06-11 | JATS template: don't include journal-meta unless 'journal'... | John MacFarlane | 2 | -7/+2 | |
...is set in metadata. Otherwise we get validation errors. | |||||
2019-06-11 | JATS writer: ensure validity of pub-date. | John MacFarlane | 3 | -14/+30 | |
We try to parse the date and convert to year, month, day, as expected in pub-date. We also add an iso-8601-date attribute if possible. | |||||
2019-06-11 | JATS writer: don't use break element for LineBreak. | John MacFarlane | 2 | -2/+4 | |
It's only allowed in a few special contexts, and not in p elements. | |||||
2019-06-11 | JATS writer: don't embed string-name in string. | John MacFarlane | 2 | -6/+2 | |
That's illegal with this DTD. | |||||
2019-06-11 | test/lua/module/pandoc.lua: fix non-determinism in test | Albert Krewinkel | 1 | -4/+11 | |
2019-06-11 | data/pandoc.lua: fix deletion of nonexistent attributes | Albert Krewinkel | 2 | -1/+10 | |
Fixes: #5569 | |||||
2019-06-11 | Lua pandoc module: better tests for Attr and AttributeList | Albert Krewinkel | 1 | -0/+65 | |
2019-06-11 | JATS writer: wrap elements with p when needed. | John MacFarlane | 2 | -18/+64 | |
The JATS spec restricts contents of certain elements (fn, list-item); this patch wraps elements that can't go in these contexts inside p elements with specific-use "wrapper", so the documents will conform. Closes #5570. | |||||
2019-06-10 | LaTeX writer: Use mbox to get proper behavior inside `\sout`. | John MacFarlane | 3 | -7/+17 | |
Closes #5529. | |||||
2019-06-10 | Asciidoc writer: use doubled ## when necessary for spans. | John MacFarlane | 2 | -1/+9 | |
Closes #5566. | |||||
2019-06-10 | Asciidoc writer: ensure correct nesting strong/emph. | John MacFarlane | 2 | -0/+8 | |
Closes #5565. | |||||
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-09 | Logging: Added IgnoredElement constructor for LogMessage. | John MacFarlane | 1 | -0/+6 | |
SkippedContent doesn't work for some of the XML-based readers, which don't have access to source positions. | |||||
2019-06-09 | Muse reader: test that links inside image descriptions work | Alexander Krotov | 1 | -0/+3 | |
2019-06-08 | Edit changelog. | John MacFarlane | 1 | -221/+199 | |
2019-06-08 | Update changelog provisionally, update AUTHORS. | John MacFarlane | 2 | -0/+322 | |
2019-06-08 | Roll back automatic figure/table numbering in ODT/OpenDocument. | John MacFarlane | 3 | -9/+18 | |
This was added in pandoc 2.7.2, but it makes it impossible to use pandoc-crossref. So this has been rolled back for now, until we find a good solution to make this behavior optional (or a creative way to let pandoc-crossref and this feature to coexist). See #5474. | |||||
2019-06-08 | LaTeX reader: pass through unknown listings language as class. | John MacFarlane | 2 | -7/+21 | |
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-08 | PDF via ms: make TOC appear at beginning and in PDF bookmarks. | John MacFarlane | 2 | -2/+8 | |
Previously the TOC appeared at the end of the document, and was not bookmarked. If you want it to continue appearing at the end, add `--pdf-engine-opt=--no-toc-relocation` to your command line. Closes #5553. | |||||
2019-06-07 | LaTeX writer: Include inline code attributes with `--listings`. | John MacFarlane | 2 | -4/+18 | |
Closes #5420. | |||||
2019-06-06 | MANUAL.txt, pandoc.cabal: mention Jira as possible target format | Albert Krewinkel | 2 | -3/+5 | |
2019-06-05 | Add jira writer (#5548) | Albert Krewinkel | 7 | -0/+1015 | |
This adds support for Atlassian's jira markup. Closes #2497 | |||||
2019-06-05 | Fix typo in lua documentation. | John MacFarlane | 1 | -1/+1 | |
Closes #5552. | |||||
2019-06-04 | Include trailing {}s in raw latex commands. | John MacFarlane | 2 | -2/+13 | |
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 | Fix document section assignments in EPUB writer. | John MacFarlane | 2 | -9/+19 | |
For example, introduction should go in bodymatter, not frontmatter, and epigraph, conclusion, and afterward should go in bodymatter, not backmatter. For the full list of assignments, see the manual. Closes #5546. | |||||
2019-06-04 | Update pandoc-citeproc and skylighting versions. | John MacFarlane | 3 | -4/+4 | |
2019-06-04 | Markdown reader: don't create implicit reference for empty header. | John MacFarlane | 2 | -4/+16 | |
Closes #5549. | |||||
2019-06-03 | Avoid unwanted interpretation of def list term as other kind of block, | John MacFarlane | 2 | -4/+12 | |
e.g. ordered list item, in Markdown writer. Closes #554. | |||||
2019-06-01 | Textile writer: fix closing tag for math output | Albert Krewinkel | 2 | -8/+8 | |
Opening and closing tag for math output match now. | |||||
2019-05-30 | Add unicode code point in "Missing character" warning. | John MacFarlane | 1 | -1/+8 | |
If the character isn't in the console font, the message is pretty useless, so we show the code point for anything non-ASCII. Closes #5538. | |||||
2019-05-30 | doc/lua-filters.md: fix typos in pandoc.mediabag docs | Albert Krewinkel | 1 | -2/+2 | |
2019-05-30 | Merge pull request #5312 from tarleb/pandoc-mediabag-extension | John MacFarlane | 7 | -6/+236 | |
Pandoc mediabag extension | |||||
2019-05-30 | Lua modules: test pandoc.mediabag | Albert Krewinkel | 2 | -3/+80 | |
2019-05-29 | pandoc.mediabag module: add function `delete` | Albert Krewinkel | 3 | -1/+28 | |
Function `pandoc.mediabag.delete` allows to remove a single item of the given name from the media bag. | |||||
2019-05-29 | pandoc.mediabag module: add function `empty` | Albert Krewinkel | 2 | -1/+12 | |
Function `pandoc.mediabag.empty` was added. It allows to clean-out the media bag, removing all entries. | |||||
2019-05-29 | pandoc.mediabag module: add items function iterating over mediabag | Albert Krewinkel | 5 | -1/+116 | |
A new function `pandoc.mediabag.items` was added to Lua module pandoc.mediabag. This allows users to lazily iterate over all media bag items, loading items into Lua one-by-one. Example: for filename, mime_type, content in pandoc.mediabag.items() do -- use media bag item. end This is a convenient alternative to using `mediabag.list` in combination with `mediabag.lookup`. | |||||
2019-05-29 | doc/lua-filters.md: improve docs for Version type/constructor | Albert Krewinkel | 1 | -2/+38 | |
2019-05-29 | Lua Version type: shorten "version too old" message | Albert Krewinkel | 2 | -2/+2 | |
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 |