Page 1 of 1
Moving frames in WepHelp outpout
Posted: Thu Mar 13, 2014 7:00 pm
by Kolidawn
Hi There,
I am using Oxygen 15.1 to create FOP and WebHelp output. I would like to move the sub-section links in the WebHelp output to be under the main section text. How do I do this?
Please advise.
Thanks
Re: Moving frames in WepHelp outpout
Posted: Fri Mar 14, 2014 1:40 pm
by sorin_ristache
Hi,
Do you use the
DITA Map Webhelp transformation applied to a DITA map? You did not specify the type of your XML documents that you want to transform to PDF and Webhelp output.
If you edit and transform DITA documents please can you give an example of sub-section links? By sub-section links do you mean the links to child topics, as in the following?
Code: Select all
<topicref href="concepts/springFlowers.dita">
<topicref href="topics/flowers/iris.dita"/>
<topicref href="topics/flowers/snowdrop.dita"/>
</topicref>
In this case the sub-sections would be the
iris.dita and
snowdrop.dita references. But the links to these two topics are already located under the text of
springFlowers.dita in the Webhelp output.
Regards,
Sorin
Re: Moving frames in WepHelp output
Posted: Fri Mar 14, 2014 7:10 pm
by Kolidawn
I am using DobBook and Apache FOP processor. We would now like to output the same content in WebHelp using Ant and the sub-section links on the main frame are above the main section text. For example:
<section><title>Main Section</title>
<para>Main section text</para>
<section><title>Sub-section One</title>
<para>Text</para></section>
<section><title>Sub-section Two</title>
<para>Text</para></section></section>
Looks fine in PDF:
Main Section
Main section text
Sub-section One
Text
Sub-section Two
Text
But looks liks this in WebHelp:
Main Section
Link to Sub-section One
Link to Sub-section Two
Main section text
But I would like it to be this:
Main Section
Main section text
Link to Sub-section One
Link to Sub-section Two
Please advise.
Thanks
Re: Moving frames in WepHelp output
Posted: Mon Mar 17, 2014 5:49 pm
by sorin_ristache
Hello,
Kolidawn wrote:But looks liks this in WebHelp:
Main Section
Link to Sub-section One
Link to Sub-section Two
Main section text
But I would like it to be this:
Main Section
Main section text
Link to Sub-section One
Link to Sub-section Two
The set of links to sub-sections just below the title in the right side panel is in fact a mini Table of Contents at section level and chapter level, specific for Docbook transformations. You can disable this mini Table of Contents in the right side panel by setting the Docbook parameter called
generate.section.toc.level to value
0 in the
Docbook Webhelp transformation (on the
Parameters tab of the dialog box for editing the
Docbook Webhelp transformation).
The mini Table of Contents in the right side panel containing the links to the sub-sections of teh current section are not really necessary because the links to all the sections and sub-sections of the entire Docbook document are grouped in the left side panel, on the
Content tab.
If you really want the mini TOC at the end of the right side panel then the required changes in the Docbook XSLT stylesheets will be major because they go against the current Docbook XSL model. I can tell you where to start modifying the stylesheets for moving the mini TOC to the end of the section but it will surely be a non-trivial task.
Regards,
Sorin