Reputation: 121
I'm creating a quarto book with different chapters. Each chapter has its own reference list, from the same .bib file. The YAML section for the references looks as follows:
filters:
- section-bibliographies
reference-section-title: References
bibliography: references.bib
Most chapters have a 'supplementary material' section and the reference list is placed at the end of each chapter, but I would like to specify its position (so it is placed before the supplementary material).
So currently the chapters look like this:
introduction- methods- results- discussion- supplementary material- references
But I would like it to look like this:
introduction- methods- results- discussion- references- supplementary material
Is it possible to change the order and have the references before the supplementary material?
Example code:
text text text
text text text
text text text
text text text
even more text
Upvotes: 4
Views: 415
Reputation: 67
I saw this question when I was going through the same issue; however, it seems like the answer is just in the Quarto documentation: https://quarto.org/docs/authoring/citations.html
Particularly, all you need to do is set:
### References
::: {#refs}
:::
### Supplementary Material
[insert random material here]
And then you will see that references.bib SHOULD come before the supplementary material. Works for me.
Upvotes: 0