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:
1.19.2.1
->3.5
Release Notes
jgm/pandoc (pandoc)
v3.5
Compare Source
Add command-line options
--list-of-figures/--lof
and--list-of-tables/--lot
(#10029, Akash Patel).Only docx, latex, and context are affected by these options currently.
Setting the
lof
andlot
variables will also work for the formatsthat are currently supported.
Defaults files: interpolation of environment variables now
works for
to
andfrom
fields (#8024). This is needed becausethese files can contain paths of custom readers/writers.
Docx reader:
numId
(#10258).To accomplish this, we add a Heading constructor to BodyPart and
include on it all the information list items have.
DocBook reader:
Add parsing of id (xml:id), class, and tabstyle XML attributes
for table and informaltable in the DocBook reader.
The tabstyle value is put in the 'custom-style' attribute.
Dokuwiki reader:
--
and---
as dashes.containers in DokuWiki; the lines are interpreted literally (so,
e.g., you can't start a list), and line breaks are added at the ends.
EPUB reader:
to a fragment derived from the filename (#10207). There was
already code to handle links like
#foo
, but not to handle linkslike
ch0001.html#foo
.LaTeX reader:
ANSI writer:
DokuWiki writer:
<HTML>
tags (#7413). The use of these tags is nowstrongly discouraged for security reasons, and will be removed.
We previously used them as a fallback for lists that could not
be represented using DokuWiki syntax, e.g. ordered lists with
fancy numbers or lists with multiple blocks in their items.
We also used them for block quotes with multiple blocks as
their contents. We now use the
<WRAP>
syntax (from the optionalWRAP plugin) to handle lists with multiple blocks as their contents.
A new method of handling block quotes with complex contents
has the side benefit of also handling nested block quotes,
which weren't supported before.
<HTML>
and<html>
tags are only for raw HTML blocks andinlines, and only if the
raw_html
extension is enabled. (It isnow a valid extension for
dokuwiki
, though off by default.)Docx writer:
--list-of-figures
and--list-of-tables
(orlof
andlot
variables) (Akash Patel).HTML writer:
contain the
pagetitle
orlang
variables respectively (#9370).LaTeX writer:
In commit
a26ec96
we added anempty
\item[]
to the beginning of a list that occurs firstin a definition list, to avoid having one item on the line with
the label. This gave bad results in some cases (#10241) and there
is a more idiomatic solution anyway: using
\hfill
.refs
div with empty citations (#10185).If there are no citations, don't emit an empty CSLReferences environment.
RST writer:
the RST reference docs.
In these cases we emit an empty comment to fix the point from
which indentation is measured; otherwise the block quote is not
parsed as a block quote. This affects list items and admonitions.
.. table::
; this leads todoubled captions (#10226).
JATS template:
floats-group
(Albert Krewinkel, see #10196).The content of the
floats-group
variable is now rendered in a<floats-group>
element when using the publishing or archiving tagsets.
LaTeX and Beamer templates:
default.latex
anddefault.beamer
, factoring common parts into partials:fonts.latex
,common.latex
,passoptions.latex
,hypersetup.latex
,after-header-includes.latex
.default.beamer
the default template for beamer.shorttitle
,shortsubtitle
,shortauthor
,shortinstitute
,shortdate
variables to beamer template (#10248, Thomas Hodgson).--number-sections
work with beamer (#12045, Thomas Hodgson).titlegraphic
in beamer template(#10246, Thomas Hodgson). Title graphic options will be
applied to each title graphic. Images will be separated by
\enspace
.colorthemeoptions
,fontthemeoptions
,innerthemeoptions
,outerthemeoptions
(#10243,Thomas Hodgson).
beamer automatically.
Text.Pandoc.SelfContained:
Text.Pandoc.Class:
data:
URIs even in PandocPure (--sandbox
)(#10249).
extractURIData
[API change].Text.Pandoc.PDF:
.toc
and.log
files from output directory (#10186).When this is different from the input directory, this is
where
.toc
and.log
files are written.Text.Pandoc.Shared:
addPandocAttributes
for changes in commonmark-pandoc.The new commonmark-pandoc version automatically adds the
attribute
wrapper="1"
on all Divs and Spans thatare introduced just as containers for attributes that belong
properly to their contents. So we don't need to add the
attribute here. This gives much better results in some cases.
Previously the wrapper attribute was being added even for
explicit Divs and Spans in djot, but it is not needed in these cases.
Text.Pandoc.Options:
writerListOfFigures
andwriterListOfTables
fieldsto
WriterOptions
(#8245, Akash Patel). [API change]Text.Pandoc.App:
optListOfFigures
andoptListOfTables
toOpt
(#8245)[API change].
Lua subsystem (Albert Krewinkel):
:at(index[, def])
that allows to access indices, acceptsnegative indices to count from the end, and will return the
def
value as a default if the list has no item at the given position.Furthermore, the list constructor
pandoc.List
now accepts iterators.E.g.,
pandoc.List(text:gmatch '%S+')
returns the list of wordsin
text
.pandoc.layout
. TheDoc
valuesproduced and handled by the
pandoc.layout
module can nowbe styled using
bold
,italic
,underlined
, orstrikeout
. Thestyle is ignored in normal rendering, but becomes visible when
rendering to ANSI output. The
pandoc.layout.render
functionnow takes a third parameter that defines the output style,
either plain or ansi.
as a list of filters.
list_of_figures
andlist_of_tables
to writer options(Akash Patel).
Use latest releases of commonmark, commonmark-pandoc, texmath, djot.
Stop depending on package SHA (Albert Krewinkel). Use
crypton
instead.linux/make_artifacts.sh
: add riscv64 support (Olivier Benz).Fix invalid XML in
test/docx/normalize.docx
(#10242).doc/lua-filters.md
: list functions inpandoc.utils
alphabetically(Albert Krewinkel).
MANUAL.txt:
beamerarticle
variable (#10250).v3.4
Compare Source
New output format:
ansi
(for formatted console output) (Evan Silberman).Most Pandoc elements are supported and printed in a reasonable way, if
not always ideally. This version does no detection of terminal
capabilities, nor does it fall back to different output styles for
less-capable terminals.
Add command line options
--table-caption-position
and--figure-caption-position
. These allow the user to specify whetherto put captions above or below tables and figures, respectively.
The following output formats are supported: HTML (and related such
as EPUB), LaTeX (and Beamer), Docx, ODT/OpenDocument, Typst.
Change default
--pdf-engine
via HTML to WeasyPrint (#10142).wkhtmltopdf
is deprecated.weasyprint
is the easiest-to-install,maintained alternative. For better results, one might prefer
pagedjs-cli
.Org reader:
-i
flag (#10071, Albert Krewinkel).Tabs are now preserved in the contents of src blocks if the the block
has the
-i
flag.RTF reader:
shp
contexts (#10145).RST reader:
only when the first cell is empty; we were previously treating
lines with any empty cell as row continuations. In addition, we
no longer wrap multiline cells in Para if they can be represented
as Plain. This is consistent with docutils behavior.
LaTeX reader:
Typst reader:
always parsed as divs. But actually they can occur in some "inline"
contexts. Now we first try to parse them as inlines, and only as
blocks if that fails. A surrounding Div or Span element is added
only if there is an identifier.
HTML reader:
If main has an id or class, we include a div with that id or class;
otherwise just the contents.
followed by a span with an HTML fallback. Previously pandoc was
converting both. We now ignore the HTML fallback span, marked
with class
katex-html
.Docx reader:
when
+citations
is used (thomjur).New module: Text.Pandoc.Writers.ANSI [API change] (Evan Silberman).
Docx writer:
custom-style
attribute for docx table (Sebbones).--number-offsets
.OpenDocument writer:
Typst writer/template:
the default template, which determines caption positions for
figures and tables globally.
@
style citations with suffixes(#10148).
LaTeX writer:
--natbib
(#10057).HTML writer/template:
<figcaption>
placement sensitive to caption positionsettings. For tables,
<caption>
must be the first element, andpositioning is determined by CSS, for here we set a variable
which the default template is sensitive to.
makeSectionsWithOffsets
forwriterNumberOffsets
,instead of the old, inefficient code.
only to links to the bibliography (#10156).
data-
when renderinglabel
attribute (#10048).Markdown writer:
Avoid emitting markdown caption if table has fallen back to raw HTML,
which will then contain a
<caption>
tag (#10094).Make math sensitive to
tex_math_gfm
extension (#9121).This means that in GFM output, the "new style" math will be used
by default, e.g.
To defeat this and get the older behavior, namely
one could use
-t gfm-tex_math_gfm
.AsciiDoc writer:
link:
prefix when needed (#10105). AsciiDoc requires itexcept for
http
,https
,irc
,mailto
,ftp
schemes (#10105).that the base level is always 1, but asciidoc no longer seems
to care about that, and the behavior creates difficulties when
we are converting fragments.
ODT writer:
LaTeX template:
Text.Pandoc.Options:
CaptionPosition
and newWriterOptions
fieldswriterFigureCaptionPosition
andwriterTableCaptionPosition
[API change].
Text.Pandoc.Opt:
[]
. This behaves the same as[0,0,0,0,0]
.Opt
fieldsoptFigureCaptionPosition
andoptTableCaptionPosition
[API change].Text.Pandoc.Format: change
formatFromFilePaths
so that it issmarter about URLs. URLs are parsed, and we take the format from
the path component, if present (#10141). This means that
https://emacs.org/
will be treated as HTML, whilehttps://emacs.org/sample.org
will be treated as Org.Text.Pandoc.URI:
gemini:
to list of URI schemes (Pau RE).Text.Pandoc.Shared:
makeSectionsWithOffsets
[API change].This function is no longer used.
Text.Pandoc.Highlighting: Expose
formatANSI
[API change](Evan Silberman).
Text.Pandoc.Writers.Shared: export
to{Sub,Super}scriptInline
[API change] (Evan Silberman).
Remove use of partial functions (e.g.
head
) in code.Use latest skylighting-core, skylighting, doclayout, texmath, typst.
pandoc-lua-engine: Add accessors for several writer options, including
some that were added in previous releases.
pandoc-server: Initialize some missing fields in WriterOptions:
writerEpubTitlePage
,writerChunkTemplate
,writerListTables
,writerFigureCaptionPosition
,writerTableCaptionPosition
.CONTRIBUTING.md: Summarize steps for adding a new cli option.
MANUAL.txt:
--number-offset
option should onlydirectly affect numbering of the first section heading in
a document; subsequent headings will increment normally.
luatexja
when CJKmainfont is used with lualatex(#3873, Kolen Cheung).
citations
(typst) section to the manual (#9127).citations
affects both input and output fororg
.--citeproc
that you may need to disablecitations
extension on the output format (e.g.,
-t markdown-citations
) tosee the rendered citation (#9127, #10012).
INSTALL.md — reorganise info on static binaries and add conda-forge
install options (#10098, #10069, Ian Max Andolina).
v3.3
Compare Source
New cli option:
--link-images
. This causes images to be linkedrather than embedded in ODT.
Allow
--number-sections
to take an optionaltrue|false
argument.RTF reader:
\*\shppict
without dropping image (#10025).TWiki Reader:
Typst reader:
$1.$
.Docx writer:
ordered lists with bullet sublists; after the sublist the top-level
list reverts to bullets instead of being properly numbered.
This is a regression introduced in version 3.2.1.
BibTeX writer:
Man writer:
header
(#9943). This change causes pandoc to omit the middle
header parameter when
header
is not set, rather thanemitting
""
. The parameter is optional and man will usea default based on the section if it is not specified.
HTML templates: don't load polyfill (#9918).
This was added in a period when MathJaX required polyfill.
MathJaX no longer recommends this and polyfill should no
longer be necessary on any reasonably modern browser.
Translations:
ua.yaml
(Jens Oehlschlägel).tools/update-translations.py
) and Makefiletarget (
update-translations
) to update translation dataautomatically from babel and polyglossia upstream
(Stephen Huan).
of languages we cover (Stephen Huan). Fix a few small bugs in
existing translations.
Fix some mistakes with Japanese language code (#9938).
In several places we were mistakenly assuming that the BCP 47 code for
Japanese language was
jp
. It isja
.Text.Pandoc.Options:
writerLinkImages
[API change] (#9815).Text.Pandoc.App.Opt:
optLinkImages
[API change] (#9815).Lua subsystem:
Keep
lpeg
andre
as "loaded" modules (Albert Krewinkel).The modules
lpeg
andre
are now treated as if they had beenloaded with
require
. Previously the modules were only assignedto global values, but could be loaded again via
require
,thereby allowing to use a system-wide installation. However, this
proved to be confusing.
The old behavior can be restored by adding the following lines to
the top of Lua scripts, or to the
init.lua
in the data dir.pandoc-cli
: Include pandoc copyright in Lua version info (AlbertKrewinkel).
pandoc-cli
: Refer printing of version info to the Lua interpreter(Albert Krewinkel). The Lua interpreter no longer terminates when
called with
-v
or--version
arguments, thus improvingcompatibility with the default
lua
interpreter program.Avoid partial functions in JATS reader, DocBook writer, Haddock reader.
Allow tls 2.1.x.
MANUAL.txt:
lua-filters.md: Partially autogenerate docs for module
pandoc
(Albert Krewinkel). The documentation system isn't powerful enough to
generate the full documentation automatically.
v3.2.1
Compare Source
Fix
gfm_auto_identifiers
to replace emojis with their aliases,as documented (#9876).
CSV reader:
Docx reader:
which led to the default delimiter being used wrongly in some cases.
element aren't just silently dropped (#9610).
described on a Microsoft support page, an empty paragraph with
a bottom border (#6285).
"left"
value onjc
attribute.from the first body row.
to be ignored (#9833).
HTML reader:
li
elements inul
andol
(#9809).For example, a
p
after a closedli
will be incorporated intothe previous
li
. This mirrors what browsers do with thisinvalid HTML.
LaTeX reader:
.
, e.g.\kern.1pt
(#9902).Markdown reader:
-@​reese2002
outside of brackets.
RST reader:
:cite:
role with citeproc (#9904). A subset of thefunctionality of the sphinxcontrib-bibtex extension to Sphinx
is supported.
Textile reader:
Typst reader:
`#strong[
test
]
ConTeXt template: remove
\setupbackend[export=yes]
(#9820).Docx writer:
docx
(#8338, #9069, #7256,#2928). The
--reference-doc
option allows customization of styles indocx output, but it does not allow one to adjust the content of the output
(e.g., changing the order in which metadata, the table of contents,
and the body of the document are displayed), or adding boilerplate
text before or after the document body. For these changes, one can
now use
--template
with an OpenXML template. (See the defaultopenxml
template for a sample.)--include-before-body
and--include-after-body
can also now be used withdocx
output.The included files must be OpenXML fragments suitable for
inclusion in the document body.
jc
attribute on table cells with AlignDefault (#5662).formatted, with no bullet (#5198).
for better performance.
id
in a bookmark (#8662).w:r
(#9817). We do this when the textin the run contains any CJK characters. This ensures that ambiguous
code points (e.g. quotation marks) will be represented as "wide"
characters when together with CJK characters.
Center Subtitle, remove color.
HTML writer:
html4
(#9905).Unicode characters need not be escaped for html5, and still won't be.
Pandoc used to emit a
header
class on thetr
element that formsthe table header. This is no longer needed, because
head > tr
willdo the same thing. Similarly, pandoc used to emit
even
andodd
classes on
tr
s, allowing striped styling. This is no longer needed,because one can use e.g.
tbody tr:nth-child(2n)
.Compatibility warning: users who relied on these classes to style
tables may need to adjust their CSS.
JATS writer:
supplementary-material
in metadata forjats_articlepublishing
(#9818).
LaTeX writer:
Previously we relied on graphicx internals and made global
changes to Gin to force images to be resized if they exceed
textwidth. This approach is brittle and caused problems
with
\includesvg
(see #9660). The new approach uses a new macro\pandocbounded
that is now defined in the LaTeX template.(Thanks here to Falkhttps://github.com/mrpiggi/svg/issues/60vg/issues/60.)
The LaTeX writer has been changed to enclose
\includegraphics
and
\includesvg
commands in this macro when they don't explicitlyspecify a width or height. In addition, the writer now adds
keepaspectratio
to the\includegraphics
or\includesvg
options if
height
is specified without width, or vice versa.Previously, this was set in the preamble as a global option.
Users should attend to the following compatibility issues:
to be updated to include the new
\pandocbounded
macro, or an errorwill be raised because of the undefined macro.
differently, if the dimensions are greater than the line width or
page height. Previously pandoc would shrink these images to fit,
but the new behavior takes the specified dimensions literally.
In addition, pandoc previously always enforced
keepaspectratio
,even when width and height were both specified, so images with
width and height specified that do not conform to their intrinsic
aspect ratio will appear differently.
selnolig
and only include it ifenglish
orgerman
is used (#9863). (This includes changes to theLaTeX template.) This should restore proper ligature suppression when
lualatex is used.
--toc-depth
with beamer output (#9861). Previously only top-levelsections were ever included in the TOC, regardless of the setting of
--toc-depth
.\linewidth
instead of\columnwidth
or\textwidth
for resizing figures, table cells, etc. in LaTeX (#9775).
\linewidth
, unlike the others, is sensitive to indented environmentslike lists.
LaTeX template: put
babel-lang
in options to beamer (#9868).This is required to make beamer use proper localized terms for
things like "Section."
Markdown writer:
implicit_figures
.Texinfo writer:
@ref
.make internal links use the node.
different from the descriptive title.
Texinfo template: add variables for filename and version.
Typst writer:
(#9778, Carlos Scheidegger). This extends support for fine-grained
properties in Typst. If the
typst:no-figure
class is present on aTable, the table will not be placed in a figure. If the
typst:figure:kind
attribute is present, its value will be usedfor the figure's
kind
(#9777). These features are documented indoc/typst-property-output.md
.Typst template:
This allows formatting in title, author, date, and email fields.
Since the PDF metadata requires a string, and typst only
converts the title to a string (not the authors), we use
Textile writer:
tr
(#9376).Text.Pandoc.Class:
fillMediaBag
: Convert IOErrors to warnings when fetching absolutepaths (#9859, Albert Krewinkel). This will allow many conversions that
would have failed with an error to succeed (albeit without images or
other needed resources).
Text.Pandoc.ImageSize:
width/height (#9871). That was a mistaken call in #6936.
Usually when these values disagree, it is because the image
has been resized by a tool that leaves the original exif values
the same, so the width/height metadata are more likely to be
correct that exif width/height.
Text.Pandoc.SelfContained:
(so tests can work on Windows).
<svg>
elements for SVG images when the image hasthe class
inline-svg
. Otherwise just use adata
URI as we dowith other images (#9787).
Lua subsystem (Albert Krewinkel):
is therefore split into three internal Haskell modules,
Init
,Module
, andRun
.pandoc.utils.run_lua_filter
(#9803).pandoc.template.get
(#9854, co-authored by Carsten Gips).The function allows to specify a template with the same argument value
that would be used with the
--template
command line parameter.value and should be treated as such. The
PANDOC_STATE
global ismerely a copy; unsetting the global no longer breaks the Lua engine.
run_lua_filter
.The default is now to use a copy of the global environment when running
a filter; this ensures better separation when
run_lua_filter
is usedmultiple times. A custom environment can be specified via the
optional third parameter.
pandoc.List
as default metatable for JSON lists (#9834).Lists created by
pandoc.json.decode
now behave like lists generatedvia
pandoc.List
. This also ensures thatpandoc.List
tables areencoded as JSON arrays when passed to
pandoc.json.encode
.Text.Pandoc.Writers.Shared: export
toTaskListItem
[API change].Add unexported module Text.Pandoc.Char. This exports
isCJK
.Use this instead of locally defined
isCJK
in T.P.Readers.MediaWiki.MANUAL.txt:
-i
(#9757,Ian Max Andolina).
These will be linkified automatically.
option--reference-doc
.with class
columns
(#9890).babelfonts
example code (Albert Krewinkel).doc/custom-writers.md
:Writer.Blocks
(Albert Krewinkel).doc/lua-filters.md
(Albert Krewinkel):pandoc.template
andpandoc.layout
.pandoc-lua-engine: depend on pandoc >= 3.2 (see #9755).
Allow crypton-connection 0.4, time 1.14.
Allow tasty-quickcheck 0.11.
Use latest emojis, skylighting, skylighting-core, citeproc, djot,
commonmark-extensions, typst-hs
v3.2
Compare Source
Fix
gfm_auto_identifiers
to replace emojis with their aliases,as documented (#9876).
CSV reader:
Docx reader:
which led to the default delimiter being used wrongly in some cases.
element aren't just silently dropped (#9610).
described on a Microsoft support page, an empty paragraph with
a bottom border (#6285).
"left"
value onjc
attribute.from the first body row.
to be ignored (#9833).
HTML reader:
li
elements inul
andol
(#9809).For example, a
p
after a closedli
will be incorporated intothe previous
li
. This mirrors what browsers do with thisinvalid HTML.
LaTeX reader:
.
, e.g.\kern.1pt
(#9902).Markdown reader:
-@​reese2002
outside of brackets.
RST reader:
:cite:
role with citeproc (#9904). A subset of thefunctionality of the sphinxcontrib-bibtex extension to Sphinx
is supported.
Textile reader:
Typst reader:
`#strong[
test
]
ConTeXt template: remove
\setupbackend[export=yes]
(#9820).Docx writer:
docx
(#8338, #9069, #7256,#2928). The
--reference-doc
option allows customization of styles indocx output, but it does not allow one to adjust the content of the output
(e.g., changing the order in which metadata, the table of contents,
and the body of the document are displayed), or adding boilerplate
text before or after the document body. For these changes, one can
now use
--template
with an OpenXML template. (See the defaultopenxml
template for a sample.)--include-before-body
and--include-after-body
can also now be used withdocx
output.The included files must be OpenXML fragments suitable for
inclusion in the document body.
jc
attribute on table cells with AlignDefault (#5662).formatted, with no bullet (#5198).
for better performance.
id
in a bookmark (#8662).w:r
(#9817). We do this when the textin the run contains any CJK characters. This ensures that ambiguous
code points (e.g. quotation marks) will be represented as "wide"
characters when together with CJK characters.
Center Subtitle, remove color.
HTML writer:
html4
(#9905).Unicode characters need not be escaped for html5, and still won't be.
Pandoc used to emit a
header
class on thetr
element that formsthe table header. This is no longer needed, because
head > tr
willdo the same thing. Similarly, pandoc used to emit
even
andodd
classes on
tr
s, allowing striped styling. This is no longer needed,because one can use e.g.
tbody tr:nth-child(2n)
.Compatibility warning: users who relied on these classes to style
tables may need to adjust their CSS.
JATS writer:
supplementary-material
in metadata forjats_articlepublishing
(#9818).
LaTeX writer:
Previously we relied on graphicx internals and made global
changes to Gin to force images to be resized if they exceed
textwidth. This approach is brittle and caused problems
with
\includesvg
(see #9660). The new approach uses a new macro\pandocbounded
that is now defined in the LaTeX template.(Thanks here to Falkhttps://github.com/mrpiggi/svg/issues/60vg/issues/60.)
The LaTeX writer has been changed to enclose
\includegraphics
and
\includesvg
commands in this macro when they don't explicitlyspecify a width or height. In addition, the writer now adds
keepaspectratio
to the\includegraphics
or\includesvg
options if
height
is specified without width, or vice versa.Previously, this was set in the preamble as a global option.
Users should attend to the following compatibility issues:
to be updated to include the new
\pandocbounded
macro, or an errorwill be raised because of the undefined macro.
differently, if the dimensions are greater than the line width or
page height. Previously pandoc would shrink these images to fit,
but the new behavior takes the specified dimensions literally.
In addition, pandoc previously always enforced
keepaspectratio
,even when width and height were both specified, so images with
width and height specified that do not conform to their intrinsic
aspect ratio will appear differently.
selnolig
and only include it ifenglish
orgerman
is used (#9863). (This includes changes to theLaTeX template.) This should restore proper ligature suppression when
lualatex is used.
--toc-depth
with beamer output (#9861). Previously only top-levelsections were ever included in the TOC, regardless of the setting of
--toc-depth
.\linewidth
instead of\columnwidth
or\textwidth
for resizing figures, table cells, etc. in LaTeX (#9775).
\linewidth
, unlike the others, is sensitive to indented environmentslike lists.
LaTeX template: put
babel-lang
in options to beamer (#9868).This is required to make beamer use proper localized terms for
things like "Section."
Markdown writer:
implicit_figures
.Texinfo writer:
@ref
.make internal links use the node.
different from the descriptive title.
Texinfo template: add variables for filename and version.
Typst writer:
(#9778, Carlos Scheidegger). This extends support for fine-grained
properties in Typst. If the
typst:no-figure
class is present on aTable, the table will not be placed in a figure. If the
typst:figure:kind
attribute is present, its value will be usedfor the figure's
kind
(#9777). These features are documented indoc/typst-property-output.md
.Typst template:
This allows formatting in title, author, date, and email fields.
Since the PDF metadata requires a string, and typst only
converts the title to a string (not the authors), we use
Textile writer:
tr
(#9376).Text.Pandoc.Class:
fillMediaBag
: Convert IOErrors to warnings when fetching absolutepaths (#9859, Albert Krewinkel). This will allow many conversions that
would have failed with an error to succeed (albeit without images or
other needed resources).
Text.Pandoc.ImageSize:
width/height (#9871). That was a mistaken call in #6936.
Usually when these values disagree, it is because the image
has been resized by a tool that leaves the original exif values
the same, so the width/height metadata are more likely to be
correct that exif width/height.
Text.Pandoc.SelfContained:
(so tests can work on Windows).
<svg>
elements for SVG images when the image hasthe class
inline-svg
. Otherwise just use adata
URI as we dowith other images (#9787).
Lua subsystem (Albert Krewinkel):
is therefore split into three internal Haskell modules,
Init
,Module
, andRun
.pandoc.utils.run_lua_filter
(#9803).pandoc.template.get
(#9854, co-authored by Carsten Gips).The function allows to specify a template with the same argument
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.