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 | 4 |
1 files changed, 2 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 f0c42e64fc6..24bb2b7d7a5 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-2022 Zeping Lee +-- Copyright (c) 2021-2023 Zeping Lee -- Released under the MIT license. -- Repository: https://github.com/zepinglee/citeproc-lua -- @@ -77,7 +77,7 @@ function Context:get_ordinary(name, form) variable_name = variable_name .. "-" .. form end - if variable_name == "locator" or variable_name == "label" then + if variable_name == "locator" or variable_name == "label" and self.cite then res = self.cite[variable_name] else res = self.reference[variable_name] |