Skip to main content
May 18, 2015
Question

The Step Result element in the DITA tasks

  • May 18, 2015
  • 1 reply
  • 815 views

While creating a task in DITA, the Steps element contains Step > Step Result element. If I insert the Step Result element, the text "Step Result:" is also displayed in my published output. I would like to use the Step Result tag, but I do not want to see the Step Result text being displayed in my output. I have gone through the style guides, edds, dtds, but don't know where the text is coming from. Please help.

This topic has been closed for replies.

1 reply

ScottPrentice
Inspiring
May 18, 2015

I believe that you'll find this being applied by the associated paragraph tag as a referenced frame. Locate the template for this structured application, and modify the para tag to change the referenced frame to "None". The easiest way to determine the right tag to edit is by checking the paragraph definition in the task topic you're editing.

Good luck,

...scott

May 18, 2015

Hi ScottPrentice,

Thanks very much for the response. I followed your instructions, but no luck so far. Here's what I did:

1. Opened my task document > View > Reference pages. I could not locate Step Result referenced frame there.

2. Locate the template for this structured application - The template is Task.template. The template file is blank, so I opened the corresponding edd file: Task.edd

3. The First Format Rules and Text format Rules for the Step Result element are as follows:

First Paragraph Rules:

If Context is Step, use Step.result.begin

else use substep.result.begin

Text Format Rules:

If Context is Step, use paragraph format Step.result.begin

4. The Step.paragraph.begin paragraph style is being used here. You asked me to change the referenced file to none, but I did not find such syntax where I can make it none.

The easiest way to determine the right tag to edit is by checking the paragraph definition in the task topic you're editing.


The paragraph definition is step.result.begin. Could you please help me edit and remove the step result text from it?

ScottPrentice
Inspiring
May 18, 2015

In the task topic, click in the paragraph with this text (the "step.result.begin" para), then open the Paragraph Designer (CTRL+m). On the Advanced "tab" (5th button from the left), you should see the "Frame Above Pgf" and "Frame Below Pgf" options .. one of them will probably have a frame referenced .. change that to "None" and click Update All. The "Step Result" text should disappear.

If that works .. then open the template file, and edit the "step.result.begin" para in the same way, then save the template and try opening your task topic again.

In theory, this should work.

...scott