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.

    shane_lawrence
    Participating Frequently
    May 3, 2019

    Sorry, in my example, I meant <$pagenum> not <$paranum>. The only way I can think that it would be possible, is to use two separate paragraph tags to generate each entry. The original headings <$paratext> as a run in paragraph, followed by a tabstop on the reference page, followed by another tag that would generate the <$pagenum> entry for the link. However, I don't have a second paragraph tag that would generate the appropriate page number for the heading. If I use the same tag again, it's a run in and messes up the formatting. I'm thinking possibly putting in a black body tag after that, and trying it out.