aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2024-02-29 20:33:12 -0800
committerJohn MacFarlane <[email protected]>2024-02-29 20:33:12 -0800
commit75cb36ade8a886867b7b5e10d1e4e64d6e7718fa (patch)
tree6d1f3c83953f8beddf4d6a6464699d4149cb63bf
parent79567bf7f4d2d21d203acf0a6189ca7e64c5fc67 (diff)
Bump to 3.1.12.2 (also pandoc-cli), update changelog, manual date.
-rw-r--r--MANUAL.txt2
-rw-r--r--changelog.md63
-rw-r--r--pandoc-cli/pandoc-cli.cabal4
-rw-r--r--pandoc.cabal2
4 files changed, 67 insertions, 4 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index f7fd61faa..58e30966c 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -1,7 +1,7 @@
---
title: Pandoc User's Guide
author: John MacFarlane
-date: February 17, 2024
+date: February 29, 2024
---
# Synopsis
diff --git a/changelog.md b/changelog.md
index 578517072..f66c3ce2f 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,68 @@
# Revision history for pandoc
+## pandoc 3.1.12.2 (2024-02-29)
+
+ * Docx reader:
+
+ + Ensure that table captions are counted (#9518).
+ + Detect caption by style name not id (#9518).
+ The styleId can change depending on the localization.
+ + Avoid emitting empty paragraph where caption was.
+
+ * Markdown reader: fix regression in link parsing with wikilinks extensions
+ (#9481). This fixes a regression introduced in 3.1.12.
+
+ * Org reader/writer: support admonitions (#9475).
+
+ * Org writer: omit extra blank line at end of quote block.
+
+ * Typst writer: ensure that `-`, `+`, etc. are escaped at beginning of block
+ (#9478). Our recent relaxing of escaping (#9386) caused problems for
+ things like emphasized `-` characters that were rendered using
+ `#strong[-]#`. This now gets rendered as `#strong[\-]`.
+
+ * LaTeX writer: fix bug when a language is specified in two different ways
+ (#9472). If you used `lang: de-DE` but then had a span or div with
+ `lang=de`, the preamble would try to load `ngerman` twice, leading
+ to an error. This fix ensures that a language is only loaded once.
+
+ * Docx writer: Don't copy over `footnotePr` in `settings.xml`
+ from reference.docx (#9522).
+
+ * EPUB writer: omit EPUB2-specific meta tag on EPUB3 (#9493).
+ This caused a validation failure in epubs with cover images.
+
+ * Lua: avoid crashing when an error message is not valid UTF-8 (Albert
+ Krewinkel).
+
+ * Text.Pandoc.SelfContained:
+
+ + Add `role="img"` to svgs.
+ + Add `aria-label` to svg elements with `alt` text if present.
+ Screen readers ignore `alt` attributes on svg elements but do
+ pay attention to `aria-label` (#9525).
+
+ * Text.Pandoc.Shared: Fix regression in section numbering in
+ `makeSections` (#9516). Starting with pandoc 3.1.12, unnumbered
+ sections incremented the section number.
+
+ * Text.Pandoc.Class: fix `openUrl` TLS negotiation (#9483).
+ With the release of TLS 2.0.0, the TLS library started requiring
+ Extended Main Secret for the TLS handshake. This caused problems
+ connecting to zotero's server and others that do not support TLS 1.3.
+ This commit relaxes this requirement.
+
+ * Depend on djot 0.1.1.0 (fixes rendering on multiline block attributes).
+
+ * Use new releases of skylighting-format-blaze-html (#9520).
+ Fixes auto-wrapping of long source lines in HTML print media.
+
+ * Use new commonmark-extensions (fixes issue with the
+ `rebase_relative_paths` extension when used with commonmark/gfm.
+
+ * Makefile: improve epub-validation target (#9493).
+ Use `--epub-cover-image` to catch issues that only arise with that.
+
## pandoc 3.1.12.1 (2024-02-17)
* EPUB writer: omit EPUBv3-specific accessibility features on epub2
diff --git a/pandoc-cli/pandoc-cli.cabal b/pandoc-cli/pandoc-cli.cabal
index 8c4261534..18db0a1e6 100644
--- a/pandoc-cli/pandoc-cli.cabal
+++ b/pandoc-cli/pandoc-cli.cabal
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: pandoc-cli
-version: 3.1.12.1
+version: 3.1.12.2
build-type: Simple
license: GPL-2.0-or-later
license-file: COPYING.md
@@ -70,7 +70,7 @@ executable pandoc
buildable: True
-- Note: we always link to an exact version of pandoc, with the
-- same version as this package:
- build-depends: pandoc == 3.1.12.1,
+ build-depends: pandoc == 3.1.12.2,
text
other-modules: PandocCLI.Lua
, PandocCLI.Server
diff --git a/pandoc.cabal b/pandoc.cabal
index 6a4e084ef..1ed25abda 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: pandoc
-version: 3.1.12.1
+version: 3.1.12.2
build-type: Simple
license: GPL-2.0-or-later
license-file: COPYING.md