Webhelp and DITAVAL

giyu
Posts: 6

Webhelp and DITAVAL

Sat May 16, 2015 12:13 am

We have conditions in our content. The Webhelp plug uses a .bat or .sh file. What option do we pass in or add to set the the ditaval?
Radu
Posts: 5689

Re: Webhelp and DITAVAL

Mon May 18, 2015 9:06 am

Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
giyu
Posts: 6

Re: Webhelp and DITAVAL

Tue May 19, 2015 4:51 pm

Oh right, that works. In the docs, it mentions that you can customize the header file.
The docs mention a folder, but it's not clear how to specify the file. Would this be correct?

-Dargs.hdr.file=%DITA_MAP_BASE_DIR%\header.txt

It wasn't clear if the header file needed to be a XHTML file, which I can try as well.

In addition, the copyright wasn't too clear about the format either. I'm trying this:

"-Dwebhelp.copyright=%DITA_MAP_BASE_DIR%\copyright.txt"


Lastly, I see on the Oxygen 17 help that you have the search field in the top-right corner, how is that accomplished? Is it a newer version of Webhelp that puts that in? I think I still have the Oxygen 16 version downloaded but we purchased it last week.

THanks in advance!
giyu
Posts: 6

Re: Webhelp and DITAVAL

Tue May 19, 2015 4:55 pm

For copyright, figured it was exact text. Please disregard that question.
Still would like suggestions regarding the header and the search field. Thanks in advance.
giyu
Posts: 6

Re: Webhelp and DITAVAL

Tue May 19, 2015 5:34 pm

Also disregard the header. It looks like you simply specify something like this:
-Dargs.hdr=%DITA_MAP_BASE_DIR%\header.html" and it put the header on each page. WHich isn't what we are looking for. I'm looking customize the top-pane header where it gets the title of the ditamap. I wanted to do more customization there, but I'll take a look at the transforms.

Would like to hear more about the Search field. Thanks in advance.
sorin_ristache
Posts: 4144

Re: Webhelp and DITAVAL

Tue May 19, 2015 5:37 pm

giyu wrote:The docs mention a folder, but it's not clear how to specify the file. Would this be correct?

-Dargs.hdr.file=%DITA_MAP_BASE_DIR%\header.txt

It wasn't clear if the header file needed to be a XHTML file, which I can try as well.


args.hdr is a DITA-OT parameter. The value of this parameter should be a well-formed XHTML file that has a <div> root element.

giyu wrote:Lastly, I see on the Oxygen 17 help that you have the search field in the top-right corner, how is that accomplished? Is it a newer version of Webhelp that puts that in? I think I still have the Oxygen 16 version downloaded but we purchased it last week.


Yes, starting with Oxygen 17 the search box is located in the top right corner. Just download and use Oxygen 17 if you want to have the search box in the top right corner.
Regards,
Sorin

<oXygen/> XML Editor Support
sorin_ristache
Posts: 4144

Re: Webhelp and DITAVAL

Tue May 19, 2015 5:42 pm

giyu wrote:I'm looking customize the top-pane header where it gets the title of the ditamap. I wanted to do more customization there, but I'll take a look at the transforms.


Did you try the WebHelp Skin Builder tool? It allows the customization of the WebHelp page styles by creating a skin CSS file which you can set in the WebHelp transformation on the Skins tab of the DITA transformation.

Other option is to set a custom CSS file that customizes that area of the WebHelp page as the value of the args.css parameter in the DITA WebHelp transformation.
Regards,
Sorin

<oXygen/> XML Editor Support
giyu
Posts: 6

Re: Webhelp and DITAVAL

Wed May 20, 2015 7:56 pm

Hi Sorin,

We are using the WebHelp plugin to build the help instead of oXygen. Is there an updated version of the WebHelp Plugin that puts that Search in the top-right corner. I've used the Skin Builder site you mentioned. I don't think it's added from there is it?
sorin_ristache
Posts: 4144

Re: Webhelp and DITAVAL

Thu May 21, 2015 9:22 am

Yes, the latest version of the WebHelp plugin places the search box in the top right corner of the WebHelp page.
Regards,
Sorin

<oXygen/> XML Editor Support

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 1 guest