Replies: 2 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
-
When I use the default format and compare that to adding a CSL file I don't see any differences in the References lists (only in the in-text citations). What I would like to see is the References list formatted in the RStudio Viewer pane based on the CSL file. That is, with the correct information displayed (or omitted, e.g., the ISBN) and with the correct styling (italics, parentheses, spaces, etc.). So, in the case of the
Instead, when I render the document with JATS it seems to be simply concatenating all of the information in the bibtex file without any organization or formatting:
Looking at the XML file, it seems that JATS XML formats the bibliography information without any style data. It just uses tags for Thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I am trying to write a manuscript in Quarto and I was following this guide for how to handle references. When I use
format: html
in the front matter along withcsl: nature.csl
andbibliography: references.bib
, I get correctly formatted references at the end of my document. But if I useformat: jats
, the references are not correctly formatted--it seems like the.csl
is being ignored. Is this supposed to work?For what it's worth, the JATS section of the Quarto documentation includes a section on
csl
so I am assuming this is not working as intended.Below is a minimal example with a single reference. I have linked to the
nature.csl
style file and provided a minimalreferences.bib
below.Link to the nature.csl file.
references.bib
:Examples
HTML with correct reference formatting:
JATS with incorrect reference formatting:
Versions
Beta Was this translation helpful? Give feedback.
All reactions