If anyone wants to see what I have been up to, here is a sample http://articulos.giffmex.org/1LDP/filemon.set.html
On Thursday, February 7, 2019 at 8:21:57 PM UTC-6, Dave Gifford - http://www.giffmex.org/ wrote: > > oops actually it was the text Jeremy suggested in the beginning... > > On Thursday, February 7, 2019 at 8:17:01 PM UTC-6, Dave Gifford - > http://www.giffmex.org/ wrote: >> >> I should add that you meant to put <h1><$view field="title"/></h1> not >> <h1><<toc-caption>></h1> >> >> >> On Thursday, February 7, 2019 at 8:02:58 PM UTC-6, Dave Gifford - >> http://www.giffmex.org/ wrote: >>> >>> Hi S.S. >>> >>> I have made the changes. And it works great! Thanks for both solutions. >>> >>> On Thursday, February 7, 2019 at 7:07:57 PM UTC-6, S. S. wrote: >>>> >>>> >>>> David, >>>> >>>> It was not obvious to me what Tony & Jeremy meant by "using a template >>>> parameter" as I was not aware of how it is used! >>>> >>>> If you look on the last line on the documentation for Table-of-Contents >>>> Macros <https://tiddlywiki.com/#Table-of-Contents%20Macros>, it says: >>>> >>>> *template * >>>> Optionally, the title of a tiddler to use as a template >>>> <https://tiddlywiki.com/#TemplateTiddlers> for transcluding the >>>> selected tiddler into the right-hand panel >>>> >>>> So the correct way is to create a template tiddler, say named : >>>> *CustomTocTemplate* >>>> >>>> Put the following in that tiddler: >>>> >>>> <h1><<toc-caption>></h1> >>>> <$transclude mode="block">$missingText$</$transclude> >>>> >>>> Then when you define your Table if Contents, you do it similar to this: >>>> <$macrocall >>>> $name="toc-tabbed-internal-nav" >>>> tag="TableOfContents" >>>> *template="CustomTocTemplate"* >>>> selectedTiddler="$:/temp/toc/selectedTiddler" >>>> unselectedText="<p>Select a topic in the table of contents. Click >>>> the arrow to expand a topic.</p>" >>>> missingText="<p>Missing tiddler.</p>" >>>> /> >>>> >>>> >>>> Don't forget to undo the changes you made earlier by simply deleting >>>> the edited shadow tiddler : *$:/core/macros/toc* >>>> >>>> Apologies for the earlier not so hot quick fix! >>>> >>>> Edits were just to clean up the line spacing >>>> >>> -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/cdadeebf-2f49-4a33-862e-14048f2ed6db%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

