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: RE: FW: [docbook-apps] Question on adjusting IDs for reused content

I don’t think it does what you think it does. If you look at the very bottom of the page, it says:

Note that any instances of xref or link or olink that reference the original id value will not be altered. They will always point to the first instance in the output.”

I think the point of this little chunk of code is just to ensure that the TOC will work correctly...



What might work though is to use the dbhtml dir processing instruction:



Just have each book generate into a different directory, and as long as you reuse chunks only across books (and not internal to a book) I think it would work? I’ve never tried it, though.





From: Janice Manwiller [mailto:janice@sqrrl.com]
Sent: Tuesday, January 05, 2016 3:55 PM
To: Wood Nick
Cc: docbook-apps@lists.oasis-open.org
Subject: Re: FW: [docbook-apps] Question on adjusting IDs for reused content


I tried adding the customization to common.xsl, but it's still not doing what I expect. I'm not sure if my expectations are off or it's just not working correctly.


It isn't generating separate HTML topic files with distinct names for duplicated sections. However, the section and bridgehead IDs in the HTML files all have "1" appended.


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