| Age | Commit message (Collapse) | Author |
|
* PandocMonad: add new function `findFileWithDataFallback` [API Change]
* Custom readers: allow files to be placed in "readers" data dir
* Custom writers: allow files to be placed in "writers" data dir
|
|
|
|
The function `takeWhileEnd` was added with bytestring-0.11.3.0, but older
versions should be supported as well.
Fixes the previous commit.
|
|
Modules are now loaded directly; the special pandoc Lua package searcher
is no longer necessary and has been removed.
|
|
|
|
The function allows to fill the mediabag with all images in a given
document. Images that cannot be fetched are replaced with a Span
containing the image description.
|
|
The document hierarchy is now conveyed using the
`\startsectionlevel`/`\stopsectionlevel` by default. This makes it easy
to include pandoc-generated snippets in documents at arbitrary levels.
The more semantic environments "chapter", "section", "subsection", etc.
are used if the `--top-level-division` command line parameter is set to
a non-default value.
Closes: #5539
|
|
Autolinks, i.e. links with content that's the same as the linked URL,
are now marked with the `\url` command. All other links, both internal
and external, are created with the `\goto` command, leading to shorter,
slightly more idiomatic code. As before, autolinks can still be styled
via `\setupurl`, other links via `\setupinteraction`.
|
|
Tables with different numbers of cells per row would sometimes crash
pandoc. This fix prevents this by cutting off overlong rows.
Fixes: #8102
|
|
Closes #8098.
|
|
This formerly caused section divs to be produced, even
when `--section-divs` was not specified. Closes #8097.
|
|
Closes #8088.
|
|
Previously we required a `.tex` extension, but TeX
allows any extension for `\input` (as opposed to `\include`).
Closes #8092.
|
|
Cells spanning multiple columns must be given an explicit width,
calculated from the table properties.
Fixes: #8090
|
|
Closes #8087.
Note: we strip off any non-digits, since CSL wants "4" rather
than "4th ed."
|
|
|
|
|
|
Closes #8080.
|
|
Closes #8079.
|
|
So that Word can know that "Apfel" is not a spelling error.
Closes #8026.
|
|
Commas in link text trigger interpretation of attributes.
To block this, we replace them with numeric entities.
Closes #8070.
|
|
We were rendering it as `+++text+++`; this is now changed to
`[.underline]#text#`. See comment at
<https://github.com/jgm/pandoc/issues/8070#issuecomment-1126883824>.
|
|
files (#8073)
|
|
<xref> elements can also be used to link to <figure> elements. Alas, the
DocBook reader was not aware of this and thus generated a link text
which just said 'figure_title'.
https://tdg.docbook.org/tdg/4.5/figure.html explains that <figure>
elements can contain <title> elements, so let's try to use that if it is
available.
|
|
in defaults files. Note that pdf-engine can take an absolute
path, so this is useful.
See #8061.
|
|
Closes #8055.
|
|
Tables with attributes are no longer wrapped in Div elements;
attributes are added directly to the table element.
|
|
when height and width are added to style because of an image,
but the image already has a style attribute.
Closes #8047.
|
|
Closes #8043.
|
|
We us ethe simple spec at
<https://www.iana.org/assignments/media-types/text/tab-separated-values>.
API change: Text.Pandoc.Readers.CSV now exports `readTSV`.
Internal change: In Text.Pandoc.CSV, CSVOptions has changed
so that csvQuote takes a Maybe value.
Closes #7974.
|
|
We were already doing this for `markdown`; this commit does
the same thing for `markua` and `commonmark` and `gfm`.
Closes #8035.
|
|
Allow blank lines after entries.
Allow entries with no space after the `-`, provided they
just have a newline, e.g. `DB -\n`.
Closes #8034.
|
|
doc-endnote was deprecated in DPUB-ARIA 1.1.
Closes #8030.
|
|
Previously we parsed them but discarded part of the content.
Closes #8028.
|
|
Closes #8027.
|
|
|
|
This was a performance enhancement which probably isn't
too significant. Closes #8020.
Note that, with this change, T.P.Shared.deLink isn't used
anywhere in the code base; perhaps we should deprecate it
(or remove it, but this would be an API change).
|
|
This causes a `-nightly-COMPILEDATE` suffix to be added the
the output of `--version`.
This is used in the nightly CI builds.
Closes #8016.
|
|
This reverts commit f81f5a20900ca9d8ad9971b6f57c11281ab2b048.
|
|
This reverts commit 30f4f85f91d7fa8719d315a9045fb82ff9b0f032.
|
|
|
|
This flag causes a suffix '-nightly-YYYY-MM-DD' to be added
to the version for nightlies.
Closes #8016.
|
|
This reverts commit 9d7c01e4a412d488ca958df2d74a6231f24483c8.
|
|
See #8016.
|
|
on bullet lists. They are now nested by 2 spaces instead of 4.
See #8011.
|
|
Asciidoctor uses different unicode characters for task
lists; we should recognize them too and be able to convert
them to ascii task lists in formats like gfm.
Closes #8011.
|
|
This completes commit 807a574e9d33fcf66928388e342cc1436eb2346e.
Closes #8007.
|
|
|
|
Closes #8003.
|
|
This reverts commit c1ab48874c04142988505ca5c5caa6626bb68211.
Mistake in measurement.
|