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.1.9
->3.1.11
1.2.7
->1.3.2
Release Notes
jgm/pandoc (jgm/pandoc)
v3.1.11
Compare Source
Typst writer:
;
after typst code, unless followed by space (#9252).Otherwise there's the potential that the typst code will swallow
up a following character.
Text.Pandoc.Logging:
MakePDFWarning
constructor to LogMessage [API change].MakePDFInfo
constructor to LogMessage [API change].Text.Pandoc.PDF:
report
withMakePDFWarning
andMakePDFInfo
to relayverbose information and warnings, instead of writing directly
to stderr.
running a fixed number of times (#9255). (The number of times
that was appropriate given pandoc's default templates didn't
always work for custom templates, and thus pandoc 3.1.10's
change in the number of runs led to some regressions in PDF
production.)
Makefile: in
make prelease
, add checks that pandoc-cli andpandoc have the same version, that pandoc-cli depends on this
exact version of pandoc, that there is an entry for this version
in the changelog, and that the version numbers in the
generated man pages are correct.
Regenerate man pages with pandoc 3.1.10. This properly escapes hyphens
and fixes version numbers in man pages for
pandoc-server
andpandoc-lua
.Depend on texmath 0.12.8.6. This omits unneeded
lr
s in typstmath output.
Depend on typst 0.5. This allows the typst reader to support
multiline strings, the version type, and the
as
keyword with
import
.v3.1.10
Compare Source
Link pandoc-cli version to pandoc version. Henceforth pandoc-cli's
version will be synchronized with pandoc's, and pandoc-cli will
depend on an exact pandoc version. This will avoid confusion by
ensuring that
cabal install pandoc-cli-X.Y.Z
installs pandocversion X.Y.Z. It will make things more straightforward for
upstream packagers (see #9232). This scheme does not follow the
Haskell PVP, but that should cause no harm, because this package
does not expose a library.
Add
alerts
markdown extension. This enables GitHub style markdownalerts as a commonmark extension. This extension is now default for
gfm
. It can't be used withmarkdown
, only withcommonmark
andvariants.
Markdown reader:
Otherwise we can get unwanted results if there's
a
%
comment (#9193).HTML reader:
MediaWiki reader:
ODT reader:
text:continue-numbering
(#8979, Stephan Meijer).Typst reader:
@foo
) to become citationsif there is no corresponding label in the document.
cite
elements.cite
.cite
(only one key allowed, a label) (typst 0.9 breaking change).quote
element (typst 0.9).LaTeX reader:
\begin{french}...\end{french}
(#9202).Docx reader:
w:sym
(#9220). We now look up symbols in symbolfonts using the table defined at Text.Pandoc.Readers.Docx.Symbols.
table to use to resolve characters included in docx via
w:sym
element.Man reader:
.sp
macro inside lists and block quotes (#9201).LaTeX writer:
\phantomsection
can'tbe used in this case, so we need
\hypertarget
(#9209).LaTeX template:
bookmark
package unconditionally. This packageproduces better PDF bookmarks than
hyperref
and does it on thefirst pass.
Typst writer:
quote
for block quotes.--toc-depth
as in other writers (#9242).We now put these in a figure with a caption argument.
Typst template:
blockquote
in default template.(We now use built-in
quote
.)native citation engine, so pandoc should use a specified
csl
style in the template, falling back to
bibliographystyle
ifcsl
is not specified.Docx writer:
Using "Footnote Block Text" for the style name, so it can be
given a different font size if footnotes are.
HTML5 writer:
doc-footnote
role is usedwith
aside
anddoc-endnotes
withsection
.aside
is used only for notes at ends of sections or blocks;if all the notes come at the end of the document,
section
isused so we can have the
doc-endnotes
role.JATS writer:
such cases the references were not being moved to back matter.
Ms writer:
T.P.RoffChar: escape
-
as\-
. Thegroff_man (7)
man page indicatesthat
-
characters will be treated as typographic hyphens and are notappropriate for cases where the output should be copy-pasteable as an
ASCII hyphen-minus character. (E.g. in command line options.)
However, until a recent update groff man did not actually do this;
it treated
-
and\-
the same. With the new update (1.23.0)the two are distinguished (see https://lwn.net/Articles/947941/
for background), so now it is important that pandoc escape
-
.Text.Pandoc.Extension: add
Ext_alerts
constructor [API change].Text.Pandoc.PDF: We now default to running LaTeX only
once in producing a PDF (instead of twice). This is made possible by the
shift to the
bookmark
package, which does not require a second pass forPDF bookmarks. If a table of contents is present, we still have to run
three times to get the page numbers, and if beamer is used we still do a
minimum of two runs.
Text.Pandoc.Shared:
renderTags'
: use minimized tag forrect
.path
element to be minimized.combineAttr
[API change].isTightList
so that it recognizes an item containing only a listwhich is itself tight as potentially an item in a tight list (#9161).
Text.Pandoc.MIME: Ensure we use
.svg
not.svgz
as extensionfor
image/svg+xml
mime type. This fixes issues with embeddedSVG images in docx output, among other things (#9195).
Text.Pandoc.Class:
openURL
improvements for data uris.Only treat data URI as
base64
if ';base64' is specified.Otherwise treat as UTF-8 (not 100% reliable but should cover most
other cases). Strip off
;base64
(or;charset=...
or whatever)from mime type (#9195).
Text.Pandoc.SelfContained: Improve treatment of embedded SVGs
(#9206, #8948).
id
attribute except whenuse
element is used.width
,height
attributes from svg element whenuse
element is used. Instead, add
width
andheight
100% to theuse
element. This seems to get the sizing right.Text.Pandoc.Citeproc: Don't link citations if
suppress-bibliography
specified, for there will be nothing tolink to (#9163).
epub.css: add styling for sup and sub (#9160).
Switch from
base64
tobase64-bytestring
(#9233).Use newest versions of commonmark, commonmark-extensions,
commonmark-pandoc, texmath, typst, skylighting, skylighting-core.
Benchmark: use standalone documents for reader tests.
Otherwise typst reader benchmark fails. Note: this means that we are now
parsing longer documents, so bench results on readers won't be comparable
to before.
MANUAL.txt: update defaults file docs for bibliography fields (#9173).
Recommend using top-level
bibliography
csl
, etc. insteadof a nested
metadata
field. Reason:${USERDATA}
and${HOME}
are only expanded in these contexts, not in
metadata
.Move man pages to pandoc-cli package (#9245).
nikaro/actions (nikaro/actions)
v1.3.2
Compare Source
Fix
v1.3.1
Compare Source
Fix
v1.3.0
Compare Source
Feat
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.