Skip to content

ref divs are not ignored #11145

@raffaem

Description

@raffaem

What would you like to do?

Report an issue on quarto.org

Description

Consider the following MWE.

main.qmd:

---
title: "Title"
bibliography: bibliography.bib
format:
  pdf:
    cite-method: biblatex
---

# Section 1

Lorem ipsum @marshallSamplingQualitativeResearch1996

# References

::: {#refs}
:::

# Appendix 

This is an appendix

bibliography.bib

@article{marshallSamplingQualitativeResearch1996,
  title = {Sampling for Qualitative Research},
  author = {Marshall, Martin N},
  date = {1996-01-01},
  journaltitle = {Family Practice},
  shortjournal = {Family Practice},
  volume = {13},
  number = {6},
  pages = {522--526},
  issn = {0263-2136},
  doi = {10.1093/fampra/13.6.522},
  url = {https://doi.org/10.1093/fampra/13.6.522},
  urldate = {2024-10-22},
  abstract = {The probability sampling techniques used for quantitative studies are rarely appropriate when conducting qualitative research. This article considers and explains the differences between the two approaches and describes three broad categories of naturalistic sampling: convenience, judgement and theoretical models. The principles are illustrated with practical examples from the author's own research.},
  file = {/mnt/dataint/data/zotero/storage/SY27VB9N/Marshall - 1996 - Sampling for qualitative research.pdf}
}

Now render it with

quarto render main.qmd

In the resulting file the reference section precedes the appendix:
Image

But the documentation says:

If your bibliography is being generated using BibLaTeX or natbib (Section 7), the bibliography will always appear at the end of the document and the #refs div will be ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationDoc improvements & quarto-web

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions