Lua filter docs: document fields of Citation objects
This commit is contained in:
parent
2e63e2f2bc
commit
484056a4cd
1 changed files with 26 additions and 2 deletions
|
@ -464,8 +464,31 @@ tag, t
|
||||||
|
|
||||||
## Attributes
|
## Attributes
|
||||||
|
|
||||||
List of key/value pairs. Values can be accessed by using keys as indices to the
|
List of key/value pairs. Values can be accessed by using keys as
|
||||||
list table.
|
indices to the list table.
|
||||||
|
|
||||||
|
## Citation
|
||||||
|
|
||||||
|
Single citation entry
|
||||||
|
|
||||||
|
id
|
||||||
|
: citation identifier, e.g., a bibtex key (string)
|
||||||
|
|
||||||
|
mode
|
||||||
|
: citation mode, one of `AuthorInText`, `SuppressAuthor`, or
|
||||||
|
`NormalCitation` (string)
|
||||||
|
|
||||||
|
prefix
|
||||||
|
: citation prefix ([list] of [inlines])
|
||||||
|
|
||||||
|
suffix
|
||||||
|
: citation suffix ([list] of [inlines])
|
||||||
|
|
||||||
|
note_num
|
||||||
|
: note number (integer)
|
||||||
|
|
||||||
|
hash
|
||||||
|
: hash (integer)
|
||||||
|
|
||||||
|
|
||||||
[block]: #block
|
[block]: #block
|
||||||
|
@ -476,3 +499,4 @@ list table.
|
||||||
[inlines]: #inline
|
[inlines]: #inline
|
||||||
[Attr]: #attr
|
[Attr]: #attr
|
||||||
[attributes]: #attributes
|
[attributes]: #attributes
|
||||||
|
[citaions]: #citation
|
||||||
|
|
Loading…
Add table
Reference in a new issue