quarto-dev / quarto-dev/quarto-cli
Support #refs div bibliography placement for default Typst citation processing
@cderv is already working on this.
Since Feb 19, 2024.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Bug description
The typst output format always puts the bibliography at the end of the document, and ignores the ::: {#refs} div.
Note: The citation format is also incorrect, but I think that's a pandoc issue. I've submitted a bug report there for that.
Steps to reproduce
---
bibliography: test.bib
format:
typst:
bibliographystyle: chicago-author-date
keep-typ: true
---
Citing @something2024.
## References
::: {#refs}
:::
The reference should be above me.
test.bib:
@article{
something2024,
author = {Joe Bloggs and Jane Doe },
title = {An article in Science},
journal = {Science},
year = {2024}}
Expected behavior
Citing (Bloggs and Doe 2024).
References
Bloggs, Joe, and Jane Doe. 2024. “An Article in Science”. Science
The reference should be above me.
Actual behavior
Citing (Bloggs and Doe 2024).
References
The reference should be above me.
Bibliography
Bloggs, Joe, and Jane Doe. 2024. “An Article in Science”. Science
Your environment
- IDE: VS Code v1.86.1
- OS: Windows 10 (v22H2)
Quarto check output
Quarto 1.4.549
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.1.11: OK
Dart Sass version 1.69.5: OK
Deno version 1.37.2: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.4.549
Path: C:\Program Files\Quarto\bin
CodePage: 1252
[>] Checking tools....................OK
TinyTeX: v2022.11
Chromium: (not installed)
[>] Checking LaTeX....................OK
Using: TinyTex
Path: C:\Users\me\AppData\Roaming\TinyTeX\bin\win32\
Version: 2022
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....OK
Version: 3.10.11
Path: C:/Users/me/AppData/Local/Programs/Python/Python310/python.exe
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with py -m pip install jupyter
[>] Checking R installation...........(None)
Unable to locate an installed version of R.
Install R from https://cloud.r-project.org/
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.