diff options
Diffstat (limited to 'Master/texmf-dist/scripts/citation-style-language/citeproc-node-date.lua')
-rw-r--r-- | Master/texmf-dist/scripts/citation-style-language/citeproc-node-date.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/citation-style-language/citeproc-node-date.lua b/Master/texmf-dist/scripts/citation-style-language/citeproc-node-date.lua index 8187cf61b97..58c0c83b831 100644 --- a/Master/texmf-dist/scripts/citation-style-language/citeproc-node-date.lua +++ b/Master/texmf-dist/scripts/citation-style-language/citeproc-node-date.lua @@ -1,5 +1,5 @@ -- --- Copyright (c) 2021-2024 Zeping Lee +-- Copyright (c) 2021-2025 Zeping Lee -- Released under the MIT license. -- Repository: https://github.com/zepinglee/citeproc-lua -- @@ -11,7 +11,8 @@ local ir_node local output local util -if kpse then +local using_luatex, kpse = pcall(require, "kpse") +if using_luatex then element = require("citeproc-element") ir_node = require("citeproc-ir-node") output = require("citeproc-output") |