Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

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

New Here ,
Dec 16, 2008 Dec 16, 2008

Copy link to clipboard

Copied

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
TOPICS
Structured

Views

1.5K
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 16, 2008 Dec 16, 2008

Copy link to clipboard

Copied

Sorry, I don`t mean the text format rules, I mean the prefix rules.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Dec 16, 2008 Dec 16, 2008

Copy link to clipboard

Copied

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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Dec 16, 2008 Dec 16, 2008

Copy link to clipboard

Copied

Hi Nina,
The text "ADDITIONAL INFORMATION:" is defined as an autonumber format in the paragraph format 'step.info.begin'.

Regards,
Ian

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 16, 2008 Dec 16, 2008

Copy link to clipboard

Copied

Thanks.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 04, 2009 Feb 04, 2009

Copy link to clipboard

Copied

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.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 04, 2009 Feb 04, 2009

Copy link to clipboard

Copied

That's a label on the Reference page, associated with the horizontal rule.

Cheers,

...scott

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 12, 2009 Mar 12, 2009

Copy link to clipboard

Copied

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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 12, 2009 Mar 12, 2009

Copy link to clipboard

Copied

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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 13, 2009 Mar 13, 2009

Copy link to clipboard

Copied

LATEST
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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines