Skip to main content
Known Participant
December 16, 2008
Question

DITA + FM: How can I change the automatically insert text for the element info?

  • December 16, 2008
  • 9 replies
  • 1588 views
Hello,

when I insert the element info in a topic, FrameMaker automatically insert the text "ADDITIONAL INFORMATION:".
How can I change that?

I know how to change it for the elements result, postreq and prereq. I change the text format rules for the elements in the topic.edd.
But the element info has no text format rules and when I search in the topic.edd for the text "additional" or "info" I dont find something.

With kind regards,
Nina
This topic has been closed for replies.

9 replies

Participant
March 13, 2009
Hi Scott,

thanks a lot for your reply! I've found the code in the EDD on page 65.
"... is using the @type attribute value ..." - I have changed the values in the DTD (Structure\xml\DITA\app\dtd\commonElements.mod), but that didn't had any effect, not even after a restart of FM. I also changed the note attribute values in "dita-map.edd.fm" and "topic.edd.fm". Nothing. When I insert a note tag FM still inserts the original values.

Did I missunderstand something? Further tips?
Marcel
Participating Frequently
March 12, 2009
That's actually pulled from the value of the @type attribute. In the EDD you'll see the following rule ..

...
Else, if context is: [type = ]
Prefix: note:
Text range.
Use character format: note.type
Else
Prefix: <$attribute[type]>:
Text range.
Use character format: note.type
...

The .. "Prefix: <$attribute[type]>: " .. is using the @type attribute value as the prefix text.

Cheers,

...scott
Participant
March 12, 2009
Hello!

And where is the note text defined? (Depending on the note type "CAUTION", "NOTE", "WARNING", ...) I have searched in the EDD, the paragraph formats, the DTD, the reference page - no luck.

Thank you in advance!
Marcel
Participating Frequently
February 4, 2009
That's a label on the Reference page, associated with the horizontal rule.

Cheers,

...scott
Participant
February 4, 2009
What about the automatically inserted "Task" heading with the horizontal line above it? That doesn't seem to be specified in either the EDD or the paragraph format.
_NF82_Author
Known Participant
December 17, 2008
Thanks.
Ian Proudfoot
Legend
December 16, 2008
Hi Nina,
The text "ADDITIONAL INFORMATION:" is defined as an autonumber format in the paragraph format 'step.info.begin'.

Regards,
Ian
Inspiring
December 16, 2008
Hi Nina,

If the text is not in EDD, it must come from template's paragraph style settings. ( I haven't look the latest DITA app..)

Martti
_NF82_Author
Known Participant
December 16, 2008
Sorry, I don`t mean the text format rules, I mean the prefix rules.