aboutsummaryrefslogtreecommitdiff
path: root/pandoc-cli
AgeCommit message (Collapse)Author
2024-06-24Update pandoc-cli to 3.2.1, bump dependency versionsJohn MacFarlane
2024-06-08Update more copyright dates to 2024.Albert Krewinkel
2024-05-15pandoc-cli: constrain pandoc-server version.pandoc-server-0.1.0.6John MacFarlane
2024-05-11Updaet manual date and man pages.John MacFarlane
2024-05-11Bump pandoc, pandoc-cli to 3.2, update changelog.John MacFarlane
Also bump pandoc-lua-engine to 0.2.1.5 and allow pandoc 3.2.
2024-04-25Update copyright dates to 2024.John MacFarlane
2024-04-25pandoc-cli: ensure UTF8 when emitting version info.John MacFarlane
2024-04-06Bump to 3.1.13, update changelog and man pageJohn MacFarlane
2024-03-17Update date in manual and regenerate man pages.John MacFarlane
2024-03-14Updaet man pages.John MacFarlane
2024-03-14Bump pandoc-cli version to 3.1.12.3, require pandoc 3.1.12.3.John MacFarlane
2024-02-29Update man pages.pandoc-cli-3.1.12.23.1.12.2John MacFarlane
2024-02-29Bump to 3.1.12.2 (also pandoc-cli), update changelog, manual date.John MacFarlane
2024-02-17Bump to 3.1.12.1, update changelog and manuals.pandoc-cli-3.1.12.13.1.12.1John MacFarlane
2024-02-14Update man page.John MacFarlane
2024-02-14Bump pandoc-cli version to 3.1.12, depend on pandoc 3.1.12.John MacFarlane
2024-01-05Update man pages.John MacFarlane
2024-01-05Bump pandoc-cli to 3.1.11.1.John MacFarlane
2023-12-15Bump to 3.1.11, update changelog.pandoc-cli-3.1.113.1.11John MacFarlane
pandoc-cli version is updated in sync. man pages regenerated.
2023-12-12Regenerate man pages with pandoc 3.1.10.John MacFarlane
This properly escapes hyphens. Also, we get proper version numbers in pandoc-server and pandoc-lua. The Makefile has already been modified to ensure that all three man pages will be regenerated when there is a new version of pandoc.
2023-12-11Update MANUAL.txt date and man page date.John MacFarlane
2023-12-11Bump pandoc/pandoc-cli to 3.1.10, update changelog.John MacFarlane
2023-12-09Link pandoc-cli version to pandoc version.John MacFarlane
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-09Remove tested-with from pandoc-cli.cabal.John MacFarlane
2023-12-09Move man pages to pandoc-cli package.John MacFarlane
Closes #9245.
2023-07-21Bump pandoc-cli version to 0.1.1.1.pandoc-cli-0.1.1.1John MacFarlane
2023-07-19Fix regression on short boolean arguments.John MacFarlane
In 3.1.5 boolean arguments were allowed an optional argument (true|false). This created a regression for uses of fused short arguments, e.g. `-somyfile.html`, which was equivalent to `-s -omyfile.html`, but now raised an error because pandoc attempted to parse `o` as a boolean `true` or `false`. This change adds a preprocessing step on the raw arguments before they are sent to the option parser. In this preprocessing step, `-somyfile.html` would be split into two arguments, `-s` and `-omyfile.html`. The splitting happens when a short boolean option is followed by another short option. Closes #8956.
2023-04-05Purge double space.Andreas Scherer
2023-03-27Bump pandoc-cli to 0.1.1, depend on latest pandoc-lua-enginepandoc-lua-engine-0.2pandoc-cli-0.1.1John MacFarlane
2023-03-18pandoc-cli: require hslua-cli-1.4.1Albert Krewinkel
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-17pandoc-cli: add a Lua REPLAlbert Krewinkel
2023-03-13Switch to hslua-2.3Albert Krewinkel
2023-01-12CI: test with GHC 9.2.5 and 9.4.4Albert Krewinkel
2023-01-10Update copyright years, it's 2023!Albert Krewinkel
2022-11-02Text.Pandoc.App: Change `parseOptionsFromArgs` and `parseOptions`... (#8406)John MacFarlane
They now return `Either OptInfo Opt`. Add `OptInfo` type. Add `handleOptInfo` function. This performs the IO actions for things like `--version` that were previously done in `parseOptionsFromArgs`. An argument for a `ScriptingEngine` has been added, to facilitate printing custom templates and custom extensions for Lua filters. (However, at this stage nothing is yet done with it.) [API change]
2022-10-31Re-add TemplateHaskell pragma in pandoc-cli.John MacFarlane
This was an hlint false positive.
2022-10-30hlint suggestions.John MacFarlane
2022-10-28Print starting server message to stderr instead of stdout.John MacFarlane
2022-10-28Issue message when starting up server indicating the port.John MacFarlane
2022-10-19Move `defaultUserDataDir` from T.P.Shared to T.P.Data [API change].John MacFarlane
2022-10-19Split Text.Pandoc.Version from Text.Pandoc.Shared.John MacFarlane
This new module exports `pandocVersion` and `pandocVersionText`, which are no longer exported from Text.Pandoc.Shared. [API change] Also, we now set the `pandoc-version` variable centrally rather than in the writers. One effect is the man writer now emits a comment with the pandoc version (this was intended before, judging from the template, but it didn't happen because the vairable wasn't set).
2022-10-13Rollback parameterize options on scripting engine.John MacFarlane
Rolls back 0ab014ed1e5890e338792fab98aecc45cd889f99. We don't need this because we aren't needing to print the Lua version in options any more; we're handling `--version` now at the pandoc-cli level.
2022-10-01Fix `nightly` flag build.John MacFarlane
2022-09-30Remove build versions info from `--version` output.John MacFarlane
2022-09-30Move `--version` handling to pandoc-cli.John MacFarlane
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-30Use `server` as command to start the pandoc serverAlbert Krewinkel
2022-09-30pandoc-cli: Allow building a binary without Lua supportAlbert Krewinkel
Disabling the `lua` cabal flag will result in a binary without Lua.
2022-09-30[API Change] Extract Lua code into new package pandoc-lua-engineAlbert Krewinkel
The flag 'lua53` must now be used with that package if pandoc is to be compiled against Lua 5.3.
2022-09-30[API Change] Parameterize `convertWithOpts` over scripting engine.Albert Krewinkel
2022-09-30[API Change] App: parameterize `options` over the scripting engineAlbert Krewinkel