Changes between Version 46 and Version 47 of TocMacro
- Timestamp:
- Mar 16, 2015, 7:25:52 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TocMacro
v46 v47 1 [[ TOC]]1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Table of Contents Macro =3 = Table of Contents Macro 4 4 5 == Description ==5 == Description 6 6 7 7 The TocMacro generates a table of contents for the current page or a set of pages. … … 22 22 }}} 23 23 24 A wildcard `*` can be used to fetch a sorted list of all pages starting with the preceding page name stub:24 A wildcard `*` can be used to fetch a sorted list of all pages starting with the preceding page name stub: 25 25 26 26 {{{ … … 29 29 30 30 The following ''control'' arguments change the default behaviour of the TOC macro: 31 ||= Argument =||= Description=||31 ||= '''Argument''' =||= '''Description''' =|| 32 32 || `heading=<x>` || Override the default heading of "Table of Contents" || 33 33 || `noheading` || Suppress display of the heading. || … … 51 51 }}} 52 52 53 == Bugs/Feature Requests ==53 == Bugs/Feature Requests 54 54 55 55 Existing bugs and feature requests are [query:status!=closed&component=TocMacro&order=priority here]. If you have any issues, create a 56 56 [/newticket?component=TocMacro new ticket]. 57 57 58 [[TicketQuery(component=TocMacro,group=type,format=progress)]] 59 60 == Download 61 62 Download the zipped source from [download:tocmacro here]. 63 64 TocMacro requires that AnchorPatch be applied to Trac [wiki:0.8]. Trac [wiki:0.9] already includes this patch. 65 66 == Source 67 68 You can check out TocMacro from [http://trac-hacks.org/svn/tocmacro here] using Subversion, or [source:tocmacro browse the source] with Trac. 69 58 70 == Installation == 59 71 60 Both 0.10 and 0.11/0.12 entries at Python Package Index (pypi) are not up-to-date withlatest versions and dependencies. To install the most recent versions, use direct installation from source:72 The Trac 0.10 / 0.11 / 0.12 entries at Python Package Index (pypi) are not up-to-date with the latest versions and dependencies. To install the most recent versions, use direct installation from source: 61 73 62 74 {{{ … … 66 78 }}} 67 79 68 ...or download / check out the source from repository (see below) and install it inusual manner.80 Or download / check out the source from repository (see below) and install it in the usual manner. 69 81 70 Do not forget to '''enable''' the '''macro''' in trac.ini:82 Do not forget to '''enable''' the plugin in `trac.ini`: 71 83 {{{ 72 84 #!ini … … 75 87 }}} 76 88 77 78 == Download == 79 80 Download the zipped source from [download:tocmacro here]. 81 82 TocMacro requires that AnchorPatch be applied to [wiki:0.8] Trac. Trac [wiki:0.9] already includes this patch. 83 84 == Source == 85 86 You can check out TocMacro from [http://trac-hacks.org/svn/tocmacro here] using Subversion, or [source:tocmacro browse the source] with Trac. 87 88 == Example == 89 == Example 89 90 90 91 {{{ … … 95 96 On the right you can see the TOC macro version of the default !TracGuideToc macro. 96 97 97 == Alternatives ==98 == Alternatives 98 99 99 Trac 0.12 (maybe earlier?) has the [wiki:WikiMacros#PageOutline-macro PageOutline] macro built-in which can produce output identical to the simpler use cases for the TOC macro.For example, this is equivalent to the no-argument form of TOC:100 Trac 0.12 has the [wiki:WikiMacros#PageOutline-macro PageOutline] macro built-in, which can produce output identical to the simpler use cases for the TOC macro. For example, this is equivalent to the no-argument form of TOC: 100 101 {{{ 101 102 [[PageOutline(2-5, Table of Contents, floated)]] 102 103 }}} 103 104 104 == Change Log ==105 == Change Log 105 106 106 107 [[ChangeLog(/tocmacro, 3)]] 107 108 108 == Author/Contributors ==109 == Author/Contributors 109 110 110 111 '''Authors:''' [wiki:athomas], [wiki:jouvin], [wiki:coderanger], [wiki:cboos], [wiki:osimons] [[BR]] 111 '''Maintainer:''' [ wiki:osimons] [[BR]]112 '''Maintainer:''' [[Maintainer]] [[BR]] 112 113 '''Contributors:'''