Reference captions from text?
A common use case would be that you have a figure or table in your text and need a reference from the text in a printed document - i.e., the exported Word Document.
Say I have a picture that is captioned as "Figure 17: Something to see in this photo". Later I want to reference to that picture like this: "This can then be seen in the photo (Figure 17)". This is similar to another Confluence plugin which works fine if browsing contents in Confluence itself but resets the figure count with every new page once exported to a Word document using Scroll Office.
Since these references would also be visible in the Confluence text it would be great if the figure count would be displayed alongside the caption title, e.g. after checking a checkbox property "Always show figure count" in the macro properties. Actually, it would also be very useful to not be forced to enter a title as "Figure 17" is often all you need as a caption.
Is such a thing already possible in Scroll Office and I just can't see it? If not, would it be possible to add this feature to the plugin?
-
Hi Dominik,
You can use Scroll Title macro to add captions to images and tables, and it will auto count them. So, placing two Scroll Title macros each with an image, would render "Figure 1. Image name" and "Figure 1. Some other image name".
To reference a link to an image, you can simply add an anchor before an image inside the Scroll Title macro. When clicking on a link that leads to this anchor, a user is being shown that image in the exported Word file.
Does this help?
Cheers,
Roman. -
Hello Roman,
Unfortunately this type of reference wouldn't work so well if the document is printed, where something like "see Figure 17" is the only way to go.
Now there's two options for us:
- Use the Scroll Title macro and type the reference in the text by hand
- Don't use the Scroll Title macro and type the caption AND the text reference by hand
The first option has the major disadvantage that if we add an image or table to the document and we forget to update the text references, a user would look for "Figure 17", which by now is actually figure 18.
Doing both the caption and reference manually has the disadvantage that we might forget to update a caption after inserting an image, but at least the caption and text reference would both still refer to figure 17, even though by then we have two figure 17.
The best way of course would be if the Scroll Macro would allow such a text reference automatically so we wouldn't have to worry about wrong references.
-
I don't know if you can get access to this other item in K15t, but I've solved the problem of caption references with a Word macro.
Please sign in to leave a comment.
Comments
3 comments