-
Notifications
You must be signed in to change notification settings - Fork 328
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
Figure reference not processed in manuscript notebook using fenced div #11443
Comments
I have uploaded the raw and rendered files to a github repo for reproduction: https://github.com/andjar/quarto-bug-figure-ref To preview the rendered html notebook page: https://html-preview.github.io/?url=https://github.com/andjar/quarto-bug-figure-ref/blob/main/_manuscript/test-preview.html |
Sorry, that's still not enough. What about |
So, the error is only present in the extra notebooks, not the main manuscript. If the code in the original post is put into the main manuscript file For the notebook > quarto render test.qmd
processing file: test.qmd
1/3
2/3 [unnamed-chunk-1]
3/3
output file: test.knit.md
Rendering qmd embeds [test.qmd]
Rendering output notebook [test.qmd]
Rendering HTML preview [test.qmd]
Output created: _manuscript\test-preview.html |
Ok, that clarifies things. Thanks! |
Thanks for your patience and for looking into this! |
Just to set expectations: we won't have time to look into this in the near future, but we have a backlog of manuscript issues that we will take on all at once, hopefully in 1.7 or 1.8. |
Bug description
I was trying to make subfigures in a notebook to be embedded in my main article, preferably as supplemental figures. However, I was unable to get the figure references in the notebook to render properly when rendering the project from the command line.
Possibly related to #8956?
Steps to reproduce
Create an empty main document/article and a notebook containing:
Then run
quarto render
from the command line to generate an html file.Expected behavior
I expect the figure reference to render as:
Figure 1 is an example.
Actual behavior
The figure reference is rendered as:
@fig-example is an example.
Your environment
Quarto check output
The text was updated successfully, but these errors were encountered: