Typst quarto_super
captions should be wrapped in a block
#13452
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I believe this is just on the scale of a typo, so I haven't filled out the checklist, but just let me know if you disagree and I'll update.
Description
quarto_super
emits figure captions as paragraphs (par(...)
) because they are not placed inblock(...)
calls.This is generally not a problem, since they're both text and will typically show fine. However, this becomes a niche issue when doing things like numbering paragraphs as in ctk-legal, as the captions get captured as paragraphs. (Example PDF with the updated
quarto_super
using adefintions.typ
partial.)See this discussion in the Typst forum, where this was pointed out.