Generating htmlhelp with docbook from oxygen

Having trouble installing Oxygen? Got a bug to report? Post it all here.
eve_113
Posts: 3
Joined: Wed Apr 18, 2007 2:59 pm
Location: Zürich

Generating htmlhelp with docbook from oxygen

Post by eve_113 »

I'm trying to generate a htmlhelp with docbook. the problem is that some code is html that is included into the book. the htmlcode is located in a separate folder. when I try to generate the htmlhelp from the oxygen editor the htmlcode is not included. when doing the same from the commandline (i'm using xsltproc in both cases), the htmlcode is included. how can i get it to work from the editor?
Thanks for your help
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

You have to set the base.dir parameter of the DocBook stylesheet for HTML Help output to the path of the folder where you want to generate the HTML files. If you want to generate the HTML Help project files (the HHP file, the HHC file, etc) in the same folder you have to set also the manifest.in.base.dir parameter to 1.


Regards,
Sorin
eve_113
Posts: 3
Joined: Wed Apr 18, 2007 2:59 pm
Location: Zürich

Post by eve_113 »

thanks for your hint, but that doesn't help. Let me explain again: I'm using a htmlcode snippet that is included in my docbook document with <?htmlcode subfolder/test.xml ?>. When I use the html docbook stylesheets all htmlcode is included, when I use the htmlhelp docbook stylesheet the htmlcode is ignored. why is that?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

The DocBook stylesheets do not process any htmlcode processing instruction. Do you have a customization layer that you developed yourself for the DocBook HTML stylesheet which includes the snippet referred in the processing instruction? Maybe the subfolder/test.xml file is also referred in other place of the XML document or the XSLT stylesheet.


Regards,
Sorin
eve_113
Posts: 3
Joined: Wed Apr 18, 2007 2:59 pm
Location: Zürich

Post by eve_113 »

yes, I have got a customization layer that includes the htmlcode. The odd thing is that the htmlcode is included when I use the command line with xsltproc, but it does not work with oxygen.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Did you set the same parameters in the command line and in oXygen in the Parameters dialog available from the scenario edit dialog? If yes please send us sample files for reproducing the problem.


Regards,
Sorin
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Does the transform produce the same result in oXygen if you set Xsltproc instead of the default transformer in the Transformer combo box of the scenario edit dialog?


Regards,
Sorin
Post Reply