[tw] Re: Grouped list using a list field

2015-07-03 Thread Lucian H
On Friday, 3 July 2015 03:22:30 UTC+1, RichardWilliamSmith wrote: EDIT: oh wait... I think I see the problem. You want the values in the prerequisite field to be the first level and the tiddlers they're in to be the second level. That's probably much harder. Yep. Still hoping that someone

[tw] Grouped list using a list field

2015-07-02 Thread Lucian H
Hi, Apologies if this has been covered before, I had a quick search in the docs and the forum and couldn't find anything. I'm trying to make a grouped list, but the catch is that I want the grouping items to be drawn from a list field. Essentially what I want is the functionality of the tags

[tw] Re: Grouped list using a list field

2015-07-02 Thread Lucian H
On Thursday, 2 July 2015 14:36:39 UTC+1, PMario wrote: Why don't you use the table of content macros. there are several possibilities: http://tiddlywiki.com/#Table-of-Contents%20Macros%20%28Examples%29 Hi Mario, I'm not sure I see how that will help me. I'm already using tags for a

[tw] Re: Grouped list using a list field

2015-07-02 Thread Lucian H
Hi Jed, This is exactly what I'm looking for, except that, as mentioned in my reply to BJ, I don't want to hard code the list of source tiddlers in the outer list - I want to pull in all the tiddlers that have a field1. Unfortunately there doesn't seem to be an obvious way to do that and still

[tw] Re: Grouped list using a list field

2015-07-02 Thread Lucian H
On Thursday, 2 July 2015 18:38:12 UTC+1, Jed Carty wrote: Ahh, yes. I keep running into this same problem where you want to have the output of nested lists treated as the same list instead of multiple. This would be a very powerful addition to the filtering in tiddlywiki. snip Thank you

[tw] Re: Odd bug with divs and styles

2015-05-07 Thread Lucian H
On Thursday, 7 May 2015 10:45:42 UTC+1, PMario wrote: Imo it would be easier to create and read, if you use div class=class1 class2some text/div It is much clearer, easier to type and valid html code. Agreed. This is exactly the conclusion that I came to myself, and what I've ended up

[tw] Re: Odd bug with divs and styles

2015-05-06 Thread Lucian H
On Wednesday, 6 May 2015 23:28:32 UTC+1, Eric Shulman wrote: The reason the problem doesn't appear if the divs are moved inside the class wrapper is that div.../div effectively isolates the outer @@..@@ from the inner one, like this: @@.class1 div@@.class2 content here@@/div@@ Hmm. Ok.

[tw] Re: Transcluding using a dynamic template name

2015-05-06 Thread Lucian H
On Thursday, 7 May 2015 00:04:26 UTC+1, Jed Carty wrote: You should be able to do this using variables and macros. Something like this: \define TranscludeTemplate() {{||$(TemplateName)$}} \end $set name=TemplateName value=whateveryourtemplatethingis TranscludeTemplate /$set Aha! I'd

[tw] Transcluding using a dynamic template name

2015-05-06 Thread Lucian H
Is there a way to do this? I want to build up the name of a template to transclude (based on tags on the tiddler) and then transclude it as a template. But I can't find any combination of syntax that will let me do this. The {{||TiddlerName}} syntax doesn't seem to support embedded macros or

[tw] Odd bug with divs and styles

2015-05-06 Thread Lucian H
Hi, If you create a tiddler with the following content: div @@.class1 @@.class2 Some text @@ /div Tiddlywiki breaks badly - you end up with the following html: div span class=tc-inline-style class1/span.class2 Some text span class=tc-inline-style lt;/divgt;/span/div If you move the divs