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
TypeJAR
CategoryMacro
Developed by

Manuel Leduc, Michael Hamann

Active Installs1
Rating
0 Votes
LicenseGNU Lesser General Public License 2.1
Compatibility

14.0+

Installable with the Extension Manager

Description

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

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
Tags:
    

Get Connected