Skip to main content
shane_lawrence
Participating Frequently
May 3, 2019
Answered

Is it possible to suppress the cross reference in a generated file?

  • May 3, 2019
  • 2 replies
  • 875 views

I have a list of paragraphs, and would like to have the <$paratext> as cross referenced, but the resulting tabstop  . . . . and <$pagenum> not generate the link. I thought I had seen a building block that would accomplish this, but have not been able to find it.

I thought of trying a work around with multiple run in paragraph tags, but I only have the one paragraph tag to generate the final <$pagenum>, so run in paragraph would cause issues.

    This topic has been closed for replies.
    Correct answer Matt-Tech Comm Tools

    Ok, so you want to display the tab leader and #, but not have it part of the hyperlink.

    If adding a character tag to the <$paratext> building block doesn't do it (and I don't expect it to), then I think you're out of luck.

    Just out of curiosity, what's driving the decision to omit the hyperlink on the tab and #?

    2 replies

    LinSims
    Community Expert
    May 3, 2019

    Then, as Matt said, all you have to do is go into the Reference page and delete the tab and the <$paranum> building block, then regenerate the file. You'll have a list of just the paragraph texts.

    Matt-Tech Comm Tools
    Community Expert
    May 3, 2019

    Are you trying to remove the tab leader and page number from a generated list of paragraphs?

    To do that, you would delete the tab and the <$pagenum> from the paragraph entry on the LOP reference page.

    If that's not what you're trying to do, can you describe further or provide a screenshot?

    -Matt SullivanFrameMaker Course Creator, Author, Trainer, Consultant
    shane_lawrence
    Participating Frequently
    May 3, 2019

    What I'm after is a list that shows:

       <$paratext>. . . . . . . . . . . . . . . . . . . . . . . . . . . <$paranum>

    However, I only want the <$paratext> to generate the cross reference to the section in the book. I don't want to have the . . . . tabstop or <$paranum> as a clickable item in the table.

    Community Expert
    May 6, 2019

    Shane,

       I know this question has been answered, but this thread doesn't seem to contain an explanation for why applying a character format to the first building block makes a difference. Here's a description.

       Each entry in a generated file is a separate paragraph that begins with a hypertext marker. That marker defines the destination of the link. The hot text of the link is the marker and all adjacent content in the paragraph that uses the same character format. As soon as you apply a character format, therefore, you terminate the hot text. Your example shows <$paratext> as the only bold part of the paragraph, so setting up the formatting solved the problem. Had you wanted to use the same font throughout, you could have simply applied a format that set all properties to As Is.

              --Lynne


    Hi Shane,

    I do not know, if everything is clear now. Therefore here a short instruction what to do:

    1 In the TOC create a character format with everything set to As Is: Open the Character Designer pod and click in the margin of your page (not in any text frame). In the Character Designer pod everything should be set to As Is. Enter a name for your character format, e.g. NoHyperlink.

    2 Open the reference page view of your TOC.

    3 Go to the page which controls the TOC. In my version it's called TOC.

    4 Go to the paragraph with the format which you want to adapt, e.g. Heading1TOC.

    It looks something like:

    <$paratext>...........................................................<$pagenum>

    Apply your character format to the text after <$paratext>. This is the tab and <$pagenum>.

    5 Then open the Body page view and update your book.

    Now you have still the same appearance, but only the paragraph text is a hyperlink. The tab and the page number are only regular text. The hyperlink extends only until the character format starts.

    The concept of the active area is explained in the FrameMaker user guide:

    https://help.adobe.com/en_US/framemaker/2019/using/using-framemaker-2019/WS053b9687b4c35b125b77180f146b41f8b90-8000.html

    Best regards

    Winfried