Page 1 of 1

Webhelp output for machinery tasks

Posted: Tue Jan 17, 2017 3:43 pm
by Pascal Le Gallic
Hi,

I'm currently trying to publish a webhelp output from DITA machinery tasks.
But the webhelp plugin seems to not define specific styles for the machinery task specialized elements. Can you confirm that ?

Do you know if there is a plugin (even for another output format) that provides a specific styles for the machinery task specialized elements ?
Can you give me the best way about how to create a CSS plugin to treat the machinery task specialized elements ?

Thank you for your support
Regards
Pascal

Re: Webhelp output for machinery tasks

Posted: Tue Jan 17, 2017 5:26 pm
by Radu
Hi Pascal,

I confirm that the DITA OT does not handle machinery task specific elements in any particular way. There is an issue registered for this:

https://github.com/dita-ot/dita-ot/issues/2557

If your interest is WebHelp or XHTML-based outputs you can probably contribute a custom CSS to the publishing process:

https://www.oxygenxml.com/doc/versions/ ... n-css.html

You can look in the generated HTML output to see how those machinery task elements are generated, what their @class attribute value looks like so you can match it in your custom CSS and maybe provide custom static :before text.

Regards,
Radu

Re: Webhelp output for machinery tasks

Posted: Tue Jan 17, 2017 7:06 pm
by Pascal Le Gallic
Thanks a lot Radu, I think I now understand how to proceed.

Topic solved for me

regards
Pascal

Re: Webhelp output for machinery tasks

Posted: Tue Apr 02, 2019 10:19 am
by pieterjan_vdw
Hi Radu,

Is there already an update on this DITA-OT issue?
This might come in handy especially in a multilingual environment.

Kind regards,
PJ

Re: Webhelp output for machinery tasks

Posted: Tue Apr 02, 2019 2:20 pm
by Radu
Hi Pieterjan,

The DITA Open Toolkit does not yet have such special support for machinery tasks:

https://github.com/dita-ot/dita-ot/issues/2557

but you can probably add such support for the HTML and PDF outputs by implementing custom plugins.

Regards,
Radu