git.iko.soy/typeable/pandoc
on master help sign in
Lua filter docs: document fields of Citation objects
484056aAlbert Krewinkel
doc/lua-filter-types-and-objects.md+26−2
@@ -464,8 +464,31 @@ tag, t
464
464
465## Attributes
465## Attributes
466
466
467−List of key/value pairs. Values can be accessed by using keys as indices to the
467+List of key/value pairs. Values can be accessed by using keys as
468−list table.
468+indices to the list table.
469+
470+## Citation
471+
472+Single citation entry
473+
474+id
475+: citation identifier, e.g., a bibtex key (string)
476+
477+mode
478+: citation mode, one of `AuthorInText`, `SuppressAuthor`, or
479+ `NormalCitation` (string)
480+
481+prefix
482+: citation prefix ([list] of [inlines])
483+
484+suffix
485+: citation suffix ([list] of [inlines])
486+
487+note_num
488+: note number (integer)
489+
490+hash
491+: hash (integer)
469
492
470
493
471[block]: #block
494[block]: #block
@@ -476,3 +499,4 @@ list table.
476[inlines]: #inline
499[inlines]: #inline
477[Attr]: #attr
500[Attr]: #attr
478[attributes]: #attributes
501[attributes]: #attributes
502+[citaions]: #citation