Reputation: 23938
I am using bookdown A Minimal Book Example. I want to make some changes in this according to my requirements. I wonder how to list all bibliography entries without citing them.
I tried \nocite{*}
in preamble.tex
(comes with A Minimal Book Example) but no effect. I could not also not figured out how to change top left title A Minimal Book Example
in html
version.
Upvotes: 5
Views: 2020
Reputation: 906
I used nocite: '@*'
in the YAML of the index.Rmd in bookdown and it works as a charm. Please make sure you have .bib file which has the references.
I used in the last chapter # References the following code chunk in order to cite all packages which are attached
```{r create_reference_list, include=FALSE}
write_bib(x = .packages()), file = 'packages.bib')
```
Details can be found here:
Upvotes: 2
Reputation: 4970
To include references without citing them in-text, you can use the nocite
parameter in the YAML header block in index.Rmd
.
nocite: |
@R-bookdown, @xie2015
The YAML header block is also where you can adjust the book title, e.g.:
title: "Some new title here"
author: "Yihui Xie"
...
nocite: |
@R-bookdown, @xie2015
Upvotes: 5