Skip to main content
June 22, 2015
Question

How do I insert a cross-reference to only part of a paragraph?

  • June 22, 2015
  • 2 replies
  • 636 views

I want to insert a cross-reference to another document. I have done this several times to headings, and it has worked just fine.

However, now I want the reference to go to a paragraph. I don't want the cross-reference in document one to display the entire paragraph text from the paragraph I am referencing in document two. I just want a few of the words from the paragraph to appear as the cross-reference. I tried to make a marker, but I can't get the marker text to be used as the cross-reference. I don't think I can make my own building blocks. So, how do I just get the few words to be the cross-reference without having to create a custom format each time I do this?

This topic has been closed for replies.

2 replies

Legend
June 25, 2015

Just out of curiosity, what are you hoping to show; is it something like See the paragraph starting "Aardvarks gambol freely in the sunshine", on page 51?

June 25, 2015

Alas, there are no aardvarks involved, but yes, I'm basically trying to do as you said - send the reader to a paragraph with a keyword in it. From an updating standpoint, the x-refs and invisible texts suggested above would work, but would be a total nightmare to upkeep. I'm bummed that there isn't a simple marker text building block.

Legend
June 29, 2015

You could, perhaps, keep it all out in the open like Art Nouveau constructional ironwork: in other words, make the keywords visible. It's always easier to edit/update what we can see, and might even help the casual reader discover interesting content. Here's a screenshot, using a new :keyword paragraph tag so you can set up a cross-ref as usual.

I agree warmly with all the hundreds of people who, over the years, have requested or suggested the creation of a <$markerText> xref block.

Bob_Niland
Community Expert
Community Expert
June 22, 2015

You can wait for Adobe to get around to implementing Cross Reference building block <$markertext>*, or see Problems with spot cross-references for work-arounds.

* People have only been asking for this for a decade or so.

June 22, 2015

Thanks for the reply Error 7103. It is ridiculous that I can't do this. Even Word lets me do this. Ah well. I'll check out the work-arounds - they seem a bit cumbersome for the number I'm going to need to do, but maybe I'll give them a shot. Or I'll have to do something ugly, like "See pg. #" which will make me feel sad.

Arnis Gubins
Inspiring
June 23, 2015

One way to get something useable as a partial cross-ref is to use the invisible text in an achored frame hack that is described in the Link that Error provided.

An alternate approach, but perhaps more of a maintenance issue and clumsy is to use two (or more) paragraphs strung together as run-ins, That way you could make the $paratext link to an entire paragraph, yet it will look like only part of the paragraph is being used.