-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The location of references list is not assigned by #refs
block
#6867
Comments
Thanks for the report! I can repro the issue as described. |
@cscheid I re-test the above minimal example with Quarto 1.4.367 and Quarto 1.4.366, and find that Quarto 1.4.366 is ok while Quarto 1.4.367 is not ok. |
@cscheid it seems it comes from #6620 (8ba05ff) - verified with a A bit surprised as this should be a Pandoc feature directly (https://pandoc.org/MANUAL.html#placement-of-the-bibliography) - so not sure how we have messed with it. You know best the changes |
Here is a minimal example, and I find that Pandoc's side is ok.
Create PDF from markdown with # Pandoc 3.1.8
quarto pandoc --citeproc --pdf-engine xelatex -t pdf \
--bibliography=refer.bib \
--standalone \
-f markdown refer-test.md \
-o refer-test.pdf file
|
Yes, that's unfortunately but our codebase isn't at a state where we could have done the crossref work in clean bisectable commits, and merging would have made bisecting even harder. |
Hello. Commenting to follow here because I'm experiencing a similar issue with v1.4.487. My version of a reprex for this is at https://github.com/EllaKaye/book-bug |
#7432 is a similar issue. |
Thanks a lot for the report. This is an issue in our Lua filter chain. @cscheid I believe this comes from #6952 to fix something for beamer. quarto-cli/src/resources/filters/quarto-finalize/coalesceraw.lua Lines 22 to 27 in 114495b
This filters does flatten div with only identifiers like ::: {#refs}
::: which breaks the Pandoc reference position feature (because no more div of id refs when citeproc runs). This filters applies on LaTeX output only, hence why it works with HTML Easy fix is to test also for idenfier. |
Ah, great! As a temporary workaround, this is fixable by adding a class to the refs div so that it doesn't get flattened: ## References
::: {#refs .blah}
::: But that's just until #7621 happens |
Bug description
The location of references list is not assigned by
#refs
blockSteps to reproduce
Step 1: create book project
Step 2: modify
_quarto.yml
as followI add an appendix after the references.
Expected behavior
The references's location is assigned by
#refs
block.Actual behavior
The following block doesn't work when output is pdf.
the location of references list is not assigned by
#refs
blockreferences append to appendix.
Your environment
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.06.2+561 Chrome/110.0.5481.208 Electron/23.3.0 Safari/537.36
Quarto check output
The text was updated successfully, but these errors were encountered: