Lines Matching refs:toc
13 # This package is a plugin for the the doctools::toc v2 system. It
20 # @mdgen NODEP: doctools::toc::export::plugin
23 package require doctools::toc::export::plugin ; # Presence of this
29 package require doctools::toc::structure ; # Verification that the
40 # Phase I. Check that we got a canonical toc serialization. That
45 ::doctools::toc::structure verify-as-canonical $serial
52 # - file = name of the file the toc came from. Optional.
72 array set toc $serial
73 array set toc $toc(doctools::toc)
74 unset toc(doctools::toc)
83 PrintDivision $toc(items) { *} *
93 array set toc $edata
97 text::+ "$indent [FormatReference] : $toc(desc)"
100 if {[info exists toc(id)]} {
105 text::+ "$indent $toc(label)"
107 PrintDivision $toc(items) $indent$increment $increment
110 unset toc
118 upvar 1 map map toc toc
119 return "\[[Map $toc(id)]%|%$toc(label)\]"
123 upvar 1 toc(label) label toc(title) title
143 package provide doctools::toc::export::wiki 0.1