Referencing placeholder figures

Dear all,

this is a question arising after solving the placeholders for figures in an earlier post: I’d like to reference back to a certain figure, as in “see figure 1.2", but am unsure how to do it, as the actual number is constructed by placeholders: Figure <$n#chapter>.<$n:figure>

Any advice greatly appreciated!

Best regards,

Elisabeth

There is this from Help > List of Placeholders :

If you add a document link to a number reference, the reference placeholder will be replaced with the numerical value of the placeholder as it was for the linked document. (E.g. If you are using <$t:chapter> in chapter titles and use <$t#chapter> linked to a document inside Chapter Four, then “<$n#chapter>” will be replaced with “Four”.)

Note that this solution (if I am understanding correctly) seems to work at the document level. If you had multiple figures within one doc you wanted to severally cross-reference, that might be a problem. The easy solution is to split out your documents so that your figures are in documents of their own. Then the above technique ought for sure to do what you want for any figure you have.

thanks! I will try that!