How can I remove List of Tables from start page of my WebHel
-
- Posts: 9
- Joined: Wed Aug 21, 2013 5:33 pm
How can I remove List of Tables from start page of my WebHel
Greetings,
I am using oXygen Author to generate DocBook WebHelp (old). I have to use the old WebHelp because the "new" transformation WebHelp won't open properly within a VisualForce page (tabs stop working - perhaps due to an ID conflict). When I generate the WebHelp, the starting page always includes a "List of Tables". I've been searching for a way to get rid of this table and it seems the solutions I can find relate to using the new DocBook WebHelp transformation. How can I remove this table? I'm still pretty new to oXygen and the DocBook syntax. Thanks!
I am using oXygen Author to generate DocBook WebHelp (old). I have to use the old WebHelp because the "new" transformation WebHelp won't open properly within a VisualForce page (tabs stop working - perhaps due to an ID conflict). When I generate the WebHelp, the starting page always includes a "List of Tables". I've been searching for a way to get rid of this table and it seems the solutions I can find relate to using the new DocBook WebHelp transformation. How can I remove this table? I'm still pretty new to oXygen and the DocBook syntax. Thanks!
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: How can I remove List of Tables from start page of my We
Post by sorin_ristache »
Hello,
My recommendation is to use this "new" WebHelp transformation because it generates valid XHTML pages. There is no ID conflict. I am not familiar with VisualForce so I don't know how it's supposed to display the output of the DocBook WebHelp transformation (the "new" one), but you can test the "new" WebHelp output in any Web browser to see how it should work. Maybe the JavaScript code in the WebHelp pages trips up VisualForce?
If you need to remain with the WebHelp (old) transformation you should locate and bypass the area of the XSLT code in the file that creates the List of Tables section.
I tried the WebHelp (old) transformation on a sample Docbook XML document but I don't see any List of Tables section on the start page or on the other pages of the WebHelp output. My Docbook XML document does contain a couple of tables. Please can you post a screenshot (or send us a screenshot) of your WebHelp (old) output loaded in a Web browser (Chrome, Firefox, Safari, etc) in order to see the location of the List of Tables section in the WebHelp page?
Regards,
Sorin
My recommendation is to use this "new" WebHelp transformation because it generates valid XHTML pages. There is no ID conflict. I am not familiar with VisualForce so I don't know how it's supposed to display the output of the DocBook WebHelp transformation (the "new" one), but you can test the "new" WebHelp output in any Web browser to see how it should work. Maybe the JavaScript code in the WebHelp pages trips up VisualForce?
If you need to remain with the WebHelp (old) transformation you should locate and bypass the area of the XSLT code in the file that creates the List of Tables section.
I tried the WebHelp (old) transformation on a sample Docbook XML document but I don't see any List of Tables section on the start page or on the other pages of the WebHelp output. My Docbook XML document does contain a couple of tables. Please can you post a screenshot (or send us a screenshot) of your WebHelp (old) output loaded in a Web browser (Chrome, Firefox, Safari, etc) in order to see the location of the List of Tables section in the WebHelp page?
Regards,
Sorin
-
- Posts: 9
- Joined: Wed Aug 21, 2013 5:33 pm
Re: How can I remove List of Tables from start page of my We
Thank you. I submitted a screen shot via the link you provided. Since you didn't see any tables on your start page, I suspect this has something to do with the way I have organized my document. As a newbie, there's a high probability I've done something goofy.
As a quick work around I added:
to positioning.css although that will hide all of my List Of tables. That is fine in my case.
As a quick work around I added:
Code: Select all
.list-of-tables {
display: none;
}
to positioning.css although that will hide all of my List Of tables. That is fine in my case.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: How can I remove List of Tables from start page of my We
Post by sorin_ristache »
Hi,
You can bypass the List of Tables by commenting out (or just modifying a condition inside) the template called "list.of.titles" in the file [OXYGEN-INSTALL-DIR]\frameworks\docbook\xsl\xhtml\autotoc.xsl. It works for any other list (List of Figures, List of Examples, etc.) because all lists are created by this template. The template starts at line 623 in the file autotoc.xsl:
Regards,
Sorin
You can bypass the List of Tables by commenting out (or just modifying a condition inside) the template called "list.of.titles" in the file [OXYGEN-INSTALL-DIR]\frameworks\docbook\xsl\xhtml\autotoc.xsl. It works for any other list (List of Figures, List of Examples, etc.) because all lists are created by this template. The template starts at line 623 in the file autotoc.xsl:
Code: Select all
<xsl:template name="list.of.titles">
<xsl:param name="toc-context" select="."/>
<xsl:param name="titles" select="'table'"/>
<xsl:param name="nodes" select=".//d:table"/>
. . .
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service