19159 Commits
Author SHA1 Message Date
John MacFarlane f2ee5dfee8 Update changelog. pandoc-cli-3.10.2 3.10.2 2026-08-12 10:33:00 -07:00
k6G52m4Dz75W 51c7b1bfc4 epub.css: add optional dark-mode (light-dark) support (#11791)
* epub.css: add optional dark-mode (light-dark) support

The default EPUB stylesheet hardcodes a single dark text color
(#1a1a1a) on top of the reading system's own background. This wraps
that color — and the <hr> rule and table borders that use it — with
CSS light-dark(), so readers supporting `color-scheme` get an
inverted dark theme.

Each light-dark() declaration is preceded by a plain #1a1a1a
fallback, so readers that do not support light-dark() simply drop
the new declaration and keep the unchanged original appearance
(graceful degradation). No change to pandoc's conversion logic.

Align dark-mode values with bundled breezedark palette
2026-08-12 10:25:15 -07:00
John MacFarlane 4f6f32a688 flake.nix: add direct Hackage dependencies.
This is currently needed because all-cabal-hashes hasn't been updated
for several days.
2026-08-12 10:03:58 -07:00
John MacFarlane 6a5c39456c Update release checklist template. 2026-08-11 14:56:22 -07:00
John MacFarlane 05fd82d686 Update AUTHORS. 2026-08-11 14:22:40 -07:00
John MacFarlane 3eea30b3d3 Tweak changelog. 2026-08-11 12:42:57 -07:00
John MacFarlane 3f7bff5984 Regenerate man pages 2026-08-11 12:41:35 -07:00
John MacFarlane f3e39c2643 Bump to 3.10.2, update changelog 2026-08-11 12:20:51 -07:00
John MacFarlane 1552249b90 Use released asciidoc, texmath 2026-08-11 12:00:37 -07:00
John MacFarlane 3acfe775e6 LaTeX writer: omit empty caption on unnumbered tables.
(Even if they have an identifier.)

Closes #11795.
2026-08-11 11:22:12 -07:00
John MacFarlane 7c35a540d1 Revert "Typst writer: fix escaping of quotes."
This reverts commit 04848401d5.

However, we retain the test for #11463, which didn't actually
need the reverted commit.

Closes #11788.
2026-08-11 09:35:17 -07:00
John MacFarlane d38c8594ae Update asciidoc reader tests.
In light of changes in asciidoc-hs.
2026-08-11 09:32:06 -07:00
John MacFarlane 28e328a996 Use dev version of asciidoc, texmath. 2026-08-11 09:11:05 -07:00
Philipp Gillé 980126823d Update Fedora link to pandoc-cli package (#11798) 2026-08-10 09:22:32 -07:00
John MacFarlane 33f0fa0767 CONTRIBUTING.md: remove suggestion to submit Lua filters.
The repository is no longer accepting submissions.
Closes #11800.
2026-08-10 09:20:21 -07:00
John MacFarlane 87bc462713 Typst writer: make writer sensitive to typst-label attribute.
If this attribute is set, the writer will output a label.
(This overrides labels based on identifiers, when identifiers
are present.)

Note that labels in typst need not be unique and may be used to
style elements using show rules.  For example, one can attach
an `excerpt` label to all Divs that are excerpts, and style this
using a show rule like `#show <excerpt>: set text(blue)`.

See discussion at #11794.
2026-08-07 10:39:33 -07:00
John MacFarlane 12a44fbb98 Markdown raw HTML: fix handling of void hr element.
Closes #11793.

Added `voidTags` to unexported module
Text.Pandoc.Readers.HTML.TagCategories.
2026-08-05 07:18:12 -07:00
John MacFarlane f401468a1e Revert "wasm: Removed an unneeded compilation option."
This reverts commit 9c20cebb6d.

Closes #11787.
2026-08-05 06:48:57 -07:00
John MacFarlane 5680817cac Revert "WASM build: disable legacy exception handling."
This reverts commit 49853607e6.

The option `-wasm-use-legacy-eh=false` does not seem to be
recognized in the version of the compiler we are now using.

Reopens #11787.
2026-08-04 06:56:10 -07:00
John MacFarlane 49853607e6 WASM build: disable legacy exception handling.
Closes #11787.
2026-08-03 09:06:34 -07:00
John MacFarlane 9d6d0d4d06 Add twenty-years-of-pandoc.md.
Changelog - fix pandoc 0.1 release date.

I found the real date in an email to a friend.
2026-08-02 16:48:35 -07:00
Ian Max Andolina c198e7e3cc Typst template: rename horizontalrule to horizontalRule (#11784)
The polyfill calls a camelCase `horizontalRule` yet the function is not cameCase.
2026-07-30 12:30:04 +02:00
gemmaro 225b09dbc7 docs: Correct Asciidoctor name casing. (#11782) 2026-07-29 09:54:16 +02:00
John MacFarlane 447361c7d5 CI: add release-announcements.txt to ignored. 2026-07-25 13:09:16 +02:00
John MacFarlane d81d8c4b82 Add release-announcements.txt.
Scraped from pandoc-announce.
2026-07-25 13:07:30 +02:00
John MacFarlane 0f17d3966f LaTeX writer: emit footnotetext that has accumulated...
at the first available opportunity.

See #11773.
2026-07-24 00:24:06 +02:00
John MacFarlane 4410eb7e61 Don't regen flake.lock automatically 2026-07-24 00:24:01 +02:00
John MacFarlane 414420c6e6 Improve release checklist template. 2026-07-23 10:54:32 +02:00
John MacFarlane de6755192a Fix typo in changelog. 2026-07-23 10:54:22 +02:00
John MacFarlane d6011e4465 CircleCI: get rid of "approval" step. pandoc-server-0.1.3.1 pandoc-lua-engine-0.5.3.1 pandoc-cli-3.10.1 3.10.1 2026-07-22 09:50:00 +02:00
John MacFarlane a156f61fd5 Update AUTHORS.md. 2026-07-22 00:28:52 +02:00
John MacFarlane 84ac623982 Regenerate README.md. 2026-07-22 00:25:40 +02:00
John MacFarlane ef74647068 Fix make prerelease so it can accept things is stack.yaml
that are also in the resolver. (We need these for nix flake.)
2026-07-22 00:23:01 +02:00
John MacFarlane ee69867122 Update manual date and regenerate man pages. 2026-07-21 23:20:21 +02:00
John MacFarlane e86b71aca2 Bump to pandoc-server 0.1.3.1 2026-07-21 22:33:33 +02:00
John MacFarlane b81df2464d Bump pandoc-lua-engine to 0.5.3.1. 2026-07-21 22:32:44 +02:00
John MacFarlane 5b83942a45 Bump to 3.10.1, update changelog.
Both pandoc and pandoc-cli.
2026-07-21 22:31:21 +02:00
John MacFarlane 4d3aca1a1c Add packages missing in nixpkgs to stack.yaml. 2026-07-21 21:32:29 +02:00
John MacFarlane a58bec7e48 Update flake.lock 2026-07-21 19:19:36 +02:00
John MacFarlane f7899139d5 Fixupper bound for typst. 2026-07-21 18:51:49 +02:00
John MacFarlane 4dc8e23133 stack.yaml - bump to lts-24.51 2026-07-21 18:46:21 +02:00
John MacFarlane 91f6353853 Use released texmath 0.13.2. 2026-07-21 18:37:01 +02:00
John MacFarlane 324710ee23 Require typst 0.11. 2026-07-21 18:10:39 +02:00
John MacFarlane ac2884c9f5 Use typst-symbols 0.3. 2026-07-21 17:25:11 +02:00
John MacFarlane ee2d48d089 Require doclayout 0.5.0.3 2026-07-21 17:21:32 +02:00
John MacFarlane 139badba76 Use released djot 0.1.4.1. 2026-07-21 17:19:44 +02:00
John MacFarlane dd0cd4096c Update flake.lock 2026-07-21 17:05:16 +02:00
John MacFarlane 42ab4f1c99 Makefile: Fix flake.lock rule. 2026-07-21 13:39:23 +02:00
John MacFarlane 27199723a1 Use released commonmark-extensions 0.2.7.1 2026-07-21 10:16:58 +02:00
John MacFarlane 89c887682f Trigger nix workflow when flake.lock changes 2026-07-21 09:32:36 +02:00