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)
81 PrintDivision $toc(items)
90 array set toc $edata
95 text::+ "[Map $toc(id)] : $toc(label)"
97 text::indented 4 { text::+ $toc(desc) }
102 if {[info exists toc(id)]} {
103 text::+ "[Map $toc(id)] : $toc(label)"
105 text::+ "$toc(label)"
109 PrintDivision $toc(items)
121 upvar 1 toc(label) label toc(title) title
141 package provide doctools::toc::export::text 0.1