aboutsummaryrefslogtreecommitdiff
path: root/pandoc-lua-engine/pandoc-lua-engine.cabal
AgeCommit message (Collapse)Author
2025-08-09Lua: require hslua-module-system 1.2.3Albert Krewinkel
This provides List methods to the value returned by `pandoc.system.list_directory`. Closes: #11032
2025-07-23Lua: add function `pandoc.path.exists`.Albert Krewinkel
The functions allows to check the existence of file-system objects.
2025-06-30Lua: add more UTF-8-aware file operations to `pandoc.system`.Albert Krewinkel
Functions that expect UTF-8-encoded filenames should make it easier to write platform-independent scripts, as the encoding of the actual filename depends on the system. Additionally, this also adds a generalized method to run commands, and functions to retrieve XDG directory names. The new functions are `command`, `copy`, `read_file`, `remove`, `rename`, `times`, `write_file`, `xdg`.
2025-06-25pandoc-lua-engine: Allow hslua-2.4.0 in the testsAlbert Krewinkel
2025-06-23pandoc-lua-engine: Allow hslua-2.4.Albert Krewinkel
2025-05-28Bump pandoc-lua-engine to 0.4.3.John MacFarlane
2025-05-14pandoc-lua-engine: bump to 0.4.2, bump pandoc bounds.John MacFarlane
2025-05-13pandoc-lua-engine: add all test files to the cabal fileAlbert Krewinkel
2025-05-12Use citeproc-0.9. Bump citeproc bounds for pandoc, pandoc-lua-engine.John MacFarlane
2025-03-16pandoc-lua-engine to 0.4.1.1, allow latest containersJohn MacFarlane
2024-12-23pandoc-lua-engine: bump to 0.4.1.John MacFarlane
2024-12-07Depend on typst 0.6.1John MacFarlane
2024-12-07Depend on released pandoc-lua-marshal 0.3.0.John MacFarlane
2024-12-07Bump pandoc-lua-engine to 0.4 and depend on it in pandoc-cli.John MacFarlane
2024-10-28Bump upper bound for data-default.John MacFarlane
2024-10-05Depend on latest pandoc-lua-marshall.John MacFarlane
2024-10-05Bump pandoc-lua-engine to 0.3.3.John MacFarlane
2024-09-29Stop depending on package SHAAlbert Krewinkel
Pandoc already depends on `crypton-conntection`, and thus transitively on `crypton`. The latter provides a vast variety of hashing algorithms and makes the dependency on SHA unnecessary.
2024-09-21Lua: support character styling via `pandoc.layout`Albert Krewinkel
The `Doc` values produced and handled by the `pandoc.layout` module can now be styled using `bold`, `italic`, `underlined`, or `strikeout`. The style is ignored in normal rendering, but becomes visible when rendering to ANSI output. The `pandoc.layout.render` function now takes a third parameter that defines the output style, either *plain* or *ansi*.
2024-09-21Lua: update List moduleAlbert Krewinkel
The module now comes with a method `:at(index[, def])` that allows to access indices, accepts negative indices to count from the end, and will return the `def` value as a default if the list has no item at the given position. Furthermore, the list constructor `pandoc.List` now accepts iterators. E.g., `pandoc.List(text:gmatch '%S+')` returns the list of words in `text`. Closes: #9835
2024-09-09Bump pandoc-lua-engine to 0.3.2.John MacFarlane
2024-09-09Depend on doclayout 0.5.John MacFarlane
2024-07-28Bump pandoc version in pandoc-lua-engine.John MacFarlane
2024-07-28Bump pandoc-lua-engine version to 0.3.1, depend on it in pandoc-cliJohn MacFarlane
2024-06-24Bump pandoc version bound in pandoc-lua-engine.John MacFarlane
2024-06-24Update pandoc-lua-engine to 0.3John MacFarlane
2024-06-09Lua: split Init module into more modules.Albert Krewinkel
The module has grown unwieldy and is therefore split into three internal Haskell modules, `Init`, `Module`, and `Run`.
2024-06-08Update more copyright dates to 2024.Albert Krewinkel
2024-05-27Lua: add function `pandoc.utils.run_lua_filter` (#9803)Albert Krewinkel
2024-05-13pandoc-lua-engine: depend on pandoc >= 3.2.John MacFarlane
See https://github.com/jgm/pandoc/issues/9755
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-05-10Lua: add a `pandoc.log` module.Albert Krewinkel
2024-05-06Lua: update to pandoc-lua-marshal version 0.2.7.Albert Krewinkel
This fixes counterintuitive behavior of the `content` property on BulletList and OrderedList items. Unmarshalling of that field now matches the behavior of the constructor. Fixes: #8916
2024-05-05Lua: use hslua-module-zip-1.1.3 to fix the windows buildAlbert Krewinkel
2024-05-05Lua: use newest zip module.Albert Krewinkel
This adds a `symlink` function to Entry objects, allowing to check if an entry represents a symbolic link.
2024-04-16Lua: add new module `pandoc.image`Albert Krewinkel
The module provides basic querying functions for image properties.
2024-04-07Bump pandoc-lua-engine to 0.2.1.4.pandoc-lua-engine-0.2.1.4John MacFarlane
2024-03-29Require pandoc-lua-marshal 0.2.6Albert Krewinkel
Fixes an issue arising when the value of `content` properties on *BlockQuote*, *Figure*, and *Div* elements was an empty list. Fixes: #9613
2024-02-14Allow containers 0.7.John MacFarlane
- Bump pandoc-lua-engine to 0.2.1.3. - Bump pandoc-server to 0.1.0.5.
2024-02-14Bump pandoc-server to 0.1.0.5 and allow containsers 0.7John MacFarlane
2023-09-27Lua: Use the newest LPeg version (lpeg-1.1.*)Albert Krewinkel
Closes: #9107
2023-09-01pandoc-lua-engine: bump lower bound for pandoc.John MacFarlane
See #9046.
2023-08-31pandoc-lua-engine: bump to 0.2.1.2pandoc-lua-engine-0.2.1.2John MacFarlane
2023-08-31pandoc-lua-engine; allow text 2.1.John MacFarlane
2023-08-06Bump pandoc-lua-engine version to 0.2.1.1pandoc-server-0.1.0.2pandoc-lua-engine-0.2.1.13.1.6.1John MacFarlane
2023-08-06Bump dates, update dependencies.John MacFarlane
2023-06-24Bump pandoc-lua-engine to 0.2.1.pandoc-lua-engine-0.2.1John MacFarlane
2023-06-09Bump pandoc-lua-engine to 0.2.0.1.pandoc-lua-engine-0.2.0.1John MacFarlane
2023-06-09Include lua/module/sample.svg in hackage tarballFelix Yan
Should fix the following error when running tests from Hackage tarball: ``` pandoc.mediabag: [WARNING] Could not fetch resource lua/module/sample.svg: replacing image with description FAIL fetch // populates media bag: File lua/module/sample.svg not found in resource path DEBUG:root:haskell-pandoc-lua-engine: fill // populates media bag: lua/module/pandoc-mediabag.lua:70: expected values to be equal, got 'nil' and 'image/svg+xml' ```
2023-03-27Bump pandoc-lua-engine to 0.2, depend on latest pandocJohn MacFarlane