Hi James

> I have a tiddler that lists a number of books and their authors.
> <<forEachTiddler
>     where
>         'tiddler.tags.contains("book")'
>     sortBy
>         tiddler.data("author")
>          ascending
>
>     write
>       '"|"+tiddler.data("author")+"|[["+tiddler.title+"]]|\n"''

This might do what you want (untested...):

<<forEachTiddler where 'tiddler.tags.contains("book")'
sortBy
        tiddler.data("author")
         ascending
write
 '"|Author|Book Title|h\n||"+tiddler.data("author")+"|[["+tiddler.title
+"]]|\n"'>>

"\n" (without the quotes) creates linebreaks and the "h" (without the
quotes)  formats the row as a header..

Cheers Måns Mårtensson

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to