Ticket #5241 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

Numbered headlines and TOC Macro

Reported by: itamarost@gmail.com Assigned to: 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

Change History

06/09/09 05:35:29 changed by rjollos

  • status changed from new to closed.
  • resolution set to duplicate.

Duplicate of ticket #4521.

06/10/09 11:45:54 changed by rjollos

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

06/10/09 11:48:13 changed by anonymous

  • status changed from closed to reopened.
  • resolution deleted.

(follow-up: ↓ 5 ) 10/25/09 17:53:03 changed by martin_s

  • status changed from reopened to closed.
  • resolution set to worksforme.

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.

(in reply to: ↑ 4 ) 10/25/09 20:13:04 changed by martin_s

  • status changed from closed to reopened.
  • resolution deleted.

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

10/25/09 20:37:49 changed by martin_s

  • status changed from reopened to closed.
  • resolution set to fixed.

(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/Change #5241 (Numbered headlines and TOC Macro)




Change Properties
Action