Cross-references for multiple figures? #2792
-
This example is rendered as
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I don't know if we currently support ranges directly (the hyperlinking becomes hard to resolve), but you can more or less hack it like so:
The full set of syntax options is available on our reference page. |
Beta Was this translation helpful? Give feedback.
-
Take a look at figure-table-formatter. It automatically formats the cross-references as you indicate in your question. Doing a simpler filter that only does this would be easy stripping away the rest of the functionality of the filter. In its current version, you can cross-reference the figures and tables in the order they are mentioned in the text, and sort them accordingly. It automatically outputs a file with the sorted tags of the figures and tables. You can use this file to automatically sort the figures in other files using the same filter (handy for supplements). It would be nice to have the same functionality in the native Quarto, but at least this is a viable alternative now. |
Beta Was this translation helpful? Give feedback.
I don't know if we currently support ranges directly (the hyperlinking becomes hard to resolve), but you can more or less hack it like so:
The full set of syntax options is available on our reference page.