On Saturday, April 11, 2015 at 12:20:54 PM UTC-7, Martin wrote:
>
> I tried to use the toc macros according to the example found in 
> tiddlywiki.com/#TableOfContentsMacro. I made use of the list field, where 
> I added the tiddler titles in the order I want them to appear. 
> It worked fine at first. Then I changed some tiddler titles, and all of a 
> sudden the tiddlers in the toc where sorted alphabetically. I am not able 
> to get the toc back to sort according the list field. I saved the tw, 
> refreshed the browser with Ctrl-F5 (Firefox), without success.
> What am I doing wrong? Help is much appreciated.
>

By default, the items in the <<toc>> output are sorted alphabetically at 
each level.  As you know, you can override this order by using the "list" 
field.   Any titles entered there are shown in the <<toc>> output in the 
order specified.  Any other titles with the same tag are then shown 
alphabetically following the items from the list field.

In your case, you renamed some tiddlers... which are still tagged 
accordingly, so they still show up in the <<toc>> output.  However, the 
names entered into the "list" field are *not* automatically updated when 
you rename tiddlers, so the list field still has the old titles.  Because 
those tiddlers don't exist, they don't continue to show up in the <<toc>> 
output.  However, because the renamed tiddler titles are not in the list 
field, those tiddlers default to following the listed tiddlers, but in 
alphabetical order.  Which is just what you are observing.

solution: go back and edit the "list" fields to enter the updated tiddler 
titles in the desired order.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

"Inside TiddlyWiki: The Missing Manual"
https://www.indiegogo.com/projects/inside-tiddlywiki-the-missing-manual/x/8816263
Note: the IndieGogo funding campaign has ended,
but direct fundraising continues below...

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://TiddlyTools.github.com/fundraising.html#MakeADonation

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/afb8deed-b901-45b0-9c81-b2e9bf76f4b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to