If you see tags such as %SECTION0% on the next line, read TocPlugin

This topic describes the facilities provided by the TOC Plugin for the support of documentation generation. The extensions support definition of an order among the topics in the web for the generation of tables of contents, together with cross-references that operate within, as well as between, topics.

Installation of the Plugin is straightforward. Simply unpack the tar file at the top level of your installation.

The documentation extensions depend on the existance of a special topic called WebOrder, which is is analagous to a Framemaker "book". This topic should contain a list of the topics you want included. This list must be formatted as a wiki-format bulleted list e.g.
   * PageOne
   * [[Page two]]
Both WikiWords and [[Odd Wiki Words]] may be used to refer to topics.

NOTES
  • The WebOrder can contain any other TML or HTML formatting but it should be noted that all TML-format list bullets in the topic are taken as part of the ordering list.

Following the TWiki standard, attributes are used to pass values to tags to control their behaviour. Attributes are given as a list of name = value pairs enclosed in curly braces {} after the tag name. For example:
%REF{type=Figure,topic="SpidersOfTheWorld",name="The Funnel Web"}%

NOTES
  • Attribute values that contain only no spaces or punctuation need not be quoted, but values containing punctuation or white space must be protected by double quotes. You are highly recommended to stick to values that don't require quoting! All attribute names and values are case sensitive.

Supported attributes: name

Subsections may be inserted in any topic using the SECTIONn tag, where n is the required subsection level. The heading of the section is taken as all text after the tag up to the end of line. For example, the heading at the top of this section is marked with
%SECTION1{name=SECTION}% Creating sections using the =SECTION= tag

NOTES
  • See also Bad REF: Current topic not in WebOrder for information about modifying section numbering from the WebOrder topic.
  • Sections do not have to be named, but if they are not then they can only be referred to by knowing the exact section number. Section names must be unique within the topic.
  • The only way to close a section is to start a new section with a different level, or to end the topic.
  • You can still use standard HTML heading tags such as <H1>, but sections marked this way will not be included in the table of contents.

If a %SECTION0% tag occurs in a topic, the heading of that section will replace the topic name in the table of contents.

NOTES
  • The name attribute cannot be used to refer to a %SECTION0% tag.

Supported attributes: depth topic

You can build a table of contents by inserting
%CONTENTS%
in a topic. The first level of the table of contents is normally the topics in the order of the list in WebOrder, though see Bad REF: Current topic not in WebOrder for information about modifying section numbering from the WebOrder topic. Subsections listed in the table are automatically linked to the target SECTION.

  • The topic attribute may be used to generate a table of contents for just one topic.
  • The depth attribute may be used to set the maximum number of levels to generate.

Bad topic TocPluginHelp

Supported attributes: none

Any topic (but most usually the WebOrder topic) may include the
%TOCCHECK%
tag. This causes the entries in the WebOrder topic to be cross-referenced against the files actually stored in the web (see WebIndex). Any topics which exist as files in the web but are missing from the WebOrder will be listed.

NOTES
  • Any topics that begin with the characters "Web" are special topics and are excluded from the list, though they can still be listed in the WebOrder and will appear in the table of contents.

