Webhelp output for machinery tasks

Pascal Le Gallic
Posts: 2
Joined: Tue Jan 17, 2017 2:59 pm

Webhelp output for machinery tasks

Post by Pascal Le Gallic » Tue Jan 17, 2017 3:43 pm

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

Radu
Posts: 6335
Joined: Fri Jul 09, 2004 5:18 pm

Re: Webhelp output for machinery tasks

Post by Radu » Tue Jan 17, 2017 5:26 pm

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Pascal Le Gallic
Posts: 2
Joined: Tue Jan 17, 2017 2:59 pm

Re: Webhelp output for machinery tasks

Post by Pascal Le Gallic » Tue Jan 17, 2017 7:06 pm

Thanks a lot Radu, I think I now understand how to proceed.

Topic solved for me

regards
Pascal

pieterjan_vdw
Posts: 21
Joined: Wed Jun 20, 2018 11:30 am

Re: Webhelp output for machinery tasks

Post by pieterjan_vdw » Tue Apr 02, 2019 10:19 am

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

Radu
Posts: 6335
Joined: Fri Jul 09, 2004 5:18 pm

Re: Webhelp output for machinery tasks

Post by Radu » Tue Apr 02, 2019 2:20 pm

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply