| Age | Commit message (Collapse) | Author |
|
See #7743.
|
|
See #7743.
|
|
This handles things like hyphenation, line breaks, and nonbreaking
spaces better.
Closes #8411.
|
|
Currently yellow is hardcoded. Maybe think about using a style.
See #7743.
|
|
See #7743.
|
|
See #7743.
|
|
This is for highlighting blocks of text.
This is not part of the pandoc extensions by default.
See #7743.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
`characterReference` now returns a Text (as it should, because some
named references don't correspond to a single Char), and uses
the `lookupEntity` function from commonmark-hs instead of the slow
one from tagsoup.
`charsInBalanced` now takes a Text parser rather than a Char parser
as argument.
[API change]
|
|
Closes #8358.
|
|
Closes #8402.
|
|
We need to set an option in pdfroff in addition to including
a macro in the ms file.
With this fix, `-Vpapersize=a4` should be sufficient to
produce A4 PDF via ms.
Closes #8403.
|
|
If TEXINPUTS ends with `:`, then the system default TEXINPUTS
is added. We handle this by just adding the working directory
in this case.
Closes #8392.
|
|
instead of a link with a data: uri.
Closes #8398.
|
|
I don't think this aids clarity, and anyway it's not exported.
|
|
For consistency with Writers.ODT.
Similarly, rename `readOdt` -> `readODT`.
[API change]
|
|
Similarly, rename `writeDocbook` -> `writeDocBook`, for
consistency with the DocBook reader's naming.
[API change]
|
|
ODT adds a `../` to relative links (see #3524); this needs to be
removed when converting from ODT.
|
|
Don't alter the link if the path is empty.
|
|
Revise commit 9496ce818bfc22cb8e823a04de8f5791fd84c8dd
so it doesn't change image links. (These should have already been
adjusted.)
See #3524.
|
|
Closes #3524.
|
|
See jgm/pandoc-types#103.
This is not too useful yet, because writers don't do anything with
the short caption.
|
|
It was not being used, and in fact it was a bad idea from
the beginning, as it had no hope of solving the problem
it was introduced to solve.
|
|
T.P.Extensions [API change]:
+ Add CustomExtension constructor to Extension.
+ Remove Bounded, Enum instances for Extension.
+ Add `extensionsToList` function.
+ Revise `readExtension` so it can handle CustomExtension, and so
that it returns a Text rather than Maybe Text.
+ Add `showExtension`.
T.P.Format:
+ Revise error checking to handle CustomExtension.
|