From 0f1fa1b586312ad7947b5a2407b153b7b55d236e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 13 Feb 2014 10:33:00 -0800 Subject: Added explanation of 'nocite' trick. --- README | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'README') diff --git a/README b/README index 661d754ba..337e097dc 100644 --- a/README +++ b/README @@ -2473,6 +2473,21 @@ document with an appropriate header: The bibliography will be inserted after this header. +If you want to include items in the bibliography without actually +citing them in the body text, you can define a dummy `nocite` metadata +field and put the citations there: + + --- + nocite: + | @item1, @item2 + ... + + @item3 + +In this example, the document will contain a citation for `item3` +only, but the bibliography will contain entries for `item1`, `item2`, and +`item3`. + Non-pandoc extensions --------------------- -- cgit v1.2.3