diff --git a/ghc-pandoc.changes b/ghc-pandoc.changes index 433c469..90d6499 100644 --- a/ghc-pandoc.changes +++ b/ghc-pandoc.changes @@ -1,3 +1,84 @@ +------------------------------------------------------------------- +Fri Mar 1 05:49:26 UTC 2024 - Peter Simons + +- Update pandoc to version 3.1.12.2. + ## 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. + +------------------------------------------------------------------- +Fri Feb 23 20:37:25 UTC 2024 - Andreas Schwab + +- Reduce memory constraints + +------------------------------------------------------------------- +Sun Feb 18 01:35:04 UTC 2024 - Peter Simons + +- Update pandoc to version 3.1.12.1. + Upstream has edited the change log file since the last release in + a non-trivial way, i.e. they did more than just add a new entry + at the top. You can review the file at: + http://hackage.haskell.org/package/pandoc-3.1.12.1/src/changelog.md + ------------------------------------------------------------------- Sat Jan 6 02:21:39 UTC 2024 - Peter Simons diff --git a/ghc-pandoc.spec b/ghc-pandoc.spec index 69a062e..c9da858 100644 --- a/ghc-pandoc.spec +++ b/ghc-pandoc.spec @@ -20,7 +20,7 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 3.1.11.1 +Version: 3.1.12.2 Release: 0 Summary: Conversion between markup formats License: GPL-2.0-or-later @@ -67,12 +67,16 @@ BuildRequires: ghc-containers-devel BuildRequires: ghc-containers-prof BuildRequires: ghc-crypton-connection-devel BuildRequires: ghc-crypton-connection-prof +BuildRequires: ghc-crypton-x509-system-devel +BuildRequires: ghc-crypton-x509-system-prof BuildRequires: ghc-data-default-devel BuildRequires: ghc-data-default-prof BuildRequires: ghc-deepseq-devel BuildRequires: ghc-deepseq-prof BuildRequires: ghc-directory-devel BuildRequires: ghc-directory-prof +BuildRequires: ghc-djot-devel +BuildRequires: ghc-djot-prof BuildRequires: ghc-doclayout-devel BuildRequires: ghc-doclayout-prof BuildRequires: ghc-doctemplates-devel @@ -144,6 +148,8 @@ BuildRequires: ghc-text-devel BuildRequires: ghc-text-prof BuildRequires: ghc-time-devel BuildRequires: ghc-time-prof +BuildRequires: ghc-tls-devel +BuildRequires: ghc-tls-prof BuildRequires: ghc-typst-devel BuildRequires: ghc-typst-prof BuildRequires: ghc-unicode-collation-devel @@ -185,7 +191,7 @@ Pandoc is a Haskell library for converting from one markup format to another. The formats it can handle include - light markup formats (many variants of Markdown, reStructuredText, AsciiDoc, -Org-mode, Muse, Textile, txt2tags) - HTML formats (HTML 4 and 5) - Ebook +Org-mode, Muse, Textile, txt2tags, djot) - HTML formats (HTML 4 and 5) - Ebook formats (EPUB v2 and v3, FB2) - Documentation formats (GNU TexInfo, Haddock) - Roff formats (man, ms) - TeX formats (LaTeX, ConTeXt) - Typst - XML formats (DocBook 4 and 5, JATS, TEI Simple, OpenDocument) - Outline formats (OPML) - @@ -371,6 +377,7 @@ This package provides the Haskell %{pkg_name} profiling library. %{_datadir}/%{pkg_name}-%{version}/data/templates/default.chunkedhtml %{_datadir}/%{pkg_name}-%{version}/data/templates/default.commonmark %{_datadir}/%{pkg_name}-%{version}/data/templates/default.context +%{_datadir}/%{pkg_name}-%{version}/data/templates/default.djot %{_datadir}/%{pkg_name}-%{version}/data/templates/default.docbook4 %{_datadir}/%{pkg_name}-%{version}/data/templates/default.docbook5 %{_datadir}/%{pkg_name}-%{version}/data/templates/default.dokuwiki diff --git a/pandoc-3.1.11.1.tar.gz b/pandoc-3.1.11.1.tar.gz deleted file mode 100644 index 3ae1656..0000000 --- a/pandoc-3.1.11.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ef968d654000e5b21943573039fee92b132b547790fb1471f363abeb09dbcf79 -size 7336100 diff --git a/pandoc-3.1.12.2.tar.gz b/pandoc-3.1.12.2.tar.gz new file mode 100644 index 0000000..99f2030 --- /dev/null +++ b/pandoc-3.1.12.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa1e2353c36d6209d9ac9434636fdca8c0a27720c9d2fa5594d31dfbeed83e52 +size 7365367