Daya Bay Reactor Neutrino Experiment TWiki > ExplicitNumberingPlugin Daya Bay webs:
Public | 中文 | Internal | Help

Log In or Register

ExplicitNumberingPlugin

Use the ##., ##.. etc. notation to insert outline numbering sequences (1, 1.1, 2, 2.1) in topic's text.

Use ---#, ---##, etc., to generate numbered headings.

Syntax Rules

Numbered sequences

Numbered headings

General comments

Examples

If you have the plugin installed, the Rendered and Expected columns should be identical. If you do not have the plugin installed, the Rendered column will be the same as the Source column.

Source Rendered Expected
##. 1 1
##.. 1.1 1.1
##... 1.1.1 1.1.1
##.... 1.1.1.1 1.1.1.1
##..... 1.1.1.1.1 1.1.1.1.1
##...... 1.1.1.1.1.1 1.1.1.1.1.1
##....... 1.1.1.1.1.2 1.1.1.1.1.2
Chapter ##a#. Chapter 1 Chapter 1
Section ##a#.. Section 1.1 Section 1.1
Subsection ##a#... Subsection 1.1.1 Subsection 1.1.1
Req ##a#....: Req 1.1.1.1: Req 1.1.1.1:
Req ##a#....: Req 1.1.1.2: Req 1.1.1.2:
Subsection ##a#... Subsection 1.1.2 Subsection 1.1.2
Req ##a#....: Req 1.1.2.1: Req 1.1.2.1:
Req ##a#....: Req 1.1.2.2: Req 1.1.2.2:
##a#....a) a) a)
##a#....a) b) b)
Req ##a#....: Req 1.1.2.3: Req 1.1.2.3:
Section ##a#.. Section 1.2 Section 1.2
Chapter ##a#. Chapter 2 Chapter 2
Section ##a#.. Section 2.1 Section 2.1
Section ##a#.. Section 2.2 Section 2.2

ExplicitNumberingPlugin Global Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %EXPLICITNUMBERINGPLUGIN_SHORTDESCRIPTION%

See also

There is an active development going on using the ---+++1.1.2 notation for numbered headers. See TWiki:Codev.NumberedHeadersAndLists.

The TWiki:Plugin.TocPlugin provides a more complete table of contents and cross-reference management.

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.

Plugin Info

Plugin Author: TWiki:Main/MartinVlach, TWiki:Main.ThomasWeigert (21 Nov 2006)
Copyright: © 2003, Lynguent, Inc. © 2006, TWikiContributor
License: GPL (GNU General Public License External link mark)
Plugin Version: 21 Nov 2006
Change History:  
21 Nov 2006: Added reset to specific number based on suggestion by SteveWampler. Added support of numbered headers. Proper handling in table of content.
17 Sep 2003: Added alpha-labeled lists.
12 Aug 2003: Initialize sequences in startRenderingHandler. Thank you TWiki:Main.IngoKarkat.
29 Jul 2003: Initial version
TWiki Dependency: $TWiki::Plugins::VERSION 1.1
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.8.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/ExplicitNumberingPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/ExplicitNumberingPluginDev

Related Topics: TWikiPreferences, TWikiPlugins

-- TWiki:Main.ThomasWeigert - 21 Nov 2006



Revision: r8 - 2003-09-18 - 05:09:19 - Public.mvlach

Copyright © 1999-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.ExplicitNumberingPlugin.