diff options
author | Karl Berry <karl@freefriends.org> | 2023-04-03 21:32:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-04-03 21:32:12 +0000 |
commit | f7e460629cd4ad5b5633111ebcfe71c4d9dfa545 (patch) | |
tree | 9d18c6da99ca46eb92eb8019b2880c7c2d33e990 /Master/texmf-dist/scripts/citation-style-language/citeproc-context.lua | |
parent | e7038d590db60ddbdbb89f18f8251bc096355c09 (diff) |
citation-style-language (3apr23)
git-svn-id: svn://tug.org/texlive/trunk@66749 c570f23f-e606-0410-a88d-b1316a301751
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] |