Actually, I was not able to get it to work. I copied the file from a previous 
version and used it instead.

By the way, when will the "Optional:" flag in procedure steps be available? 
According to some previous digest issues (see below), it should be available 
now, but it doesn't work for me. I have specified my steps as <cmd 
importance="optional"> and set mark-important-steps to yes in my transform 
parameters, but "Optional:" does not appear on marked steps in the output.  I 
have had to use a conditionally processed <ph> elements for PDF output to 
include this phrase. A lot of work for a workaround. Really looking forward to 
the Optional flag working.


REFERENCES TO OPTIONAL TAG IN PREVIOUS SUPPORT messages:
------------------------------

Message: 6
Date: Fri, 11 Oct 2013 13:04:01 +0200
From: Hussein Shafie <[email protected]>
To: Niels Grundtvig Nielsen <[email protected]>
Cc: "[email protected]" <[email protected]>,
        [email protected]
Subject: Re: [ditac] [XXE] optional steps in DITA tasks
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 10/11/2013 12:12 PM, Niels Grundtvig Nielsen wrote:
> Working in a DITA task, I enter a <step> element and set the 
> importance attribute to "optional" from the attribute value pulldown. 
> It looks as though the attribute value is set, but there is no visible 
> "Optional"
> marker in .pdf output, either from topic or form calling topic in a 
> bookmap. Is there something I need to enable?
>

No. We simply forgot to generate the "Optional" text in the output.

We'll change this in the next release.

------------------------------

Message: 3
Date: Mon, 17 Nov 2014 11:40:04 +0100
From: Hussein Shafie <[email protected]>
To: Niels Grundtvig Nielsen <[email protected]>
Cc: "'[email protected]'" <[email protected]>,
        [email protected]
Subject: Re: [ditac] [XXE] optional steps in DITA
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed

On 11/17/2014 11:20 AM, Niels Grundtvig Nielsen wrote:
> Just been looking at how to identify optional steps in a task ? 
> setting the 'importance' attribute to 'optional' seemed like a good idea.
> Unfortunately, this isn't flagging the step as optional either in .pdf 
> or in WebHelp. What else should I be doing?

Please specify XSLT stylesheet parameter:

mark-important-steps

with value:

yes

Description:

XSLT stylesheet parameter mark-important-steps=yes (default value is
"no") allows to generate a "Required" (respectively "Optional") label for step 
and substep elements having an importance attribute set to "required" (resp. 
"optional").

More information:

http://www.xmlmind.com/ditac/_distrib/doc/manual/webhelp/xsltParams.html#xsltParams__mark-important-steps



Thank you,
Julie



-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: Monday, March 16, 2015 9:46 AM
To: Julie McHam
Cc: [email protected]
Subject: Re: [ditac] FW: Changing task labels

On 03/16/2015 04:15 PM, Julie McHam wrote:
> Hi Hussein,
>
> I had modified this file a couple of versions ago and it worked fine. This 
> time, I added a message line for the context element because the line did not 
> exist. I have attached the file.
>

I'm sorry but I don't understand what you have done.

---
<message name="context">About this task</message>
---

already exists in the stock "xsl/common/messages/en.xml" file and always had.



Having 2 <message name="context"> in the "en.xml" file,

stock message:
---
<message name="context">About this task</message>
---

plus your custom message:
---
<message name="context">Procedure summary</message>
---

gives me *exactly* the error message you have reported. (I checked
that.) Therefore my explanation below appeared to make sense.



Anyway, I'm glad you managed to solve your problem by yourself.




> Thank you,
> Julie
>
> -----Original Message-----
> From: Hussein Shafie [mailto:[email protected]]
> Sent: Saturday, March 14, 2015 1:59 AM
> To: Julie McHam
> Cc: [email protected]
> Subject: Re: [ditac] FW: Changing task labels
>
> On 03/13/2015 11:14 PM, Julie McHam wrote:
>> Hi again,
>>
>> I found where to change the text label, but I can't get it to work.
>> Here is what I did. Perhaps you can tell me what I am doing incorrectly?
>>
>> In my DITA task topic, I coded this after the <prereq> element and 
>> before the <steps> element:
>>
>> <context> <!-- Fast path for advanced users -->
>>                                                   <ol>
>>
>> <li>Open the View Cash Control page.</li>
>>
>> <li>Specify search criteria on the Search tab.</li>
>>
>> <li>View JV transactions on the Details tab.</li>
>>                                                   </ol>
>>                   </context>
>>
>> I added this line to the en.xml file:
>>
>> <message name="context">Procedure summary </message>
>
> Please do not *add* the above line to the "en.xml" file.
>
> Instead please *replace* existing stock message (the 2nd message of the 
> "en.xml" file):
>
> <message name="context">About this task</message>
>
> by your custom message:
>
> <message name="context">Procedure summary</message>
>
>
>
>>
>> When I use the XSL Utility (5.1.0) to convert the DITA source to 
>> DOCX, I get this fatal error:
>>
>> fatal error reported by the XSLT engine: A sequence of more than one 
>> item is not allowed as the first argument of string() (<message/>,
>> <message/>) ; SystemID:
>> file:/C:/Program%20Files%20(x86)/XMLmind_XSL_UtilityPro5_1/addon/conf
>> i
>> g/dita/xsl/common/commonUtil.xsl;
>> Line#: 664; Column#: -1
>>
>> cannot transform "S:\ITS\dita_galaxy\output\FinancialManuals\Test.ditac"
>> to "S:\ITS\dita_galaxy\output\FinancialManuals\Test.fo" using
>> file:/C:/Program%20Files%20(x86)/XMLmind_XSL_UtilityPro5_1/addon/config/dita/xsl/fo/its_custom_fo.xsl:
>> A sequence of more than one item is not allowed as the first argument 
>> of
>> string() (<message/>, <message/>)
>>
>> java.lang.RuntimeException: Conversion "DitaToDocx_gweb" has failed 
>> with exit code 5.
>>
>> The file converted properly and with no errors before I added the 
>> <message> element above to the en.xml file.  I don't understand what 
>> the fatal error message means. I attached a copy of the en.xml file 
>> so you could see the whole file.
>>
>> Thank you,
>>
>> Julie
>>
>> *From:*Julie McHam
>> *Sent:* Friday, March 13, 2015 2:53 PM
>> *To:* [email protected]
>> *Subject:* Changing task labels
>>
>> Hi Hussein.
>>
>> How would I change the text of the labels that appear in a DITA task 
>> topic?  Specifically, I want to change the <abstract> element label 
>> from "About this task" to "Procedure summary".
>>
>> Thank you,
>>
>> Julie
>>
>> Julie McHam
>>
>> Technical Writer
>>
>> Riverside County Office of Education
>>
>> Division of Administration and Business Services
>>
>> Information Technology Services
>>
>> 951-826-6800
>>
>> FAX: 951-826-6451
>>
>>
>>
>>
>> --
>> XMLmind DITA Converter Support List
>> [email protected]
>> http://www.xmlmind.com/mailman/listinfo/ditac-support
>>
>
>
>
>
> --
> XMLmind DITA Converter Support List
> [email protected]
> http://www.xmlmind.com/mailman/listinfo/ditac-support
>


--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to