| Age | Commit message (Collapse) | Author |
|
|
|
...the ScriptingEngine fields. Instead of separate fields for
custom readers and writers, we now have a single function
that loads any number of "components" from a script: these
may be custom readers, custom writers, templates for writers,
or extension configs. (Note: it's possible to have a custom
reader and a custom writer for a format together in the same file.)
This is primarily motivated by the need for a smoother check
for custom templates and extensions for `-D` and `--list-extensions`,
but it also seems more elegant.
This is a partial implementation of #8417.
|
|
|
|
A new error `PandocNoTemplateError` (code 87) is thrown if a template is
required but cannot be found.
|
|
Closes #8465.
|
|
This was a shim we used to include for mathml support.
We don't do anything with this any more, so this is dead code.
|
|
commands or environments that can be interpreted as math e.g. by
MathJax. See #8469.
|
|
New command line option: `--epub-title-page=true|false`.
New `writerEpubTitlePage` field on `WriterOptions` [API change].
New `optEpubTitlePage` field on `Opts` [API change].
Closes #6097.
|
|
Instead, throw a regular pandoc error. This is not necessarily
a programming error, as it can be triggered by inserting a
cell with ColSpan 0 in the AST. Unfortunately the types
don't prevent that.
Closes #8468.
|
|
fix case where the links are URL-encoded, e.g. with `%20`.
Closes #8467.
|
|
This will cause raw LaTeX prooftree environments to be rendered
appropriately when `--mathjax` is used.
Closes #8462.
|
|
It is a child of `inlinemediaobject`, not `imageobject`.
Add regression tests for #8437.
Closes #8437.
|
|
...with entities when they're in Str elements. If a link
contains an image, it may have attributes, and the commas
there should not be converted.
See #8437, #8070.
|
|
|
|
See #8437.
|
|
even in a fragment. (We now just look for an `href` attribute without
worrying about the namespace.)
See #8437.
|
|
See #8437.
|
|
- Adding a Parser to look for ordered list start attribute numbers if any
- Add command test for ordered list start attributes (#2465)
- Cleanup and formatting
|
|
Closes #8447.
|
|
Image widths given in percent are interpreted to be relative to the text
width. This is similar to the way percent widths are handled in other
writers, e.g. HTML and LaTeX. Previously, percent widths were taken
relative to the image's native size.
|
|
|
|
|
|
|
|
+ Extensions: Add `Ext_mark` extension.
This is not part of the pandoc extensions by default.
+ Markdown reader: parse `==..==` if `mark` extension enabled.
+ Markdown writer: support `mark` extension.
+ Docx writer: render Span with class `mark` as highlighted.
Currently yellow is hardcoded.
+ LaTeX writer: support highlighted text for Span with class `mark`.
+ RST writer: use special `mark` role for Span with class `mark`.
+ Update MANUAL.txt.
Closes #7743.
|
|
This handles things like hyphenation, line breaks, and nonbreaking
spaces better.
Closes #8411.
|
|
See #8254.
|
|
|
|
Now MediaWiki tables can use colspan and rowspan :D
|
|
to Writers/Shared.hs
The functions htmlAddStyle and htmlAlignmentToString are moved from Writers/HTML.hs, where they were called 'addStyle' and 'alignmentToString' respectively.
The function htmlAttrs is split off from tagWithAttrs in Writers/Shared.hs. It creates a representation of an Attr object, as one would see in a tagWithAttrs (but without the tag)
|
|
(Tell them that it concerns EndNote references.)
|
|
(As with other filters.)
|
|
Some old versions don't support this option, and since it's
the default it shouldn't be necessary.
|
|
|
|
Also add `secPath` to `SecInfo`.
|
|
This module provides functions to split Pandoc documents into
chunks to be rendered in separate files, e.g. one per section.
Internal identifiers are rewritten appropriately to point to
the new locations.
See #6122.
|
|
|
|
|
|
We now export `toTOCTree` and `SecInfo`, which provide a more neutral
way of generating TOC information from Blocks, and we use these in
`toTableOfContents`.
This is desirable because some output formats may require a TOC
structure that isn't just a rendered pandoc list.
|
|
They now return `Either OptInfo Opt`.
Add `OptInfo` type.
Add `handleOptInfo` function. This performs the IO actions for
things like `--version` that were previously done in `parseOptionsFromArgs`.
An argument for a `ScriptingEngine` has been added, to facilitate
printing custom templates and custom extensions for Lua filters.
(However, at this stage nothing is yet done with it.)
[API change]
|
|
So far this isn't used, but it contributes to solving #6097.
|
|
|
|
Previously these were simply skipped! Closes #8409.
|
|
...when storing in the MediaBag. Otherwise attachments with the same name
can overwrite each other. Closes #8415.
|
|
|
|
|
|
This will no doubt produce a bunch of warnings and hence CI
failures, which we'll need to work around with explicit imports.
|
|
|
|
|
|
|
|
|