This looks like a bug in the Table of Contents macro. I can reproduce on 8.3-SNAPSHOT. The duplicate headings are handled correctly when they come from the same source document, but not when they come from different documents (through the include macro). Can you report it on http://jira.xwiki.org/browse/XRENDERING . Thanks, Marius On Wed, Aug 10, 2016 at 4:05 PM, Patrick Tomblin <[email protected]> wrote:
Good morning all,
Wanted to bump this and see if anyone had suggestions.
Thanks, Patrick
On Fri, Aug 5, 2016 at 3:40 PM, Patrick Tomblin <[email protected]> wrote:
Hi,
I have a use case where I am creating command documentation and am using a template that looks roughly like this.
Page: Command Name One h1. Command Name One h2. Usage h2. Options h2 Command Details h2 Troubleshooting
Page: Command Name Two h1. Command Name Two h2. Usage h2. Options h2 Command Details h2 Troubleshooting
I have about 20 commands that I have documented in this template. The issue is when you include or display them on one page and add a table of contents the macro renders correctly but the links for the duplicate h2 records all link to the first occurrence.
Does anyone have a suggestion on how to fix this? I would like to keep them on separate pages but the way its looking now ill have to merge them down to a single page for the h2 links to work throughout the document.
Thanks in advance, Patrick
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users