Modify

Opened 5 years ago

Closed 5 years ago

#5241 closed enhancement (fixed)

Numbered headlines and TOC Macro

Reported by: itamarost@… Owned by: martin_s
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 5 years ago by rjollos

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of ticket #4521.

comment:2 Changed 5 years ago by rjollos

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

comment:3 Changed 5 years ago by anonymous

  • Resolution duplicate deleted
  • Status changed from closed to reopened

comment:4 follow-up: Changed 5 years ago by martin_s

  • Resolution set to worksforme
  • Status changed from reopened to closed

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 5 years ago by martin_s

  • Resolution worksforme deleted
  • Status changed from closed to reopened

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

comment:6 Changed 5 years ago by martin_s

  • Resolution set to fixed
  • Status changed from reopened to closed

(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.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.