A table of contents (toc) is needed. At first, it is required for the generated documentation on gh pages, and the XSLT component for it can thus be integrated into the xsl/html/libodd.xsl package. Later on, it can be sourced out to a dedicated package libtoc.xsl.
The toc should work together with the navigatable document structure: For every section head (tei:div/tei:head), there's a named anchor (<a name="...">), the name of which is the xml:id of the division or a generated identifier (fn:generate-id()) when there's no xml:id. For details, see #73 and the related commits.
Development should be done in the feature branch dedicated to this issue.
A table of contents (toc) is needed. At first, it is required for the generated documentation on gh pages, and the XSLT component for it can thus be integrated into the
xsl/html/libodd.xslpackage. Later on, it can be sourced out to a dedicated packagelibtoc.xsl.The toc should work together with the navigatable document structure: For every section head (
tei:div/tei:head), there's a named anchor (<a name="...">), the name of which is thexml:idof the division or a generated identifier (fn:generate-id()) when there's noxml:id. For details, see #73 and the related commits.Development should be done in the feature branch dedicated to this issue.