Commit Graph
25 Commits
Author SHA1 Message Date
John MacFarlane 89a6fa9b00 Bump pandoc-cli to 3.1.11.1. 2024-01-05 13:41:29 -08:00
John MacFarlane c3038dcd54 Bump to 3.1.11, update changelog.
pandoc-cli version is updated in sync.
man pages regenerated.
2023-12-15 18:56:27 -08:00
John MacFarlane e9be7ea451 Bump pandoc/pandoc-cli to 3.1.10, update changelog. 2023-12-11 22:10:56 -08:00
John MacFarlane 35d44bb666 Link pandoc-cli version to pandoc version.
Henceforth pandoc-cli's version will be synchronized with pandoc's, and
pandoc-cli will depend on an exact pandoc version.

This will avoid confusion by ensuring that `cabal install pandoc-cli-X.Y.Z`
installs pandoc version X.Y.Z.  It will make things more straightforward
for upstream packagers (see #9232).

Note also that the man pages included in this package are for a specific
pandoc version.

This scheme does not follow the Haskell PVP, but that should cause no
harm, because this package does not expose a library.
2023-12-09 10:56:35 -08:00
John MacFarlane c2c45f1c6a Remove tested-with from pandoc-cli.cabal. 2023-12-09 10:20:34 -08:00
John MacFarlane 55227a2027 Move man pages to pandoc-cli package.
Closes #9245.
2023-12-09 09:55:13 -08:00
John MacFarlane 7a33ebce7f Bump pandoc-cli version to 0.1.1.1. 2023-07-21 08:25:37 -07:00
John MacFarlane f97ab76f81 Bump pandoc-cli to 0.1.1, depend on latest pandoc-lua-engine 2023-03-27 16:55:35 -07:00
Albert Krewinkel f9b6777a92 pandoc-cli: require hslua-cli-1.4.1
This fixes a bug where the program would not enter interactive mode if
`-v`, `-e`, or `-l` was used together with the `-i` command line flag.
2023-03-18 18:26:12 +01:00
Albert Krewinkel a23d14079c pandoc-cli: add a Lua REPL 2023-03-17 09:18:41 -07:00
Albert Krewinkel 0f7653cd10 Switch to hslua-2.3 2023-03-13 13:23:43 +01:00
Albert Krewinkel 28fa37e554 CI: test with GHC 9.2.5 and 9.4.4 2023-01-12 22:21:39 +01:00
John MacFarlane 42b6e3907c Fix nightly flag build. 2022-10-01 09:56:50 -07:00
John MacFarlane 215d62ccd6 Remove build versions info from --version output. 2022-09-30 17:18:15 -07:00
John MacFarlane aa0e9c4d6e Move --version handling to pandoc-cli.
Print flag settings (lua, server) and versions of all relevant packages.
Add suffix for nightly builds.

Move `nightly` flag from pandoc to pandoc-cli.

Closes #8339.
2022-09-30 16:46:39 -07:00
Albert Krewinkel b6a571d577 pandoc-cli: Allow building a binary without Lua support
Disabling the `lua` cabal flag will result in a binary without Lua.
2022-09-30 08:33:40 -07:00
Albert Krewinkel 5be9052f5f [API Change] Extract Lua code into new package pandoc-lua-engine
The flag 'lua53` must now be used with that package if pandoc is to be
compiled against Lua 5.3.
2022-09-30 08:33:40 -07:00
John MacFarlane 9169eee7e1 Bump pandoc version to 3.0.
In light of the package splitting changes.
2022-09-29 08:18:02 -07:00
John MacFarlane fd1b3f2b6f Bump version to 2.20, depend on >= 2.20 in pandoc-cli, pandoc-server. 2022-09-28 08:50:11 -07:00
Albert Krewinkel a3fd6c674d pandoc-cli: update to hslua-cli-1.2 2022-09-27 08:42:27 -07:00
Albert Krewinkel 2bad9a9aa4 pandoc-cli: Avoid the CPP language extension
Alternative behavior for the *server* flag is implemented by using
separate modules.
2022-09-27 08:42:27 -07:00
Albert Krewinkel de0e3ff5f6 pandoc-lua: support more command line flags 2022-09-26 19:50:39 +02:00
John MacFarlane 13ee8b82da Add server flag to pandoc-cli.
This allows the executable to be built without support for
"server mode."
2022-09-26 09:25:54 -07:00
Albert Krewinkel e3648357cf Use hslua-cli package for pandoc-lua interface 2022-09-23 22:26:37 +02:00
John MacFarlane bd1d923b86 Split pandoc-server, pandoc-cli into separate packages. (#8309)
This also removes the unnecessary Setup.hs from pandoc.
Cabal does not need this with build-type 'simple'.
2022-09-22 09:47:07 -07:00