-
Notifications
You must be signed in to change notification settings - Fork 323
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
Graphviz figures are not treated as figures #6000
Comments
Thanks for the report. We're aware, and I'm working on it right now, on #4944. |
I will note that you seem to have a bug on your
You have Specifically, figure labels in quarto need to always start with
|
|
(Tagging this as |
To be clear, this |
Yeah, that's what I see here as well. This bug is actually quite hard to fix correctly, but I'm literally in the middle of fixing the foundational problems. It will be several weeks until it's done: keep an eye on #4944 for progress. |
This bug is now fixed: I'm going to go ahead and close it. Unfortunately, we have a separate problem with wide layouts on |
Very nice! 😊 |
@cscheid ; was the crossreferencing issue also resolved or merely the styling? I do not seem to be able to get it working… My cross-reference in text: The code:
The dot-graph is visible, but the cross-reference does not work. |
@SHogenboom You need to be careful with syntax: you're using |
@cscheid ; thanks for point the |
You're supposed to use To be clear, your code chunk options look like knitr options for a code block in R. Instead, you have to use the comment syntax of whatever language you're using. In dot, that's |
@cscheid ; Thanks! That works. Hadn’t for a second considered there would be different chunk styling options. Apologies! |
Bug description
Graphviz diagrams do not behave like other types of figures, their labels do not work, captions work only partially, and positioning in the margin only works in HTML, not in PDF.
Steps to reproduce
Expected behavior
Actual behavior
Unfortunately, there are multiple problems with Graphviz diagrams:
column: margin
attribute for PDF, but they do for HTML.HTML:
PDF:
Your environment
Quarto check output
The text was updated successfully, but these errors were encountered: