summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/citation-style-language/citeproc-nodes.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2025-01-10 23:01:10 +0000
committerKarl Berry <karl@freefriends.org>2025-01-10 23:01:10 +0000
commit08c0d74d7014ef9b7dae53f4ddb574210bb1d9e6 (patch)
tree6f4b2aad2b8be15201b4a851c10707892204d53b /Master/texmf-dist/scripts/citation-style-language/citeproc-nodes.lua
parent37e3fc1fc44cb05a1a5ee2617bf6f3203c9327c7 (diff)
citation-style-language (11jan25)
git-svn-id: svn://tug.org/texlive/trunk@73391 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/citation-style-language/citeproc-nodes.lua')
-rw-r--r--Master/texmf-dist/scripts/citation-style-language/citeproc-nodes.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/citation-style-language/citeproc-nodes.lua b/Master/texmf-dist/scripts/citation-style-language/citeproc-nodes.lua
index 3537f4256ec..438251ea700 100644
--- a/Master/texmf-dist/scripts/citation-style-language/citeproc-nodes.lua
+++ b/Master/texmf-dist/scripts/citation-style-language/citeproc-nodes.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
--
@@ -18,7 +18,8 @@ local group
local choose
local sort
-if kpse then
+local using_luatex, kpse = pcall(require, "kpse")
+if using_luatex then
style = require("citeproc-node-style")
citation = require("citeproc-node-citation")
bibliography = require("citeproc-node-bibliography")