Eric,
 In any of toc macro is there any simple way to restric the number of 
levels?
I mean if
 L1
    L11
    L12
L2
  L21
  L22
      L221
      L222
            L2221
            L2222
      L223


I do not want to display the entries (leaves) at level 4 e.g. L2221 and 
L2222

--Mohammad

On Saturday, January 25, 2020 at 3:44:39 PM UTC+3:30, Eric Shulman wrote:
>
> On Saturday, January 25, 2020 at 3:26:21 AM UTC-8, Mohammad wrote:
>>
>> Recently Eric Shulman shared a very impressive tool which can be used for 
>> authoring!
>> It can create an outliner, a feature (outlining) quite necessary in long 
>> writings like novels, theses, project reports,... 
>> It is a smart designed Table of Contents (TOC) generator.
>>
> and much more ...
>>
>
> In the "much more" category, see 
> http://tiddlytools.com/InsideTW/#TiddlyTools%2FNavBar%2FBottom
>
> * <<toc-list>> (defined in TiddlyTools/TOC/Macros) is a VERY simple 
> recursion, that returns the entire TOC contents as a simple list of tiddlers
> \define toc-list(here,exclude)
> <$list filter="""[title[$here$]tagging[]] $exclude$ -[[$here$]]""">
>    <$link/><br>
>    <$macrocall $name="toc-list" here=<<currentTiddler>> exclude="""$exclude$ 
> -[[$here$]]"""/>
> </$list>
> \end
>
> * TiddlyTools/NavBar/Bottom is a ViewTemplate addition that uses the 
> <<toc-list>> output to present next/previous buttons to provide a 
> "sequential reader" interface that lets you step through all the TOC items, 
> one at a time.
>
> enjoy,
> -e
>
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/faf58792-f8e8-44a2-adad-dd4a742bc18e%40googlegroups.com.

Reply via email to