When editing content including graphic figures with a caption such as "Figure 9. Statistical Distribution of Y", I need to refer the figure in the text, for example
"The statistical distribution of Y is shown in Figure 9", where Figure 9 is a cross-reference link which allow the dynamic change of figure number if I modify the text and introduce another figure above the existing figure 9, in such case Figure 9 is automatically renumbered to Figure 10, and the cross-reference link is updated to Figure 10, instead of Figure 9.
Is it possible?
Generally, numbered figures and tables are a print concept, and not recommended in an HTML context.
You could add an anchor in front of your figure (with a unique name, then link to that anchor). You link text can just be figure or you could be more formal as Figure:<figure_title>.
You COULD create a user macro to stylize a figure title (not use the caption function), then write CSS that will auto number the figure titles for you. Alternatively, you could rewrite the CSS for the caption function BUT it would impact all pages in a space.
Either way, It would work as you say, renumbering as you insert new figures. BUT there is no way to dynamically update the link text (without a lot of work)
Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond. A long time favorite, Team Cale...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events