Skip to main content
Participant
June 6, 2023
Question

Subscripts not persisting from cross reference source to the final

  • June 6, 2023
  • 1 reply
  • 251 views

Hi all:

 

Searched for this in the FM community but didn't find this exact thing...

We were using FM 2019 and this worked. Created a file with all the cross reference text. In the final file, indicated the cross reference text. Because subscripts did not work, we went back and created a subscript character style and applied it to the source in the cross reference file. Saved, replaced the cross references in the final file and voila! Subscripts.

 

Recently, we updated to FM 2022 and this does not work. If you can suggest another way around this or what we're doing wrong, we'd be very appreciative!

 

Thanks so much!

Fran H.

    This topic has been closed for replies.

    1 reply

    Bob_Niland
    Community Expert
    Community Expert
    June 6, 2023

    If the subscripts (and a number of other text variations) are done by applying an override or Character Format
    ☑ Superscript
    that causes the active region of the referring hypertext to end at that character boundary. This happens both with deliberate Xrefs, and entries in generated lists, such as ToC & IX. It has ever been thus in FM.

     

    The fix, font support permitting, is to stop doing supers and subscripts as Character Formats, and instead use the natively super & sub Unicode code points.
    Here's a cheat sheet: ⁰¹²³⁴⁵⁶⁷⁸⁹⁺⁻ˣˢᵗʰᴱ₀₁₂₃₄₅₆₇₈₉₊₋ₙ

    I would do these as Variables, but without override or Character Format. Variables (otherwise lacking character formats) don't break hypertext.

    fhayden14Author
    Participant
    June 7, 2023

    Thank you Bob! I will try this and report back. MUCH APPRECIATED!!!

    fhayden14Author
    Participant
    June 7, 2023

    This is a brilliant solution - any idea why the superscripts are working, but the subscripts are not?