Skip to main content
Participant
May 26, 2019
Answered

is there a way to insert an hyperlink refering to a table ?

  • May 26, 2019
  • 1 reply
  • 489 views

I have to repeat the same tables in my document, and I'd like to use an hyperlink or whatever could avoid me to correct these tables one by one in the future. Does somebody know how to do that ?

Thanks

valérie

    This topic has been closed for replies.
    Correct answer Bob_Niland

    Well, FM doesn't have "spot cross-reference", and even if it did, it might not allow an entire table to be treated as a source. Cross-reference by <$paratext> also doesn't pull in any anchored frames from the source.

    There are a number of ways you could approach this, but which is optimal depends on the table complexity, and whether you need to have deep links into it.

    1. For a really small table, the cell contents could all be Variables.
    2. For a simple table, it could be defined at one location in the Body flow (or on a Reference Page), and the table structure could be replicated as needed, with the clone contents, cell-by-cell, being Xrefs by paratext to the master cells at the defining instance.
    3. For a more complex table, it could be defined in an external file.fm, and imported as a Text Inset.
    4. A way I used to do it was to create and maintain the tables in an external spreadsheet (LibreOffice/OpenOffice Calc), exported to PDF, and imported in an Anchored Frame.

    And it wouldn't be FM if there were only 4 ways to do it. And that's just for Unstructured Frame. In Structure, there may be further options, some much more elegant.

    1 reply

    Bob_Niland
    Community Expert
    Bob_NilandCommunity ExpertCorrect answer
    Community Expert
    May 26, 2019

    Well, FM doesn't have "spot cross-reference", and even if it did, it might not allow an entire table to be treated as a source. Cross-reference by <$paratext> also doesn't pull in any anchored frames from the source.

    There are a number of ways you could approach this, but which is optimal depends on the table complexity, and whether you need to have deep links into it.

    1. For a really small table, the cell contents could all be Variables.
    2. For a simple table, it could be defined at one location in the Body flow (or on a Reference Page), and the table structure could be replicated as needed, with the clone contents, cell-by-cell, being Xrefs by paratext to the master cells at the defining instance.
    3. For a more complex table, it could be defined in an external file.fm, and imported as a Text Inset.
    4. A way I used to do it was to create and maintain the tables in an external spreadsheet (LibreOffice/OpenOffice Calc), exported to PDF, and imported in an Anchored Frame.

    And it wouldn't be FM if there were only 4 ways to do it. And that's just for Unstructured Frame. In Structure, there may be further options, some much more elegant.

    Participant
    May 26, 2019

    Thanks Bob, that's kine of you.

    Valérie

    Community Expert
    May 27, 2019

    Hi,

    You could also use Silicon Prairie's Auto-Text plugin:

    https://www.siliconprairiesoftware.com/Products.html

    With this plugin you can easily insert any often used text snippet (including tables).

    Best regards

    Winfried