Changes between Version 20 and Version 21 of NumberedHeadlinesPlugin
- Timestamp:
- Jul 20, 2015, 1:46:25 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NumberedHeadlinesPlugin
v20 v21 1 [[TOC]] 2 = Wiki syntax for numbered headlines = 3 4 5 == Description == 6 7 This plug-in provides a new TracWiki syntax for numbered headlines (`h1`-`h6` HTML tags). 8 9 This manual is for version 0.3 from Oct 2009. 10 11 12 === New Wiki Syntax === 1 [[PageOutline(2-5,Contents,pullout)]] 2 3 = Wiki syntax for numbered headlines 4 5 == Description 6 7 This plugin provides a new TracWiki syntax for numbered headlines (`h1`-`h6` HTML tags). This manual is for Trac version 0.3 from Oct 2009. 8 9 === New Wiki Syntax 13 10 14 11 The wiki syntax for numbered headlines is a follows: … … 27 24 You can mix both unnumbered and numbered headlines on the same wiki page. Headlines from first order (1x`#` on each side) to sixth order (6x`#` on each side) are supported. An own ID can be given by adding "`=`''idname''", which should be an valid XHTML name. 28 25 29 30 == Configuration == 26 == Bugs/Feature Requests 27 28 Existing bugs and feature requests for NumberedHeadlinesPlugin are 29 [report:9?COMPONENT=NumberedHeadlinesPlugin here]. 30 31 If you have any issues, create a 32 [/newticket?component=NumberedHeadlinesPlugin new ticket]. 33 34 [[TicketQuery(component=NumberedHeadlinesPlugin&group=type,format=progress)]] 35 36 == Download 37 38 Download the zipped source from [download:numberedheadlinesplugin here]. 39 40 == Source 41 42 You can check out NumberedHeadlinesPlugin from [http://trac-hacks.org/svn/numberedheadlinesplugin here] using Subversion, or [source:numberedheadlinesplugin browse the source] with Trac. 43 44 == Configuration 45 31 46 To enable this plugin put the following into your `trac.ini` configuration file: 32 {{{ 47 {{{#!ini 33 48 [components] 34 49 tracnumberedheadlines.* = enabled 35 50 }}} 36 51 37 The following options can be added to select if 52 The following options can be added to select if: 38 53 * headlines in outlines (`PageOutline`, TocMacro) should be numbered (#4521, #5241) 39 54 * numbering should start at the second level (`##`/`h2`) not at the first level (#4907) 40 55 41 (Default values are shown) 42 {{{ 56 Example where default values are shown: 57 {{{#!ini 43 58 [numberedheadlines] 44 59 numbered_outline = true … … 46 61 }}} 47 62 48 == Bugs/Feature Requests == 49 50 Existing bugs and feature requests for NumberedHeadlinesPlugin are 51 [report:9?COMPONENT=NumberedHeadlinesPlugin here]. 52 53 If you have any issues, create a 54 [http://trac-hacks.org/newticket?component=NumberedHeadlinesPlugin&owner=martin_s new ticket]. 55 56 == Download == 57 58 Download the zipped source from [download:numberedheadlinesplugin here]. 59 60 == Source == 61 62 You can check out NumberedHeadlinesPlugin from [http://trac-hacks.org/svn/numberedheadlinesplugin here] using Subversion, or [source:numberedheadlinesplugin browse the source] with Trac. 63 64 == Example == 65 66 === Normal Usage === 63 == Example 64 65 === Normal Usage 67 66 68 67 The following wiki text: … … 131 130 }}} 132 131 133 === User Specified Numbers === 134 Since v0.2.1 leading zeros are ignored, which allows the use of numbered sections under an unnumbered chapter. 135 136 This feature relates to ticket #4907. 132 === User Specified Numbers 133 134 Since v0.2.1 leading zeros are ignored, which allows the use of numbered sections under an unnumbered chapter. This feature relates to ticket #4907. 137 135 138 136 {{{ … … 151 149 }}} 152 150 153 === User Specified Numbers ===154 Since v0.3 the numbers can be provided by the user to set or reset the counting. 155 The numberare simply written before the headline text followed by a space.151 === User Specified Numbers 152 153 Since v0.3 the numbers can be provided by the user to set or reset the counting. The numbers are simply written before the headline text followed by a space. 156 154 157 155 Single numbers set the value of the current level, while multiple numbers ('`1.2.3.`') set the values from the current level upwards. … … 225 223 }}} 226 224 227 == Recent Changes ==225 == Recent Changes 228 226 229 227 [[ChangeLog(numberedheadlinesplugin, 3)]] 230 228 231 == Author/Contributors ==229 == Author/Contributors 232 230 233 231 '''Author:''' [wiki:martin_s] [[BR]] 234 '''Maintainer:''' [ wiki:martin_s] [[BR]]232 '''Maintainer:''' [[Maintainer]] [[BR]] 235 233 '''Contributors:''' [wiki:JoshuaH] (Page Outline support, see #4521)