diff options
Diffstat (limited to 'Master/texmf-dist/scripts/citation-style-language/citeproc-context.lua')
-rw-r--r-- | Master/texmf-dist/scripts/citation-style-language/citeproc-context.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/citation-style-language/citeproc-context.lua b/Master/texmf-dist/scripts/citation-style-language/citeproc-context.lua index 3802b854e73..4e9eab7169d 100644 --- a/Master/texmf-dist/scripts/citation-style-language/citeproc-context.lua +++ b/Master/texmf-dist/scripts/citation-style-language/citeproc-context.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 -- @@ -10,7 +10,8 @@ local unicode local LocalizedQuotes local util -if kpse then +local using_luatex, kpse = pcall(require, "kpse") +if using_luatex then unicode = require("citeproc-unicode") LocalizedQuotes = require("citeproc-output").LocalizedQuotes util = require("citeproc-util") |