Commit Graph
139 Commits
Author SHA1 Message Date
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
gemmaro 225b09dbc7 docs: Correct Asciidoctor name casing. (#11782) 2026-07-29 09:54:16 +02:00
John MacFarlane ee69867122 Update manual date and regenerate man pages. 2026-07-21 23:20:21 +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 8831b48b9d Change symlink to regular file for COPYING.md in...
pandoc-cli, pandoc-lua-engine, pandoc-server.
2026-07-12 12:09:50 +02:00
John MacFarlane c6ab657dd3 Update man pages. 2026-06-03 16:34:44 +02:00
John MacFarlane 33bc2c9f5f Bump pandoc, pandoc-cli to 3.10, update changelog 2026-06-03 16:34:44 +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 71bf72a037 Fix wasm build to use ram package instead of memory. 2026-03-18 10:57:30 +01:00
John MacFarlane 14b3876547 Update man page and MANUAL date. 2026-03-17 16:38:41 +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 d53fa0cffb pandoc-cli.cabal: bump base min bound to 4.18 (same as pandoc). 2026-02-25 10:29:46 +01:00
John MacFarlane e327b2e6ba Revert change to ghc-options in pandoc-cli.
An earlier change removed `-threaded`, which we need.
See #11488.
2026-02-25 10:19:06 +01:00
John MacFarlane 19c1f6552b pandoc-cli: rearrange build.
Hackage rejected the previous version, though it worked fine.
The problem was that with two pandoc.hs files in different
directories, one of them wasn't being included in the sdist tarball.

To work around this, put the WASM exported functions in a
library module that is conditionally imported.
2026-02-04 00:44:15 +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 350ca0b663 Update man pages. 2026-02-02 17:28:34 +01:00
John MacFarlane 69e5727372 Bump pandoc-lua-engine to 0.5.1. 2026-02-02 17:21:02 +01:00
John MacFarlane 1638a8b1a5 Bump pandoc, pandoc-cli to 3.9. 2026-02-02 17:20:46 +01:00
John MacFarlane 38a10b6242 wasm query: implement more queries.
highlight-languages, highlight-styles, default-template.
2026-02-02 16:24:26 +01:00
John MacFarlane 26d1e601b3 wasm: Get reader/writer names dynamically.
Support "input-formats" and "output-formats" in wasm query.
2026-02-02 12:56:02 +01:00
John MacFarlane 8c6e906f83 wasm: expose "version" in query and put it in page footer on demo. 2026-02-02 12:13:07 +01:00
John MacFarlane f91faefbeb wasm: change interface.
We now provide two functions: convert and query.
extensions_for_format has been dropped, as query can do the
work.

convert is what pandoc used to be.

query takes a JSON object describing the information needed,
and returns information. Currently only "extensions-for-format"
is implemented.

Also: the use of multiple main-is causes problems with cabal.
Instead, we use pandoc.hs as main throughout, but change the
hs-src-dir for wasm.
2026-02-02 11:58:18 +01:00
John MacFarlane 648999286d wasm: Rename wasm_main -> convert. 2026-02-02 09:12:14 +01:00
John MacFarlane 45241fe784 pandoc-wasm: factor out getCString pattern. 2026-02-02 09:00:03 +01:00
John MacFarlane e59d5444dd Document pandoc-wasm functions. 2026-02-01 14:50:50 +01:00
John MacFarlane 4b26f50118 Add support for compiling pandoc.wasm.
'make pandoc.wasm' will compile a wasm version of pandoc.

This also adds a 'repl' flag to pandoc-lua-engine, so that
support for a Lua repl can be disabled for the wasm build.

A new wasm directory contains:

- pandoc.js, a JavaScript wrapper for pandoc.wasm
- index.html + index.js, a web app exposing all of pandoc's
  functionality in a GUI interface
- a set of illustrative examples that can be loaded from the web app

Most of the code in index.html and index.js has been produced in
interaction with Claude code.
2026-02-01 14:50:50 +01:00
John MacFarlane 7ff2ead417 Regenerate man pages. 2025-12-01 09:46:49 +01:00
John MacFarlane a2c8aef1cb Bump to 3.8.3 (pandoc, pandoc-cli)> 2025-12-01 09:36:10 +01:00
John MacFarlane 6b20a1eabb Update manual date and man pages. 2025-12-01 00:34:59 +01:00
John MacFarlane 3d5efe7400 Update manual date and regenerate man pages. 2025-10-20 10:26:59 +02:00
John MacFarlane f7e0f5f5a5 Bump pandoc, pandoc-cli to 3.8.2.1 2025-10-20 10:18:22 +02:00
John MacFarlane fe57c69f29 Bump manual date. 2025-10-05 17:54:49 +02:00
John MacFarlane 677b8d0bf4 Bump pandoc, pandoc-cli to 3.8.2, update changelog 2025-10-05 17:48:39 +02:00
John MacFarlane d7abe701a2 Update an pages and manual date. 2025-09-29 12:38:20 +02:00
John MacFarlane 6dc8f6f064 Bump version to 3.8.1 (also pandoc-cli). 2025-09-29 12:24:35 +02:00
John MacFarlane 5328d4f9d0 Fix date in manual and man pages and changelog. 2025-09-06 18:11:42 +02:00
John MacFarlane bdc55f6fe1 pandoc-server - bump to 0.1.1, change pandoc version bounds. 2025-09-06 11:05:33 +02:00
John MacFarlane 69709e1b1d Bump pandoc-lua-engine to 0.5. 2025-09-06 11:03:42 +02:00
John MacFarlane 7b0a14f101 Bump to 3.8, update changelog. 2025-09-06 10:55:03 +02:00
John MacFarlane ee4c9352ee Remove code duplication around version info.
Text.Pandoc.App.CommandLineOptions and pandoc-cli/src/pandoc.hs
had similar code for generating version information.

To avoid duplication, we now export `versionInfo` from
Text.Pandoc.App [API change]. (The function is reexported from the
non-public module Text.Pandoc.App.CommandLineOptions.)  This function
has three parameters that can be filled in when it is called by
pandoc-cli.

This change will make it simpler to revise version information.
2025-07-13 22:47:11 -07:00
John MacFarlane cff9ace0db Revert "Export copyrightMessage from Text.Pandoc.App module."
This reverts commit 2cf9b55421.
2025-07-13 22:46:10 -07:00
John MacFarlane 2cf9b55421 Export copyrightMessage from Text.Pandoc.App module.
Export `copyrightMessage` from the unexported module
Text.Pandoc.App.CommandLineOptions
and reexport from Text.Pandoc.App [API change].

This avoids the need for a duplicated version in pandoc-cli, which can
now depend on the library's exported version.
2025-07-13 12:33:32 -07:00
John MacFarlane 2e3cb483e9 Use hardcoded string "pandoc" for program name in --version.
Per GNU guidelines:
https://www.gnu.org/prep/standards/html_node/_002d_002dversion.html
2025-07-13 12:23:56 -07:00
John MacFarlane 883c8725d5 Bump pandoc-lua-engine to 0.4.3. 2025-05-28 15:03:37 -07:00
John MacFarlane 5c79a313a1 Update man pages and MANUAL date. 2025-05-28 15:03:22 -07:00
John MacFarlane 66a6cf39d3 Bump to 3.7.0.2, also pandoc-cli. 2025-05-28 13:59:57 -07:00
John MacFarlane 07c9924e5f Update manual date; regenerate man pages. 2025-05-17 10:06:40 -07:00
John MacFarlane aa97bf94d2 Bump pandoc/pandoc-cli to 3.7.0.1, update changelog. 2025-05-16 20:50:02 -07:00
John MacFarlane 7b1add7c73 Update manual and man pages. 2025-05-14 14:52:12 -07:00