git.iko.soy/typeable/pandoc
on master help sign in
Added explanation of 'nocite' trick.
commit0f1fa1b586312ad7947b5a2407b153b7b55d236e authorJohn MacFarlane <jgm@berkeley.edu> dateThu 13 Feb 2014, 10:33 (13 years ago) parent927b516
1 file changed+15
README+15
README+15
@@ -2473,6 +2473,21 @@ document with an appropriate header:
24732473
24742474The bibliography will be inserted after this header.
24752475
2476+If you want to include items in the bibliography without actually
2477+citing them in the body text, you can define a dummy `nocite` metadata
2478+field and put the citations there:
2479+
2480+ ---
2481+ nocite:
2482+ | @item1, @item2
2483+ ...
2484+
2485+ @item3
2486+
2487+In this example, the document will contain a citation for `item3`
2488+only, but the bibliography will contain entries for `item1`, `item2`, and
2489+`item3`.
2490+
24762491Non-pandoc extensions
24772492---------------------
24782493