Commit Graph
1906 Commits
Author SHA1 Message Date
John MacFarlane 965e9e7d0d Revert "Use withNumTests and require QuickCheck >= 2.18."
This reverts commit b38743d218.
2026-08-22 09:50:06 -07:00
John MacFarlane b38743d218 Use withNumTests and require QuickCheck >= 2.18. 2026-08-21 23:27:19 -07:00
wzy 0ce83fb133 Add --completion={bash,zsh,fish} (#11818)
Make `--bash-completion` an alias of `--completion=bash`.

Reorganize option parsing code using a new data structure OptionSpec,
which can encode the type of completion needed by each option.

Add new unexported module Text.Pandoc.Completion.

Unexported module Text.Pandoc.CommandLineOptions: export OptionSpec.

Closes #8542.
2026-08-20 13:46:25 -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 5b83942a45 Bump to 3.10.1, update changelog.
Both pandoc and pandoc-cli.
2026-07-21 22:31:21 +02:00
John MacFarlane f7899139d5 Fixupper bound for typst. 2026-07-21 18:51:49 +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 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 27199723a1 Use released commonmark-extensions 0.2.7.1 2026-07-21 10:16:58 +02:00
luginfandluginf c645e57dc8 Add Txt2Tags writer (#11699).
`t2t` is now supported as an output format, producing Txt2Tags
markup (<https://txt2tags.org>). The writer covers headers, lists
(bullet, ordered, definition), tables, links, images, code blocks,
inline formatting, and raw txt2tags/HTML passthrough.

[API change]
Adds a new module Text.Pandoc.Writers.Txt2Tags, exporting
`writeTxt2Tags`. Also exported from Text.Pandoc.Writers.

Co-authored-by: luginf <alan@luginf>
2026-07-12 12:50:54 +02:00
John MacFarlane c60b7f3f08 Fix typo in pandoc.cabal test files. 2026-06-09 11:19:48 +02:00
John MacFarlane 0deb5e4907 Require pandoc-types >= 1.23.1.2 2026-06-09 08:33:46 +02:00
John MacFarlane 5566a6bf3c Docx reader: improve horizontal rule detection.
Previously we failed to detect horizontal rules when the
underlying XML contained text elements for semantically
insignificant whitespace. We also failed to handle the case
where a paragraph contains text and has a bottom border
property: this seems to be what Word does when you insert
a horizontal rule, e.g. by typing a series of hyphens or #
characters.

Closes #11689.
2026-06-08 23:49:22 +02:00
John MacFarlane 6c9b8ec557 Use emojis 0.1.5. 2026-06-06 14:28:04 +02:00
John MacFarlane 33bc2c9f5f Bump pandoc, pandoc-cli to 3.10, update changelog 2026-06-03 16:34:44 +02:00
John MacFarlane ea40d0bd0a Bump upper bound for time, tls 2026-06-03 09:17:36 +02:00
John MacFarlane df61830d38 Use asciidoc 0.1.0.3 2026-06-02 23:50:04 +02:00
John MacFarlane e287fd65a8 Use released texmath 0.13.1.2. 2026-06-01 22:12:21 +02:00
John MacFarlane 683d496e9d Use typst 0.10 2026-06-01 22:08:13 +02:00
John MacFarlane 3cff7d44ba Use citeproc 0.13.0.1. 2026-06-01 11:04:45 +02:00
John MacFarlane 74c9f4d2b0 Use released versions of commonmark libraries. 2026-05-31 17:11:17 +02:00
John MacFarlane ad4bf9aa31 Accept aeson 2.3. 2026-05-29 09:34:48 +02:00
John MacFarlane f1e061478d Bump to 3.9.0.2, update changelog and man pages. 2026-03-19 09:40:27 +01:00
John MacFarlane c126c2bb47 Use new versions of cryton, crypton-x509-system, tls
This eliminates memory, basement, foundation as transitive deps.
2026-03-18 11:10:14 +01:00
John MacFarlane 49064d150d Moved some things from extra-source-files to extra-doc-files. 2026-03-17 19:43:35 +01:00
John MacFarlane 8e9fc5b27c Add test files to extra-source-files. 2026-03-17 19:42:30 +01:00
John MacFarlane dcdd2af224 Bump lower bounds for asciidot, djot, texmath, typst. 2026-03-17 16:17:24 +01:00
John MacFarlane cd0bd0bf31 Bump to 3.9.0.1, bump and sync pandoc-cli. 2026-03-17 16:12:32 +01:00
John MacFarlane d39ca219e7 Permit http-client-tls 0.4. 2026-03-12 10:29:41 +01:00
John MacFarlane 661d18b244 Allow tls 2.2. 2026-03-08 09:54:42 +01:00
John MacFarlane 131cf7ce9b Allow crypton 1.1. 2026-03-07 23:42:44 +01:00
John MacFarlane 65bbf70810 cabal files: remove wasm-specific stuff.
This is out of the pandoc-cli source directory, but it is
relevant only to pandoc-cli, not pandoc. In any case, it doesn't
help to have it in the tarball, because the build is only possible
with the provided cabal.project.
2026-02-03 10:24:55 +01:00
John MacFarlane ffc5fe2257 Add needed template file to cabal data files. 2026-02-02 22:15:16 +01:00
John MacFarlane 1638a8b1a5 Bump pandoc, pandoc-cli to 3.9. 2026-02-02 17:20:46 +01:00
John MacFarlane 2db6e7a919 require djot >= 0.1.3 2026-02-01 17:04:14 +01:00
John MacFarlane c1d6ff7b46 Use released typst-0.9. 2026-02-01 17:04:01 +01:00
John MacFarlane ac833def19 Depend on released asciidoc 0.1.0.1. 2026-02-01 16:58:16 +01:00
John MacFarlane b214bf836c Depend on released texmath 0.13.1. 2026-02-01 16:56:21 +01:00
John MacFarlane bbc4f30a62 Use released citeproc 0.13. 2026-02-01 15:44:35 +01:00
John MacFarlane d86e9ad5df wasm build: Use patches for dependencies...
instead of relying on forks.

The patches themselves are from @TerrorJack's forks of the
corresponding projects.
2026-02-01 14:50:50 +01:00
John MacFarlane 8263ea2bf7 Add tests for #8024. 2026-01-31 10:54:59 +01:00
John MacFarlane 828382ba65 Revise change to --extract-media.
An earlier change added the feature that if the specified file
ends in .tar, a tar archive is created instead of a directory.
This has now been changed to create a zip archive if the filename
ends in .zip.
2026-01-30 19:43:32 +01:00
John MacFarlane 1eab54eb92 Allow --extract-media to extract to a tar archive...
instead of a directory.  This happens when the path given has a
.tar extension.
2026-01-18 19:24:02 +01:00
John MacFarlane 024c5f182c Allow crypton-x509-system 1.8.* 2026-01-13 11:34:47 +01:00
John MacFarlane 83692bbc50 Add http cabal flag.
This allows pandoc to be compiled without support for making
HTTP requests, which is useful when WASM is the target.

Closes #10980.
2025-12-24 11:00:25 -07:00
John MacFarlane 5673316d4c Mention Excel in cabal description. 2025-12-12 11:55:06 +01:00
John MacFarlane 73dd5cc308 Add -Wno-deriving-typeble to cabal ghc-options for ghc >= 9.12. 2025-12-12 11:54:19 +01:00