diff options
Diffstat (limited to 'biblio/citation-style-language/citeproc-nodes.lua')
-rw-r--r-- | biblio/citation-style-language/citeproc-nodes.lua | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/biblio/citation-style-language/citeproc-nodes.lua b/biblio/citation-style-language/citeproc-nodes.lua new file mode 100644 index 0000000000..255d170bc9 --- /dev/null +++ b/biblio/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 |