update: add pandoc
version v3.6.1
#2267
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.6
->3.6.1
Release Notes
jgm/pandoc (pandoc)
v3.6.1
Compare Source
Allow YAML bibliographies to be arrays of references (#10452).
Previously, they had to be YAML objects with a
references
key.Change
--template
to allow use of extensionless templates (#5270).The intent is to allow bash process substitution: e.g.,
--template <(echo "foo")
. Previously pandoc always added anextension based on the output format, which caused problems
with the absolute filenames used by bash process substitution
(e.g.
/dev/fd/11
). Now, if the template has no extension,pandoc will first try to find it without the extension, and
then add the extension if it can't be found. So, in general,
extensionless templates can now be used. But this has been
implemented in a way that should not cause problems for
existing uses, unless you are using a template
NAME.FORMAT
but happen to have an extensionless file
NAME
in the templatesearch path.
Allow
--shift-heading-level-by=-1
to work in djot in the same wayit works for other formats (with the top-level heading being
promoted to metadata title) (#10459). This needed special
treatment because of the way djot surrounds sections with Divs.
RST reader:
This case was missed when changing the reference link strategy for
RST to allow a single pass. (It is a regression in pandoc 3.6.)
Markdown reader:
pBase64DataURI
in parsing data URIs (#10075,Evan Silberman and John MacFarlane).
Silberman and John MacFarlane). This should yield dramatic
performance improvements for markdown documents containing
large data URIs in images.
HTML reader:
to call network-uri's URI parser on these.
LaTeX reader:
figure*
environment as a figure (#10472).MediaWiki reader:
+
(#10491).Textile reader:
from its surroundings by spaces. Also, a span can have attributes,
which we now attach.
whitespace (#10414).
Docx writer:
by section by default (#2773). The main effect of this change is that
when
--top-level-division=chapter
is used, chapters will start ona new page and footnote numbering will restart for each chapter.
Both of these defaults can be overridden in the reference.docx.
(#10282). This fixes a regression introduced in pandoc 3.5.
This change affects the default openxml template as well as the
OpenXML writer.
Markdown writer:
This makes it easy to write a filter that adds extra blank lines
before certain elements (#10477).
Mediawiki writer:
as list starts (#9700).
LaTeX writer:
csquotes
variable (#10403).csquotes
(#10456).HTML writer:
This was done to determine the "media category," but we can
get that directly from the mime component of data: URIs.
Typst writer:
LaTeX/Beamer templates:
nocite
location (Thomas Hodgson).It must be inside a frame or it is ignored (#10465).
Hodgson). Putting
\nocite
in the preamble works only with biblatex.Text.Pandoc.Parsing:
charsInBalanced
(Evan Silberman).Text.Pandoc.Error:
PandocUnknownWriterError
forpdf
(Evan Silberman).
Text.Pandoc.MediaBag:
insertMedia
: fast path for data URIs. Avoid the slow URIparser from network-uri on large data URIs (#10075).
Text.Pandoc.Class:
downloadOrRead
(#10075).This avoids calling the slow URI parser from network-uri on
data URIs, instead calling our own parser.
Text.Pandoc.MIME:
extensionFromMimeType
. We had a few special cases encoded,but as previously written they wouldn't work properly with
modifiers like
;charset=utf-8
.Text.Pandoc.URI:
pBase64DataURI
. ModifyisURI
to use this and avoidcalling network-uri's inefficient
parseURI
for data URIs.Text.Pandoc.PDF:
toPdfViaTempFile
(#10468).This fixes a regression in pandoc 3.6, which changed
the extension from
html
tosource
. Apparentlywkhtmltopdf
needs it to be.html
. So now we have addeda parameter to
toPdfViaTempFile
that allows the extensionto be specified in a way that is appropriate to the PDF engine
used.
Lua (Albert Krewinkel):
pandoc.utils.stringify
(#10450). Elements of type Caption, Cell, TableHead, and TableFoot
can now be stringified.
Caption
constructor topandoc
module.Miscellaneous code quality improvements (Joseph C. Sible).
Depend on citeproc 0.8.1.2, skylighting and skylighting-core
0.14.5.
`doc/lua-filters.md: Fix links to constructors (Albert Krewinkel).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.