- Summary
- how to control numbering of headings
- Type
- Question
- Raised by
- noskule?
- Date opened
- Thursday, 22 September 2005
- Description
- Currently the name of the pages get numbers. But the headings in the page itself don’t get numbered. Is there a way to force numbers for all headings, not only the pagenames? There is an example on
- http://www.netstreams.org/pmwiki/pmwiki.php/Dokumentation/HomePage
- Importance
- 3
- Proposed solution
- The challenge is how to avoid duplicate numbers. If the trail page has 2 levels of nesting, then the first level pages are numbered 1, 2, 3… and the second level pages are numbered 1.1, 1.2, 1.3… So if we number headings within pages, we will end up assigning duplicate numbers. We would have to use a different numbering scheme for headings within pages, or format these headings differently.
- This issue needs further investigation. See Numbering Headings.
- Urgency
- 3
- Status
- Closed
- Resolution
- The markup for headings uses the first heading on a page as a division indicator, either a subsection, subsubsection, paragraph or subparagraph, depending on the nesting level of the current page. This means the same heading can be at a different level in different page contexts. Any subsequent uses of that heading level on the page indicate the start of a new division.
- The use of a single level of heading for division indicators is consistent with PmWiki’s behaviour with other multiline markups, such as advanced tables and divisions, which don’t nest. Note that a heading inside a table or div is treated as a regular heading, not a division indicator.
- Date closed
- Monday, 21 November 2005
« 00040 · Edit Form · 00042 »