diff options
author | Norbert Preining <norbert@preining.info> | 2022-03-22 03:01:37 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-03-22 03:01:37 +0000 |
commit | 51119d11f3700a5be7da086dacad56dd219a5c90 (patch) | |
tree | 004fca9000d3b9524fc2dad4bb7e01c45eb25665 /biblio/citation-style-language/citeproc-node-choose.lua | |
parent | 418f27fe2e2b233c282c7388ed4f2bf3461a958f (diff) |
CTAN sync 202203220301
Diffstat (limited to 'biblio/citation-style-language/citeproc-node-choose.lua')
-rw-r--r-- | biblio/citation-style-language/citeproc-node-choose.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/biblio/citation-style-language/citeproc-node-choose.lua b/biblio/citation-style-language/citeproc-node-choose.lua index aa36e2c8c3..e48731406c 100644 --- a/biblio/citation-style-language/citeproc-node-choose.lua +++ b/biblio/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 |