Project

General

Profile

Actions

Defect #5888

closed

{{toc}} macro doesn't get headers from {{include}}d pages

Added by Alvaro Herrera over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2010-07-15
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

The TOC as created by the {{toc}} macro doesn't render headers contained within {{ include }} pages. This means that you can't use the included page as a self-contained identity, because then it wouldn't appear in the TOC in the main page it gets included in.

What I was doing was partition a large document into subpieces, and then include each subpiece using {{ include }}. However this means the {{toc}} stops working properly.


Related issues

Is duplicate of Redmine - Defect #3707: {{toc}} doesn't work with {{include}}Closed2009-08-03

Actions
Actions #1

Updated by Jean-Baptiste Barth over 14 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

I close this one as duplicate, see #3707.
If you want to help please avoid to copy/paste so long wiki pages, it's pretty difficult to read... Thank you for reporting

Actions #2

Updated by Alvaro Herrera over 14 years ago

I didn't copy/paste any page -- I just used the problematic macro (brace-brace-include-closebrace-closebrace). It seems the wiki formatting expanded it into the initial page of this wiki. Sorry for the noise.

I note that I didn't find #3707 because it's not correctly categorized.

Actions #3

Updated by Mischa The Evil over 14 years ago

Fixed the issue-description and added correct issue-relation to #3707.

Actions

Also available in: Atom PDF