Modify

Opened 16 years ago

Closed 15 years ago

#5241 closed enhancement (fixed)

Numbered headlines and TOC Macro

Reported by: Itamar Oren Owned by: Martin Scharrer
Priority: high Component: NumberedHeadlinesPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description

Is there a way to make the TOC macro to process also numbered headlines, and not just unnumbered headlines?

Attachments (0)

Change History (6)

comment:1 Changed 16 years ago by Ryan J Ollos

Resolution: duplicate
Status: newclosed

Duplicate of ticket #4521.

comment:2 Changed 15 years ago by Ryan J Ollos

Sorry, I was incorrect. Ticket #4521 addresses a different issue.

comment:3 Changed 15 years ago by anonymous

Resolution: duplicate
Status: closedreopened

comment:4 Changed 15 years ago by Martin Scharrer

Resolution: worksforme
Status: reopenedclosed

The latest version of the TocMacro (v11.0.0.3) seems to handle this. However, it does not display all first-level headlines, both unnumbered or numbered ones.

Anyway, I do not think that technically the TOC support must be added into the NumberedHeadlinesPlugin, but the other way around.

comment:5 in reply to:  4 Changed 15 years ago by Martin Scharrer

Resolution: worksforme
Status: closedreopened

Sorry, I got that wrong. The TocMacro only works when the patch from #4521 is applied, which was done in [6846].

comment:6 Changed 15 years ago by Martin Scharrer

Resolution: fixed
Status: reopenedclosed

(In [6852])

tracnumberedheadlines/plugin.py
Added config file options to select if the headline should be numbered in an outline (like PageOutline or TocMacro) and if CSS should be used for the numbering or not. Fixes #5241 and #4521.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Martin Scharrer.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.