diff --git a/MANUAL.txt b/MANUAL.txt index f93f6865fbb0..83aa443e9b17 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -1,7 +1,7 @@ --- title: Pandoc User's Guide author: John MacFarlane -date: December 11, 2023 +date: December 15, 2023 --- # Synopsis diff --git a/changelog.md b/changelog.md index 2820100ee8be..376a047c3e31 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,48 @@ # Revision history for pandoc +## pandoc 3.1.11 (2023-12-15) + + * Typst writer: + + + Emit `;` 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: + + + Add `MakePDFWarning` constructor to LogMessage [API change]. + + Add `MakePDFInfo` constructor to LogMessage [API change]. + + * Text.Pandoc.PDF: + + + LaTeX warnings are passed on to the user as warnings. + + Use `report` with `MakePDFWarning` and `MakePDFInfo` to relay + verbose information and warnings, instead of writing directly + to stderr. + + Parse logs to determine whether additional runs needed, instead of + 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 and + pandoc 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` and + `pandoc-lua`. + + * Depend on texmath 0.12.8.6. This omits unneeded `lr`s in typst + math output. + + * Depend on typst 0.5. This allows the typst reader to support + multiline strings, the version type, and the `as` + keyword with `import`. + ## pandoc 3.1.10 (2023-12-12) * Link pandoc-cli version to pandoc version. Henceforth pandoc-cli's diff --git a/pandoc-cli/man/pandoc-lua.1 b/pandoc-cli/man/pandoc-lua.1 index 011a1d9b6b1a..f6784751b584 100644 --- a/pandoc-cli/man/pandoc-lua.1 +++ b/pandoc-cli/man/pandoc-lua.1 @@ -1,6 +1,6 @@ .\" Automatically generated by Pandoc 3.1.10 .\" -.TH "pandoc-lua" "1" "September 22, 2022" "pandoc 3.1.10" "Pandoc User\[cq]s Guide" +.TH "pandoc-lua" "1" "September 22, 2022" "pandoc 3.1.11" "Pandoc User\[cq]s Guide" .SH SYNOPSIS \f[CR]pandoc\-lua\f[R] [\f[I]options\f[R]] [\f[I]script\f[R] [\f[I]args\f[R]]] diff --git a/pandoc-cli/man/pandoc-server.1 b/pandoc-cli/man/pandoc-server.1 index 6b55dff324f5..0d87ed435143 100644 --- a/pandoc-cli/man/pandoc-server.1 +++ b/pandoc-cli/man/pandoc-server.1 @@ -1,6 +1,6 @@ .\" Automatically generated by Pandoc 3.1.10 .\" -.TH "pandoc-server" "1" "August 15, 2022" "pandoc 3.1.10" "Pandoc User\[cq]s Guide" +.TH "pandoc-server" "1" "August 15, 2022" "pandoc 3.1.11" "Pandoc User\[cq]s Guide" .SH SYNOPSIS \f[CR]pandoc\-server\f[R] [\f[I]options\f[R]] .SH DESCRIPTION diff --git a/pandoc-cli/man/pandoc.1 b/pandoc-cli/man/pandoc.1 index 40bab191d6d2..683ff33f4fe9 100644 --- a/pandoc-cli/man/pandoc.1 +++ b/pandoc-cli/man/pandoc.1 @@ -1,6 +1,6 @@ .\" Automatically generated by Pandoc 3.1.10 .\" -.TH "pandoc" "1" "December 11, 2023" "pandoc 3.1.10" "Pandoc User\[cq]s Guide" +.TH "pandoc" "1" "December 15, 2023" "pandoc 3.1.11" "Pandoc User\[cq]s Guide" .SH NAME pandoc - general markup converter .SH SYNOPSIS diff --git a/pandoc-cli/pandoc-cli.cabal b/pandoc-cli/pandoc-cli.cabal index 7a09e66f5862..5a7f05ab556c 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.10 +version: 3.1.11 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.10, + build-depends: pandoc == 3.1.11, text other-modules: PandocCLI.Lua , PandocCLI.Server diff --git a/pandoc.cabal b/pandoc.cabal index 7df835704b8c..846acc20f6f1 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: pandoc -version: 3.1.10 +version: 3.1.11 build-type: Simple license: GPL-2.0-or-later license-file: COPYING.md