Opened 8 years ago

Closed 8 years ago

#5241 closed enhancement (fixed)

Reported by: Owned by: Itamar Ostricher Martin Scharrer high NumberedHeadlinesPlugin major 0.11

Description

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

comment:1 Changed 8 years ago by Ryan J Ollos

Resolution: → duplicate new → closed

Duplicate of ticket #4521.

comment:2 Changed 8 years ago by Ryan J Ollos

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

comment:3 Changed 8 years ago by anonymous

Resolution: duplicate closed → reopened

comment:4 follow-up:  5 Changed 8 years ago by Martin Scharrer

Resolution: → worksforme reopened → 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 8 years ago by Martin Scharrer

Resolution: worksforme closed → 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 8 years ago by Martin Scharrer

Resolution: → fixed reopened → closed

(In [6852])

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.