OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: FW: [docbook-apps] Question on adjusting IDs for reused content

Sorry, forgot to include the list in my reply to Janice.




From: Wood Nick
Sent: 05 January 2016 15:13
To: 'Janice Manwiller' <janice@sqrrl.com>
Subject: RE: [docbook-apps] Question on adjusting IDs for reused content




Is custom-docbook.xsl your fo customisation layer, if so, you probably have a customised common.xsl stylesheet above this, and that is where the object.id customisation should go.






From: Janice Manwiller [mailto:janice@sqrrl.com]
Sent: 28 December 2015 21:05
To: docbook-apps@lists.oasis-open.org
Subject: [docbook-apps] Question on adjusting IDs for reused content


I've been working on reusing content in the doc set I work on. The guides are in a single WebHelp.


- Using DocBook 5

- Output generated using the Maven docbkx plugin


As pointed out in the DocBook XSL guide, if you reuse content that has an identifier, then in the WebHelp output, the TOC generates the correct links. However, because those links all point to the same file, when you click any of those TOC links, the TOC selection bounces to the "first" instance. For example, you click a link in the Install Guide, and the TOC bounces to the entry in the Admin Guide.


To avoid the TOC "bouncing", the DocBook XSL reference included a suggested customization to have the generation process append numbers to subsequent instances:



I tried adding the template from this section to both custom-docbook.xsl (the main DocBook customization) and docbook-webhelp.xsl (the WebHelp customization), but it didn't have any affect in either place.


Am I putting the customization in the wrong place? Is there something else I'm missing?





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]