From 01b7612a9df25fdb4a3be074b92fc847c8bb8a15 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 11 Apr 2025 09:33:07 -0700 Subject: MANUAL: for pandoc lua, add note about the environment. --- MANUAL.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MANUAL.txt b/MANUAL.txt index 8e1048758..f456aae4d 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -7645,7 +7645,10 @@ Calling the pandoc executable under the name `pandoc-lua` or with `lua` as the first argument will make it function as a standalone Lua interpreter. The behavior is mostly identical to that of the [standalone `lua` executable][lua standalone], version 5.4. -For full documentation, see the [pandoc-lua] man page. +All `pandoc.*` packages, as well as the packages `re` and `lpeg`, +are available via global variables. Furthermore, the globals +`PANDOC_VERSION`, `PANDOC_STATE`, and `PANDOC_API_VERSION` are +set at startup. For full documentation, see the [pandoc-lua] man page. [lua standalone]: https://www.lua.org/manual/5.4/manual.html#7 [pandoc-lua]: https://github.com/jgm/pandoc/blob/master/doc/pandoc-lua.md -- cgit v1.2.3