@@ -63,6 +63,7 @@ end
6363-- @local
6464-- @param tag Tag used to identify the constructor
6565-- @param fn Function to be called when constructing a new element
66+-- @param accessors names to use as accessors for numerical fields
6667-- @return function that constructs a new element
6768function Element:create_constructor(tag, fn, accessors)
6869 local constr = self:make_subtype({tag = tag, getters = {}, setters = {}})
@@ -134,7 +135,7 @@ end
134135-- @section document
135136
136137--- A complete pandoc document
137−-- @function Doc
138+-- @function Panoc
138139-- @tparam {Block,...} blocks document content
139140-- @tparam[opt] Meta meta document meta data
140141function M.Pandoc(blocks, meta)
@@ -170,7 +171,7 @@ end
170171
171172--- Meta map
172173-- @function MetaMap
173−-- @tparam table a string-index map of meta values
174+-- @tparam table key_value_map a string-indexed map of meta values
174175M.meta_value_types = {
175176 "MetaBlocks",
176177 "MetaInlines",
@@ -664,7 +665,7 @@ setmetatable(M.Attr, M.Attr)
664665-- @tparam[opt] {Inline,...} prefix citation prefix
665666-- @tparam[opt] {Inline,...} suffix citation suffix
666667-- @tparam[opt] int note_num note number
667−-- @tparam[opt] int note_num hash number
668+-- @tparam[opt] int hash hash number
668669M.Citation = function(id, mode, prefix, suffix, note_num, hash)
669670 prefix = prefix or {}
670671 suffix = suffix or {}