Page 1 of 1
Generating htmlhelp with docbook from oxygen
Posted: Wed Apr 18, 2007 3:05 pm
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
Posted: Thu Apr 19, 2007 12:47 pm
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
Posted: Fri Apr 20, 2007 11:02 am
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?
Posted: Fri Apr 20, 2007 1:53 pm
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
Posted: Fri Apr 20, 2007 2:55 pm
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.
Posted: Fri Apr 20, 2007 3:04 pm
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
Posted: Fri Apr 20, 2007 3:26 pm
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