Page 1 of 1

Webhelp and DITAVAL

Posted: Sat May 16, 2015 12:13 am
by giyu
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?

Re: Webhelp and DITAVAL

Posted: Mon May 18, 2015 9:06 am
by Radu
Hi,

Please read this:

http://www.oxygenxml.com/doc/ug-oxygen/ ... lugin.html

Regards,
Radu

Re: Webhelp and DITAVAL

Posted: Tue May 19, 2015 4:51 pm
by giyu
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!

Re: Webhelp and DITAVAL

Posted: Tue May 19, 2015 4:55 pm
by giyu
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.

Re: Webhelp and DITAVAL

Posted: Tue May 19, 2015 5:34 pm
by giyu
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.

Re: Webhelp and DITAVAL

Posted: Tue May 19, 2015 5:37 pm
by sorin_ristache
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.

Re: Webhelp and DITAVAL

Posted: Tue May 19, 2015 5:42 pm
by sorin_ristache
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.

Re: Webhelp and DITAVAL

Posted: Wed May 20, 2015 7:56 pm
by giyu
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?

Re: Webhelp and DITAVAL

Posted: Thu May 21, 2015 9:22 am
by sorin_ristache
Yes, the latest version of the WebHelp plugin places the search box in the top right corner of the WebHelp page.