Copy link to clipboard
Copied
In InDesign, is there a way to add a text condition to the cross-reference definition, or is Best Practice to create two cross references and apply different conditional text markers to them after-the-fact?
I'm trying to single-source a POD and an EPUB for a client (and believe me, this is not easy). The POD Xref includes a page number and the EPUB does not (basically, but there are additional small differences, too). There are a lot of Xrefs. It would streamline things to just pop two different Xrefs into the text stream and have the POD/EPUB condition automatically apply.
I know that there are programmatic things that can be done in the Xref definition, such as including a text limiter, but I haven't found anything about applying a condition.
Thanks as always to the community for any help.
-j
Copy link to clipboard
Copied
I haven't tested it, but my first inclination would be to make two xrefs and apply conditions to them. I would be concerned that the link would get messed up.
Another option would be to style the page number the same as the xref link but not include it in the xref; then apply the condition to just the page number.