Use BibTeX to cite articles in your posts and create publication lists.
Cite & List works out of the box. You may want to change the way its output looks, however. To that end, visit the option page in the
Settings menu. You can control the following parameters:
Numberwill cause entries to number in order of citation. Else the keys provided in the respective sources are used.
@keys@is replaced with a comma-separated list of citations according to citation key format.
Please read bib2tpl's documentation. You can use all features mentioned there. There is an additional tag; use
@postid@ in cite key format and bibliography template as unique identifier for the current post or page.
The recommended way to add BibTeX to a post is using a custom field named
bibtex. Additionally, you can specify (local and remote) files via shortcode
bibsource, for example
In case of duplicate keys, files overwrite the custom field and later specified files overwrite earlier specified ones.
Note that you might have to avoid special characters in entry keys, for example if you want to use them as HTML IDs.
In order to cite entries use shortcode
cite in your text, for instance
[cite key="aaa,bbb,ccc"]. As you can see, you can cite multiple entries at once. The shortcode is replaced with a citation based on your settings. All keys cited in the current post are added to the bibliography which is automatically appended to the post if necessary.
Note that you can use keys from any source; it does not matter in which order
bibsource shortcodes appear.
[publications] creates a list of entries from all sources added so far and the
bibtex custom field. For explanation of possible parameters
lang see bib2tpl's documention; they behave exactly in the same way as the corresponding API parameters. Filtering is done by parameters
only_xyz=abc which corresponds to an array entry
'xyz' => 'abc' in API parameter
only. Note that you have to escape backslashes in regular expressions with another
\ in filter parameter values.