Table of Content Macro for Numbered Headings

Version 4.1 by Manuel Leduc on 2022/02/09 14:39

cogOverride the default Table of Content and displays the headings numbers when they are
Developed by

Manuel Leduc, Michael Hamann

Active Installs1
0 Votes
LicenseGNU Lesser General Public License 2.1


Installable with the Extension Manager


When the Numbered Headings Application is installed, the table of content acquires some new features:

  • Numbered headings are reflected in the Table of Content
  • The entries of the Table of Content are normalized
    • Trailing special characters and spaces are removed (e.g., "Hello World !" becomes "Hello World")
    • The cases is normalized and each word starts with an upper-case letter, the rest of the word is lower-cased (e.g., "HellO world" becomes "Hello World")

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.


Dependencies for this extension (org.xwiki.contrib.numbered.content:application-numbered-content-headings-toc 1.2):

  • org.xwiki.platform:xwiki-platform-rendering-macro-toc 14.0
  • org.xwiki.contrib.numbered.content:application-numbered-content-headings-api 1.2

Get Connected