| Age | Commit message (Collapse) | Author |
|
Many EPUB readers are thrown off by pandoc's current footnote
output. Both the ol and the fact that the footnote backlink is
at the end of the note seem to pose problems.
With this commit, we now create a list of aside (or div) elements,
instead of an ordered list. Each element begins with a note number
that is linked back to the note reference. (So, the backlink occurs
at the beginning rather than the end.)
References:
- https://kindlegen.s3.amazonaws.com/AmazonKindlePublishingGuidelines.pdf
- http://kb.daisy.org/publishing/docs/html/notes.html
See #8672, closes #5583.
Thanks to @Porges and @lewer.
|
|
The Contents element should be inside Properties. Closes #8675.
|
|
Closes #8669.
|
|
Closes #8668.
|
|
Closes #8665.
|
|
if the epub zip container can't be unpacked.
See #8663.
|
|
|
|
Closes #8661.
|
|
Fixes: #8659
|
|
With no braces around `c`.
See #8658.
|
|
We recognized `*{6}{...}` but not `*6{...}`.
Closes #8658.
|
|
In particular, we now allow colons in row names.
Closes #8653.
|
|
This can raise an error if pandoc is run in a non-user environment.
Closes #8648.
|
|
The table foot is made part of the table body, as otherwise it won't
show up in the output. The root cause for this is that longtable cannot
detect page breaks in Beamer.
Fixes: #8638
|
|
Closes #8629.
|
|
LibreOffice tags images slightly differently than Word; this change lets
the parses take that difference into account when looking for an image
description (alt text).
|
|
Closes: #8631
|
|
Closes #8626.
|
|
Previously we suppressed metadata in all but the top page,
in order to prevent the title block from being printed
on every page. This prevented use of custom variables set
by metadata fields.
This commit moves to a better solution: a conditional
in the default template restricts the title block to the
top page.
Closes #8620.
|
|
|
|
This bug caused us to get some repeated content when converting
MetaBlock to Inlines. Closes #8611.
|
|
This ensures that simple figures are displayed in the same way as before
the introduction of a dedicated `Figure` constructor in the AST.
Closes: #8565
|
|
The PathTemplate type exported from Text.Pandoc.Chunks is now an
instance of the ToJSON and FromJSON classes.
Closes: #8607
|
|
Short captions are used by LaTeX when generating a the list of figures
or list of tables. Adding a short caption will now overwrite the full
caption in these lists.
|
|
bibtex/biblatex seem to pass through an unescaped `%` inside
braces or quotes; it won't escape the closing brace.
So we'll do the same. This prevents the need for our previous
special treatment of url and doi fields.
Closes #8597.
|
|
Closes #8595.
|
|
* Add `--chunk-template` CLI option, allowing more control over the
chunk filenames in chunked HTML output.
* Text.Pandoc.App: Add `optChunkTemplate` constructor to Opt [API change].
* Text.Pandoc.Options: add `writerChunkTemplate` contsructor to
WriterOptions [API change].
* Text.Pandoc.Chunks: add Data, Typeable, Generic instances for
PathTemplate.
|
|
Backlinking from footnotes is already the behavior of `Note` values
when writing HTML. This adds parsing support for the explicit
backlinking syntax in Textile as described here:
https://textile-lang.com/doc/footnotes
Previously, these lines would be interpreted as a new paragraph
beginning with "fn3^." in text.
|
|
The ODT reader is supposed to detect blockquotes by checking a paragraph
style's indentation level. But it's broken for two reasons:
* The parser fails on non-integers. So "1in" will get read as 25mm, but
"1.0in" fails. By default, the Quotations style is "0.3937in".
* The reader doesn't check indentation levels of parent styles.
In my test documents, LibreOffice often creates child styles for
individual paragraphs, so it's important to check parents (ODT files
created by the Pandoc ODT writer don't have this issue though).
I added a new test "blockquote2" whose ODT file is generated directly
from the corresponding Markdown file with pandoc.
Fixes #3437.
|
|
Closes #8586.
|
|
Closes #8582.
|
|
`pandoc-version`, `outputfile`, `title-prefix`, `epub-cover-image`,
`curdir`, `dzslides-core` can be overridden by `--variable` on the
command line.
Previously they would create lists in the template Context,
which is not desirable.
|
|
This is a regression in pandoc 3.0 that affects environments
with arguments. Closes #8573.
|
|
|
|
Closes #8571.
|
|
Use this in HTML and OpenDocument writers.
|
|
Cloess #8567.
|
|
|
|
Closes #8562.
|
|
Otherwise sections are always numbered in the TOC,
even if `--number-sections` is not used.
|
|
Trying to limit lines to 80 chars.
|
|
|
|
This is useful for the `pandoc.mediabag` module.
|
|
+ Re-use `toTocTree` in constructing `chunkedTOC`.
Previously we used an entirely different function toTOCTree'.
+ Improve `tocToList` so that it avoids empty lists of
items that are omitted because they are below the toc depth.
pandoc-lua-engine:
+ Fix structure tests in light of last change.
T.P.Writers.ChunkedHTML:
+ Reuse `tocToList` in `buildTOC`.
T.P.Writers.EPUB:
+ Adjust EPUB writer for Chunks changes.
|
|
|
|
Adds the Markdown/CommonMark extensions `wikilinks_title_after_pipe` and
`wikilinks_title_before_pipe`. The former enables links of style `[[Name
of page|Title]]` and the latter `[[Title|Name of page]]`. Titles are
optional in both variants, so this works for both:
`[[https://example.org]]`, `[[Name of page]]`.
The writer is modified to render links with title `wikilink` as a
wikilink if a respective extension is enabled.
Pandoc will use `wikilinks_title_after_pipe` if both extensions are
enabled.
Closes: #2923
|
|
Paragraphs are enclosed by `\bpar` and `\epar` commands, and `highlight`
commands are used for emphasis. This results in much better tagging in
PDF output.
|
|
|
|
It has been removed from pandoc-types.
|
|
This enables round-tripping of tags in Org headings.
Closes: #8513
|