> I was JUST going to say that myself, that it is handy in and of itself,
but what is really needed is the ability to create links to the sections
within the toc.

> That's pretty easy with the use of links and anchors. I have plans to
update my keyboard plugin so it will be very easy to create links to
navigate to.

I think making the internal TOC entries link to their corresponding heading
may actually be quite tricky. Using links and anchors will only work for
tiddlers that are only displayed once. Transclusion or use of sidebars
could cause multiple headings to appear with the same anchor name.

>  Despite any dreaded performance concerns, there are just too many highly
useful usecases involved with sections...
> section-toc for tiddler foo, providing clickable links! (even back to the
toc from the heading)
> $link to section foo, from tiddler bar, too
> $list section foo of tiddlers tagged bar
> (edit section foo)

That implies making sections behave exactly like tiddlers. That's
problematic because it means that all the behaviours we've built for using
and manipulating tiddlers need to be re-engineered to work with sections.
In some cases that's extremely tricky.

For example, how would you make a location hash link to a section (eg
http://example.com/#my-section-12)? There's no syntax within the location
hash to identify the string as being a section name and not a tiddler title.

Another example, to use the $list widget to list all sections of tiddlers
tagged bar would require us to be able to process section names within
filters. That implies that sections would need unique IDs - once again,
making them meet the definition of a tiddler.

Basically, TiddlyWiki is a mechanism for manipulating tiddlers. Everything
about it is predicated on the idea of a tiddler as the smallest unit of
content. Your requirements describe something else: a mechanism for
manipulating sections of monolithic hierarchical documents.

I understand why these requests are framed in terms of implementing
sections but I'd really like more insight into the underlying needs. Is the
desire for tiddlers with long, hierarchically structured content because
they are easier to edit as a single run of text? Or easier to import? Or is
it because the single tiddler is easier to read on screen than a sequence
of tiddlers?

Best wishes

Jeremy.



On Sat, Nov 22, 2014 at 2:01 PM, David Gifford <[email protected]> wrote:

> I was JUST going to say that myself, that it is handy in and of itself,
> but what is really needed is the ability to create links to the sections
> within the toc.
>
>
> On Saturday, November 22, 2014 7:50:35 AM UTC-6, Tobias Beer wrote:
>>
>> Very nice! I have to check it on my desktop computer to give you an
>>> opinion, but I like how it looks on my mobile too. Finally we gave a
>>> solution to all those people asking for a TOC.
>>
>>
>> Actually, I think I'll be satisfied once I managed (to hire a crew to
>> help me) to port SectionLinkPlugin
>> <http://www.tiddlytools.com/#SectionLinksPlugin> to tw5. ;)
>>
>> Despite any dreaded performance concerns, there are just too many highly
>> useful usecases involved with sections...
>>
>>    - section-toc for tiddler *foo*, providing clickable links! (even
>>    back to the toc from the heading)
>>    - *$link* to section *foo*, from tiddler *bar*, too
>>    - *$list* section *foo* of tiddlers tagged *bar*
>>    - (edit section *foo*)
>>
>> Best wishes, Tobias.
>>
>  --
> 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 http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to