Webhelp and DITAVAL

Post here questions and problems related to editing and publishing DITA content.
giyu
Posts: 6
Joined: Sat May 16, 2015 12:06 am

Webhelp and DITAVAL

Post 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?
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Webhelp and DITAVAL

Post by Radu »

Hi,

Please read this:

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

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
giyu
Posts: 6
Joined: Sat May 16, 2015 12:06 am

Re: Webhelp and DITAVAL

Post 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!
giyu
Posts: 6
Joined: Sat May 16, 2015 12:06 am

Re: Webhelp and DITAVAL

Post 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.
giyu
Posts: 6
Joined: Sat May 16, 2015 12:06 am

Re: Webhelp and DITAVAL

Post 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.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Webhelp and DITAVAL

Post 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.
Regards,
Sorin

<oXygen/> XML Editor Support
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Webhelp and DITAVAL

Post 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.
Regards,
Sorin

<oXygen/> XML Editor Support
giyu
Posts: 6
Joined: Sat May 16, 2015 12:06 am

Re: Webhelp and DITAVAL

Post 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?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Webhelp and DITAVAL

Post by sorin_ristache »

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
Post Reply