summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/citation-style-language/citeproc-nodes.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-21 22:58:35 +0000
committerKarl Berry <karl@freefriends.org>2022-01-21 22:58:35 +0000
commit39207a02179eab0fca34dfb7bb8dbbb6215fdc7a (patch)
tree14f6a970d4a28da5523838a10debde16683f3fb9 /Master/texmf-dist/scripts/citation-style-language/citeproc-nodes.lua
parent59ab26e4b8b11acdd61b232207d7a9ae578c63e4 (diff)
citation-style-language (21jan22)
git-svn-id: svn://tug.org/texlive/trunk@61687 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/citation-style-language/citeproc-nodes.lua')
-rw-r--r--Master/texmf-dist/scripts/citation-style-language/citeproc-nodes.lua44
1 files changed, 44 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/citation-style-language/citeproc-nodes.lua b/Master/texmf-dist/scripts/citation-style-language/citeproc-nodes.lua
new file mode 100644
index 00000000000..255d170bc9d
--- /dev/null
+++ b/Master/texmf-dist/scripts/citation-style-language/citeproc-nodes.lua
@@ -0,0 +1,44 @@
+--[[
+ Copyright (C) 2021 Zeping Lee
+--]]
+
+
+local style = require("citeproc-node-style")
+local locale = require("citeproc-node-locale")
+local layout = require("citeproc-node-layout")
+local text = require("citeproc-node-text")
+local date = require("citeproc-node-date")
+local number = require("citeproc-node-number")
+local names = require("citeproc-node-names")
+local label = require("citeproc-node-label")
+local group = require("citeproc-node-group")
+local choose = require("citeproc-node-choose")
+local sort = require("citeproc-node-sort")
+
+local nodes = {
+ ["style"] = style.Style,
+ ["citation"] = style.Citation,
+ ["bibliography"] = style.Bibliography,
+ ["locale"] = locale.Locale,
+ ["term"] = locale.Term,
+ ["layout"] = layout.Layout,
+ ["text"] = text.Text,
+ ["date"] = date.Date,
+ ["date-part"] = date.DatePart,
+ ["number"] = number.Number,
+ ["names"] = names.Names,
+ ["name"] = names.Name,
+ ["name-part"] = names.NamePart,
+ ["et-al"] = names.EtAl,
+ ["substitute"] = names.Substitute,
+ ["label"] = label.Label,
+ ["group"] = group.Group,
+ ["choose"] = choose.Choose,
+ ["if"] = choose.If,
+ ["else"] = choose.Else,
+ ["else-if"] = choose.ElseIf,
+ ["sort"] = sort.Sort,
+ ["key"] = sort.Key,
+}
+
+return nodes