Multi-csl?

Does it work to set multiple csl files? and multiple reference sections? Why would I want to do that? Because the ecology.csl isn’t producing what I’d expect (or what Zotero produces with it). Instead of DOIs printing, it turns the titles into links. So I want to make a huge doc that shows how the different CSLs actually export from Quarto.

Try to cite () here with the default csl

We know it works to set csl in the quarto header, but can we set it later and swap? Insert a yaml block

---
csl: nature.csl
---

Try that again. Do we get the earlier cite too, cite a different paper to check Holt et al. ().

That overrode the default even above. What happens if we add yet another explicit CSL?

---
csl: ecology.csl
---

And cite yet another Holt, Macqueen, and Lester ().

And now everything is in Ecology format. So whatever’s last overrides earlier, and it doesn’t seem possible. Unless perhaps we actually make new docs and glue them together.

I doubt it; the includes webpage says

It also means that if the included file has a metadata block, that block will take effect in all included files. In most cases, having metadata blocks in an included file will cause unexpected behavior.

This probably isn’t worth much more effort. I’ll just look individually at the most likely csls to work.

---
csl: freshwater-biology.csl
---
---
csl: apa.csl
---

References

Holt, Galen, and Peter Chesson. 2018. “The Role of Branching in the Maintenance of Diversity in Watersheds.” Freshwater Science 37 (4): 712–30. https://doi.org/10.1086/700680.
Holt, Galen, Georgia K. Dwyer, Courtney Bourke, Ty G. Matthews, Ashley Macqueen, and Rebecca E. Lester. 2021. “Characteristics and Consequences of a Disease Outbreak in Aquatic Insects.” Freshwater Biology 66 (7): 1267–81. https://doi.org/10.1111/fwb.13715.
Holt, Galen, Ashley Macqueen, and Rebecca E. Lester. 2024. “A Flexible Consistent Framework for Modelling Multiple Interacting Environmental Responses to Management in Space and Time.” Journal of Environmental Management 367 (September): 122054. https://doi.org/10.1016/j.jenvman.2024.122054.