The following topics were not found in the WebOrder:
  1. ACRONYM
  2. AccessControl
  3. AdminDocumentationCategory
  4. AdminSkillsAssumptions
  5. AdminToggle
  6. AdminToolsCategory
  7. AppendixCascadingStyleSheets
  8. AttachContentPlugin
  9. AutoTemplatePlugin
  10. AutoViewTemplatePlugin
  11. BeginnersStartHere
  12. BibliographyPlugin
  13. BookView
  14. BookmakerPlugin
  15. BreadCrumbsPlugin
  16. BulkRegistration
  17. BulkResetPassword
  18. CaptchaPlugin
  19. Category
  20. ChangeEmailAddress
  21. ChangePassword
  22. ClassMethod
  23. ClassificationPlugin
  24. CommandAndCGIScripts
  25. CommentPlugin
  26. CommentPluginTemplate
  27. CompareRevisionsAddOn
  28. CompareRevisionsAddonPlugin
  29. CompleteDocumentation
  30. ConfigurePlugin
  31. Contribs
  32. ContributedAddOns
  33. CopyContrib
  34. CountryList
  35. CustomatoTheme
  36. DBCacheContrib
  37. DBCachePlugin
  38. DataForms
  39. DefaultPreferences
  40. DefaultPreferencesForm
  41. DefaultUserRegistration
  42. DefaultWebStatistics
  43. DeveloperDocumentationCategory
  44. DevelopingPlugins
  45. DiffPlugin
  46. DigestPlugin
  47. DocumentGraphics
  48. DocumentViewerPlugin
  49. DpSyntaxHighlighterPlugin
  50. EditRowPlugin
  51. EditRowPluginExamples
  52. EditingShorthand
  53. EmptyPlugin
  54. EmptySideBarTemplate
  55. EnhancementRequests
  56. ExampleTopicTemplate
  57. ExternalLinkPlugin
  58. FAQAnApplicationWithWikiForm
  59. FAQDeleteOrRenameATopic
  60. FAQDeleteOrRenameAnAttachment
  61. FAQDownloadSources
  62. FAQEditDoesNotIncreaseTheRevision
  63. FAQEditTemplate
  64. FAQForm
  65. FAQGnuGeneralPublicLicense
  66. FAQHiddenUsersAndGroups
  67. FAQRebuildingWikiUsersTopic
  68. FAQSearchDoesNotWork
  69. FAQSimultaneousEdits
  70. FAQTemplate
  71. FAQTroubleshootingExtensions
  72. FAQViewTemplate
  73. FAQWhatIsWikiWiki
  74. FAQWhyYouAreAskedToConfirm
  75. FamFamFamContrib
  76. FamFamFamFlagIcons
  77. FamFamFamFoswikiExtras
  78. FamFamFamMiniIcons
  79. FamFamFamMintIcons
  80. FamFamFamSilkCompanion1Icons
  81. FamFamFamSilkCompanion2Icons
  82. FamFamFamSilkGeoSilkIcons
  83. FamFamFamSilkIcons
  84. FastCGIEngineContrib
  85. FileAttachment
  86. FileAttribute
  87. FilterPlugin
  88. FlexFormPlugin
  89. FlexWebListExamples
  90. FlexWebListPlugin
  91. FlexWebListTree
  92. FormatTokens
  93. FormattedSearch
  94. FoswikiServerInformation
  95. FrequentlyAskedQuestion
  96. FrequentlyAskedQuestions
  97. GlossaryOfTerms
  98. GoBox
  99. GoodStyle
  100. GraphvizPlugin
  101. GridLayoutPlugin
  102. HierarchicalNavigation
  103. HierarchicalNavigationChildExample
  104. HistoryPlugin
  105. HomePagePlugin
  106. IconService
  107. IfStatements
  108. ImageGalleryPlugin
  109. ImagePlugin
  110. IncludeTopicsAndWebPages
  111. InstallationGuide
  112. InstallationGuidePart2
  113. InstalledPlugins
  114. InstantEnhancements
  115. InterWikis
  116. InterwikiPlugin
  117. JEditableContrib
  118. JQDataTablesPlugin
  119. JQMomentContrib
  120. JQPhotoSwipeContrib
  121. JQSelect2Contrib
  122. JQSerialPagerContrib
  123. JQTablePlugin
  124. JQTwistyContrib
  125. JQueryAjaxHelper
  126. JQueryAnimate
  127. JQueryAutocomplete
  128. JQueryBgiframe
  129. JQueryBlockUI
  130. JQueryButton
  131. JQueryChili
  132. JQueryCodingStandards
  133. JQueryCookie
  134. JQueryCorner
  135. JQueryCycle
  136. JQueryDebug
  137. JQueryEasing
  138. JQueryEmpty
  139. JQueryFarbtastic
  140. JQueryFluidFont
  141. JQueryFocus
  142. JQueryFontAwesome
  143. JQueryForm
  144. JQueryFoswiki
  145. JQueryGradient
  146. JQueryHoverIntent
  147. JQueryI18N
  148. JQueryInnerFade
  149. JQueryLiveQuery
  150. JQueryLoader
  151. JQueryLocalScroll
  152. JQueryMaskedInput
  153. JQueryMasonry
  154. JQueryMedia
  155. JQueryMetadata
  156. JQueryMigrate
  157. JQueryPNotify
  158. JQueryPlaceholder
  159. JQueryPlugin
  160. JQueryPopUpWindow
  161. JQueryQueryObject
  162. JQueryRating
  163. JQueryRender
  164. JQueryScrollTo
  165. JQuerySerialScroll
  166. JQueryShake
  167. JQueryShrinkUrls
  168. JQuerySimpleModal
  169. JQuerySlimbox
  170. JQueryStars
  171. JQuerySuperfish
  172. JQuerySupersubs
  173. JQueryTabpane
  174. JQueryTextboxList
  175. JQueryTmpl
  176. JQueryTooltip
  177. JQueryTreeview
  178. JQueryUI
  179. JQueryUIAutocomplete
  180. JQueryUIDialog
  181. JQueryUITooltip
  182. JQueryValidate
  183. JQueryView
  184. JQueryWikiWord
  185. JSCalendarContrib
  186. JSCalendarContribInline
  187. JSTreeContrib
  188. JavascriptFiles
  189. JazzyNoteTheme
  190. JsonRpcContrib
  191. LanguageSelector
  192. LatexIntro
  193. LatexModePlugin
  194. LatexSymbols
  195. LatexSymbols2
  196. LatexSymbols3
  197. LatexSymbols4
  198. LatexSymbols5
  199. LexiconForm
  200. LikePlugin
  201. ListyPlugin
  202. LocalTimePlugin
  203. Macros
  204. MacrosQuickReference
  205. MailerContrib
  206. MailerContribPlugin
  207. MainFeatures
  208. ManagingTopics
  209. ManagingUsers
  210. ManagingWebs
  211. MaterialIcons
  212. MathJaxPlugin
  213. MatterTheme
  214. MediaElementPlugin
  215. MediaPlugin
  216. MetaCommentPlugin
  217. MetaData
  218. MetaDataPlugin
  219. MimeIconPlugin
  220. ModPerlEngineContrib
  221. MoreFormfieldsPlugin
  222. MultiLingualPlugin
  223. MySideBar
  224. NatEditHelpText
  225. NatEditPlugin
  226. NatEditWordHelpText
  227. NatSkin
  228. NatSkinChangeEmailAddressViewTemplate
  229. NatSkinChangePasswordViewTemplate
  230. NatSkinConfiguration
  231. NatSkinFAQ
  232. NatSkinGroupViewTemplate
  233. NatSkinPlugin
  234. NatSkinResetPasswordViewTemplate
  235. NatSkinSolrSearchViewTemplate
  236. NatSkinStyleBrowser
  237. NatSkinTopicCreator
  238. NatSkinTopicDoesNotExistViewTemplate
  239. NatSkinTypography
  240. NatSkinUserViewTemplate
  241. NatSkinWebChangesViewTemplate
  242. NatSkinWebCreateNewTopicTemplate
  243. NatSkinWebIndexViewTemplate
  244. NatSkinWebSearchViewTemplate
  245. NatSkinWebTopicListViewTemplate
  246. NatSkinWikiGroupsViewTemplate
  247. NatSkinWikiUsersViewTemplate
  248. NewUserTemplate
  249. ObjectMethod
  250. OriginalDocumentGraphics
  251. PackageForm
  252. PageCaching
  253. PageOptimizerPlugin
  254. ParentList
  255. PatternSkin
  256. PatternSkinCss
  257. PatternSkinCssCookbook
  258. PatternSkinCssCookbookCenterPage
  259. PatternSkinCssCookbookCenterPageBorder
  260. PatternSkinCssCookbookEditTableStyle
  261. PatternSkinCssCookbookFonts
  262. PatternSkinCssCookbookHideActions
  263. PatternSkinCssCookbookNoLeftBar
  264. PatternSkinCssCookbookNoTopBar
  265. PatternSkinCssCookbookSidebarBackground
  266. PatternSkinCssCookbookSidebarToggle
  267. PatternSkinCustomization
  268. PatternSkinElements
  269. PatternSkinGraphics
  270. PatternSkinHorizontalNavigationExample
  271. PatternSkinNavigation
  272. PatternSkinSolrSearchViewTemplate
  273. PatternSkinTheme
  274. PatternSkinTheme115
  275. PatternSkinTheme2009
  276. PatternSkinThemeDamaskNavigation
  277. PatternSkinThemeFatWilly
  278. PatternSkinThemeFatWillyNavigation
  279. PatternSkinWebChangesViewTemplate
  280. PerlDependencyReport
  281. PerlDoc
  282. PlainFileStoreContrib
  283. PlainSkin
  284. Plugins
  285. PreferenceSettings
  286. PreferencesPlugin
  287. PreviewBackground
  288. PrintSkin
  289. ProjectContributor
  290. ProjectLogos
  291. PubLinkFixupPlugin
  292. PublishPlugin
  293. PublishPluginControlCentre
  294. PublishWeb
  295. PublishedAPI
  296. QuerySearch
  297. QuerySearchPatternCookbook
  298. RCSStoreContrib
  299. RedDotPlugin
  300. ReferenceManual
  301. RegularExpression
  302. ReleaseHistory
  303. ReleaseNotes01x00
  304. ReleaseNotes01x01
  305. ReleaseNotes02x00
  306. ReleaseNotes02x01
  307. RemoveUser
  308. RenameWeb
  309. RenderListPlugin
  310. RenderPlugin
  311. ResetPassword
  312. SearchHelp
  313. SearchPatternCookbook
  314. SecurityHeadersPlugin
  315. SimpleUserRegistrationViewTemplate
  316. SiteBottomBar
  317. SiteChanges
  318. SiteChangesViewTemplate
  319. SiteHtmlHead
  320. SiteLinks
  321. SiteMap
  322. SiteMenu
  323. SiteNothingFound
  324. SitePermissions
  325. SiteRightBar
  326. SiteSideBar
  327. SiteToolStatistics
  328. SiteTools
  329. SiteTopicActions
  330. SkinBrowser
  331. SkinTemplateTokens
  332. SkinTemplateViewTemplate
  333. SkinTemplates
  334. Skins
  335. SlideShowPlugin
  336. SmiliesPlugin
  337. SolrPlugin
  338. SolrSearch
  339. SolrSearchBaseTemplate
  340. SolrSearchViewTemplate
  341. SolrSideBar
  342. SolrWikiUsersViewTemplate
  343. SpreadSheetPlugin
  344. StandardColors
  345. StaticMethod
  346. StringifierContrib
  347. SubscribePlugin
  348. SystemRequirements
  349. TWikiCompatibilityPlugin
  350. TablePlugin
  351. TagCloudPlugin
  352. TemplateTopics
  353. TemplateWeb
  354. TextEditor
  355. TimBernersLee
  356. TimeSpecifications
  357. TinyMCEFrequentlyAskedQuestions
  358. TinyMCEPlugin
  359. TinyMCEQuickHelp
  360. TipTopic001
  361. TipTopic002
  362. TipTopic003
  363. TipTopic004
  364. TipTopic005
  365. TipTopic006
  366. TipTopic007
  367. TipTopic008
  368. TipTopic009
  369. TipTopic010
  370. TipTopic011
  371. TipTopic012
  372. TipTopic013
  373. TipTopic014
  374. TipTopic015
  375. TipTopic016
  376. TipTopic017
  377. TipTopic018
  378. TipTopic019
  379. TipTopic020
  380. TipTopic021
  381. TipTopic022
  382. TipTopic023
  383. TipTopic024
  384. TipTopic025
  385. TipTopic026
  386. TipTopic027
  387. TipTopic028
  388. TipTopic029
  389. TipsContrib
  390. TipsOfTheDay
  391. TipsOfTheDayAddNew
  392. TipsOfTheDayAdmin
  393. TipsOfTheDayInclude
  394. TipsOfTheDayTemplate
  395. TipsTopics
  396. TocPluginHelp
  397. TopicClassification
  398. TopicDoesNotExistViewTemplate
  399. TopicInteractionPlugin
  400. TopicMarkupLanguage
  401. TopicTitlePlugin
  402. TopicUserMappingContrib
  403. TopicsAndWebs
  404. TwentyMinuteTutorial
  405. TwistyPlugin
  406. UpdatesPlugin
  407. UpgradeGuide
  408. UserAuthentication
  409. UserDocumentationCategory
  410. UserForm
  411. UserFormHelp
  412. UserName
  413. UserRegistration
  414. UserRegistrationParts
  415. UserRegistrationViewTemplate
  416. UserSetting
  417. UserToolsCategory
  418. UsersGuide
  419. UsersTemplate
  420. UsingHTML
  421. VarACTIVATEDPLUGINS
  422. VarADDTOHEAD
  423. VarADDTOZONE
  424. VarALLVARIABLES
  425. VarATTACHURL
  426. VarATTACHURLPATH
  427. VarAUTHREALM
  428. VarBASETOPIC
  429. VarBASEWEB
  430. VarBUTTON
  431. VarCALC
  432. VarCALCULATE
  433. VarCOMMENT
  434. VarCOVER
  435. VarDATE
  436. VarDISPLAYTIME
  437. VarDOCUMENTVIEWER
  438. VarENCODE
  439. VarENDCOLOR
  440. VarENDINCLUDE
  441. VarENDSECTION
  442. VarENDTAB
  443. VarENDTABPANE
  444. VarENDTWISTY
  445. VarENDTWISTYTOGGLE
  446. VarENV
  447. VarEXAMPLETAG
  448. VarEXPAND
  449. VarFAILEDPLUGINS
  450. VarFORMAT
  451. VarFORMFIELD
  452. VarGMTIME
  453. VarGROUPINFO
  454. VarGROUPS
  455. VarHISTORY
  456. VarHOMETOPIC
  457. VarHTTP
  458. VarHTTPHOST
  459. VarHTTPS
  460. VarICON
  461. VarICONURL
  462. VarICONURLPATH
  463. VarIF
  464. VarIMAGEGALLERY
  465. VarINCLUDE
  466. VarINCLUDINGTOPIC
  467. VarINCLUDINGWEB
  468. VarJQICON
  469. VarJQICONPATH
  470. VarJQPLUGINS
  471. VarJQREQUIRE
  472. VarJQTHEME
  473. VarLANG
  474. VarLANGUAGE
  475. VarLANGUAGES
  476. VarLOCALSITEPREFS
  477. VarLOCALTIME
  478. VarLOGIN
  479. VarLOGOUT
  480. VarMAINWEB
  481. VarMAKETEXT
  482. VarMETA
  483. VarMETASEARCH
  484. VarMIMEICON
  485. VarNONCE
  486. VarNOP
  487. VarNOTIFYTOPIC
  488. VarPERLDEPENDENCYREPORT
  489. VarPLUGINDESCRIPTIONS
  490. VarPLUGINVERSION
  491. VarPOPUPWINDOW
  492. VarPUBURL
  493. VarPUBURLPATH
  494. VarQUERY
  495. VarQUERYPARAMS
  496. VarQUERYSTRING
  497. VarREMOTEADDR
  498. VarREMOTEPORT
  499. VarREMOTEUSER
  500. VarRENDERLIST
  501. VarRENDERZONE
  502. VarREVARG
  503. VarREVINFO
  504. VarREVTITLE
  505. VarSCRIPTNAME
  506. VarSCRIPTSUFFIX
  507. VarSCRIPTURL
  508. VarSCRIPTURLPATH
  509. VarSEARCH
  510. VarSERVERINFORMATION
  511. VarSERVERTIME
  512. VarSESSIONID
  513. VarSESSIONVAR
  514. VarSESSIONVARIABLE
  515. VarSET
  516. VarSHOWPREFERENCE
  517. VarSKIN
  518. VarSLIDESHOWEND
  519. VarSLIDESHOWSTART
  520. VarSPACEDTOPIC
  521. VarSPACEOUT
  522. VarSTARTINCLUDE
  523. VarSTARTSECTION
  524. VarSTATISTICSTOPIC
  525. VarSTOPINCLUDE
  526. VarSTOPSECTION
  527. VarSUBSCRIBE
  528. VarSYSTEMWEB
  529. VarTAB
  530. VarTABLE
  531. VarTABPANE
  532. VarTOC
  533. VarTOPIC
  534. VarTOPICLIST
  535. VarTWIKIWEB
  536. VarTWISTY
  537. VarTWISTYBUTTON
  538. VarTWISTYHIDE
  539. VarTWISTYSHOW
  540. VarTWISTYTOGGLE
  541. VarURLPARAM
  542. VarUSERINFO
  543. VarUSERNAME
  544. VarUSERSWEB
  545. VarVAR
  546. VarWEB
  547. VarWEBLINK
  548. VarWEBLIST
  549. VarWEBPREFSTOPIC
  550. VarWIKIHOMEURL
  551. VarWIKINAME
  552. VarWIKIPREFSTOPIC
  553. VarWIKITOOLNAME
  554. VarWIKIUSERNAME
  555. VarWIKIUSERSTOPIC
  556. VarWIKIVERSION
  557. VarWIKIWEBMASTER
  558. VarWIKIWEBMASTERNAME
  559. VarWORKFLOW
  560. WYSIWYG
  561. WelcomeGuest
  562. WikiCulture
  563. WikiName
  564. WikiSyntaxSummary
  565. WikiTopic
  566. WikiWord
  567. WikiWorkbenchContrib
  568. WorkflowPlugin
  569. WysiwygPlugin
  570. WysiwygPluginSettings
  571. WysiwygPluginTopicLister
  572. XSendFileContrib

