Skip to main content
Inspiring
October 22, 2024
Question

Bug using ElemtextOnly in Cross References?

  • October 22, 2024
  • 2 replies
  • 232 views

The structured developers guide describes <$elemtextonly> like this:
"The text of the source element (up to the first paragraph break), excluding its autonumber and any prefix and suffix specified in the element definition."

 

I have an element, Figure-title, with a built-in suffix. I also have a Cross-reference style that uses the <$paranum> and <$elemtextonly> building blocks. But when I create a cross-reference that points to my Figure-title element, the suffix is still included.

 

So I create a text-level element called Suffix. I move the suffix to this element. I add Suffix inside my Figure-title. Suffix is still included in my cross reference.

 

So I create another text-level element, FI-title. Now I have two text level elements: one to contain the main figure title, and one to contain the suffix. I place both inside the Figure-title. Since I need to reference the Autonumber as well, I create two adjacent cross references: [the autonumber of Figure-title] [the elemtext of my FI-title]. This more or less creates the required formatting. 

 

So here are my questions: 

  • I'm assuming this is a bug - am I wrong? Did I actually do something wrong?
  • Is there a list of known issues for Framemaker anywhere? 
  • Does anyone have a cleaner workaround?
    This topic has been closed for replies.

    2 replies

    Community Expert
    October 23, 2024

    Hi,

    I guess that Rick or someone else with expertise in structured FrameMaker will help you.

    Regarding a list of known issues: You can check the Adobe Tracker, whether your issue is already described. If not and when you are fairly sure that your issue is in fact a bug, you can describe it there.

    https://tracker.adobe.com

    Or search this forum, if someone had described your issue.

    Best regards, Winfried

    frameexpert
    Community Expert
    Community Expert
    October 23, 2024

    Verified and submitted as a bug: 

    FRMAKER-15129

    FRMAKER-15129 | Tracker

    frameexpert
    Community Expert
    Community Expert
    October 22, 2024

    Are you able to share a small sample via email? rick at frameexpert dot com

    Inspiring
    October 23, 2024

    sure, I'll send it this morning