This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
md-pdf/docs/referencing.md

1.1 KiB
Raw Blame History

Referencing

Referencing is powered by pandoc-citeproc, so any format supported by it is supported. A list of supported formats can be found here.

Remember: To use YAML, your file must end .yaml rather than .yml!

CSL Files

There are many different ways of referencing, both inline, and in a bibliography. md-pdf supports all of them.

The configuration used for this is stored in csl files, which can be downloaded through md-pdf. See the usage instructions on how to download these.

There's a full list of available csl files here.

Example

Assuming youre using the same bibliography as the example, an input of:

@item1 says blah.

Will render as:

Doe (2005) says blah.

Advanced Citation

You can also use more advanced referencing to be more specific:

A citation group [see @item1 p. 34-35; also @item3 chap. 3].

will result in:

A citation group (see Doe 2005, 3435; also Doe and Roe 2007, chap. 3)