Bookmarks and references can be inserted into text using the ANCHOR and REF tags. These can be used for references, for example, to tables or figures.

NOTES
  • Anchors and references only work within the current web; they cannot be used to create references between webs.

Supported attributes: type name display

The ANCHOR tag creates a jump target suitable for jumping to from somewhere else. The type adds the anchor to a "group"; this group is required when generating a reference to the anchor, and may be used to generate tables of same-type anchors (see Bad REF: Current topic not in WebOrder below). The type can be any name, though convention suggests the use of types such as Figure and Table. The special group Section is used internally to refer to sections and subsections. Avoid using it for an ANCHOR or you may see strange results.

The ANCHOR tag is normally visible in the output, though it may be made invisible by setting the display attribute to no . For example:
%ANCHOR{type=Figure,name=A,display=no}% Here be sea
monsters
will generate an invisible anchor on the text (there's one one the line above, honest!) and
<A name="#Figure_A"> </A>
%ANCHOR{type=Table,name=A}% A wooden table
will generate:

All the text between the anchor and the next end-of-line will be used to create the anchor. If the anchor is invisible, this text will be invisible too.

Supported attributes: type topic name

The REF tag may be used to refer to an anchor. Anchors are automatically inserted by SECTION tags or may be added using the ANCHOR tag. For a REF tag to work, the type of the target must be known. For example:
See %REF{type=Example,name=WebOrder}% for more information about WebOrder
will generate:

See Bad REF: Current topic not in WebOrder for more information about WebOrder

To refer to anchors in a different topic, use the topic attribute. You can refer to sections by name by using the special type Section e.g. %REF{type=Section,name=TOCCHECK}%.

If you refer to a non-existant anchor you are warned: for example,
%REF{type=Reference,name=NonExistantAnchor}%
generates

Bad REF: Current topic not in WebOrder

Supported attributes: type

The REFTABLE tag can be used to build tables of references based on the type assigned to anchors. For example, if you have a lot of anchors of type Example you can build a table of all these anchors thus:
%REFTABLE{type=Example}%
This will insert a table like this:
Example

and
%REFTABLE{type=Figure}%
will insert a table like this:
Figure

All topics listed in the WebOrder are scanned, but only anchors of the requested type will be listed.

NOTES
  • If you use REFTABLE with the type Section the table will contain a list of all named sections. For example

When using the WebOrder special topic to collect a list of topics into a somewhat "linearized" form (a "book"), it is often very convenient to be able to add navigation buttons to the previous and the next pages as well as to the home page (table of contents). This can be done by adding the %TOCBUTTONS% tag to your pages. For example, you can use it in a template which is included either at the top or the bottom of your pages. The included "view.tocbuttons.tmpl" template (intended to be used with NatSkin) adds the %TOCBUTTONS% tag to the content footer of all pages in the web. To activate it, use "* set SKIN = tocbuttons, nat" in your WebPreferences.

Note that the "Prev", "Home" and "Next" links will be added only for such topics that are listed in the WebOrder special topic, and they will only be inserted when viewing a page, i. e. they will for example not show up when printing such a topic or the whole "book".

It is possible to change the way the table of contents for the web is ordered by using extra levels of indent in the WebOrder. If you indent a topic below another topic, then that topic will be treated as a section of the parent topic. Section numbers within the subtopic are adjusted accordingly. For example, say the WebOrder contains
	* [[Top level topic]]
	* AnotherTopLevelTopic
TopLevelTopic will be numbered 1., and the first SECTION1 within TopLevelTopic will be 1.1. AnotherTopLevelTopic will be numbered 2. If, instead, WebOrder contains
	* [[Top level topic]]
		* [[Second level topic]]
	* AnotherTopLevelTopic
TopLevelTopic will still be numbered 1., but now SecondLevelTopic will be numbered 1.1., and the first SECTION1 within SecondLevelTopic will be 1.1.1. The first SECTION1 within TopLevelTopic will now be numbered 1.2. AnotherTopLevelTopic will still be numbered 2.

  • Include a %TOCCHECK% tag at the end of the table of contents topic.
  • Name all sections. This makes it easier to refer to them by symbolic names rather than trying to REF numbered sections.

This topic: System > TocPluginHelp
Topic revision: 15 Apr 2011, UnknownUser
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding DAMASK? Send feedback