Skip to main content
Community Expert
December 3, 2024
Answered

Chapnum variable converts to "​" when publishing to Epub?

  • December 3, 2024
  • 4 replies
  • 825 views

When I publish a book to epub from FrameMaker 2022, the chapnum variables are being published as a "&#8203", which seems to be unicode for a nonbreaking character. Any ideas how to circumvent this odd behavior?

 
 

 

    This topic has been closed for replies.
    Correct answer FrameMaker-dk

    Thanks to you all @Bob_Niland @Matt-Tech Comm Tools @Jeff_Coatsworth . It seems the problem was one of font embedment. If all fonts are not embedded, the entire publishing process malfunctions because internal anchor tags don't work. 

     

    4 replies

    FrameMaker-dkCommunity ExpertAuthorCorrect answer
    Community Expert
    December 4, 2024

    Thanks to you all @Bob_Niland @Matt-Tech Comm Tools @Jeff_Coatsworth . It seems the problem was one of font embedment. If all fonts are not embedded, the entire publishing process malfunctions because internal anchor tags don't work. 

     

    Bjørn Smalbro - FrameMaker.dk
    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    December 4, 2024

    Thanks for the follow-up!

     

    -Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant
    Bob_Niland
    Community Expert
    Community Expert
    December 4, 2024

    ​ is the decimal entity for:
    U+200B ZERO WIDTH SPACE (hex entity ​)
    Does FM even have a keyboard shortcut for inserting that? If not, it would have to have been either typed into a dialog as \u200b, or came in with a copy&paste from somewhere. And if it did manage to get typed into a dialog, such as an autonumber format, it would likely be invisible now, due to FM's policy of dereferencing all \u markups to their Unicode glyphs, even if visually unmaintainable.

     

    FM's Character document does have mention of:
    U+200C ZERO WIDTH NON-JOINER

    U+200D ZERO WIDTH JOINER
    but without trying it, I have no opinion on how the inferred semantics for any of these are supported by FM.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    December 3, 2024

    Hmm, the only person I know that has much ePUB publishing experience is @Matt-Tech Comm Tools - maybe he can chime in with a suggestion. Are any other unicode figments showing up?

    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    December 3, 2024

    does your chapnum variable contain a nbs?

     

    -Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant
    Jeff_Coatsworth
    Community Expert
    Community Expert
    December 3, 2024

    Are you doing this on the latest patch version of FM2022?

    Community Expert
    December 3, 2024

    Yep: 

    Bjørn Smalbro - FrameMaker.dk