MC26
MC26

Reputation: 121

Set location of reference list/ bibliography in a quarto book chapter

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:

Title of my project

Introduction

text text text

Methods

text text text

Results

text text text

Discussion

text text text

Supplementary information

even more text

Upvotes: 4

Views: 415

Answers (1)

annahuynhly
annahuynhly

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

Related Questions