1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
--
-- Copyright (c) 2021-2022 Zeping Lee
-- Released under the MIT license.
-- Repository: https://github.com/zepinglee/citeproc-lua
--
local style = require("citeproc-node-style")
local citation = require("citeproc-node-citation")
local citation = require("citeproc-node-citation")
local bibliography = require("citeproc-node-bibliography")
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"] = citation.Citation,
["intext"] = citation.Intext,
["bibliography"] = bibliography.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
|