summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/citation-style-language/citeproc-node-choose.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-03-21 20:30:02 +0000
committerKarl Berry <karl@freefriends.org>2022-03-21 20:30:02 +0000
commit82bc16ce44bc3251fe77fc8457194622bccb5614 (patch)
tree8f8144629fe0fad5dbc603b895df6eb64d616ba5 /Master/texmf-dist/scripts/citation-style-language/citeproc-node-choose.lua
parenta24bbdfb79d581d3980dff6146a9763c7a78f766 (diff)
citation-style-language (21mar22)
git-svn-id: svn://tug.org/texlive/trunk@62862 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/citation-style-language/citeproc-node-choose.lua')
-rw-r--r--Master/texmf-dist/scripts/citation-style-language/citeproc-node-choose.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/citation-style-language/citeproc-node-choose.lua b/Master/texmf-dist/scripts/citation-style-language/citeproc-node-choose.lua
index aa36e2c8c37..e48731406c5 100644
--- a/Master/texmf-dist/scripts/citation-style-language/citeproc-node-choose.lua
+++ b/Master/texmf-dist/scripts/citation-style-language/citeproc-node-choose.lua
@@ -1,3 +1,9 @@
+--
+-- Copyright (c) 2021-2022 Zeping Lee
+-- Released under the MIT license.
+-- Repository: https://github.com/zepinglee/citeproc-lua
+--
+
local choose = {}
local element = require("citeproc-element")
@@ -50,7 +56,7 @@ If.render = function (self, item, context)
local locator_label = item.label or "page"
local res = locator_label == locator_type
if locator_type == "sub-verbo" then
- res = locator_label == "sub verbo"
+ res = locator_label == "sub-verbo" or locator_label == "sub verbo"
end
table.insert(results, res)
end