Albert Krewinkel
|
999916642c
|
Fix test for template marshaling.
|
2022-10-27 22:46:34 +02:00 |
|
Albert Krewinkel
|
6c4d885bda
|
Lua: allow strings in place of compiled templates.
This allows to use a string as parameter to `pandoc.template.apply` and
in the WriterOptions `template` field.
Closes: #8321
|
2022-10-27 22:09:39 +02:00 |
|
 Albert KrewinkelandJohn MacFarlane
|
78d7fc46fe
|
Lua: add function pandoc.template.apply
The new function applies a context, containing variable assignments, to
a template.
|
2022-10-11 14:03:08 -07:00 |
|
Albert Krewinkel
|
96bdd34a90
|
Lua: fix tests on Windows broken in previous commit.
|
2022-10-05 22:07:38 +02:00 |
|
Albert Krewinkel
|
48ab7a17cf
|
Lua: produce more informative error messages for pandoc errors
Errors are reported in Lua in the same words in which they would be
reported in the terminal.
|
2022-10-05 21:53:03 +02:00 |
|
 Albert KrewinkelandJohn MacFarlane
|
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 |
|