[tw] Re: TW5 Global macro leave
Thanks :) The one-line does not work, but the other one does. I may have put some interfering css i a stylesheet somewhere, but now it works and I'm happy :) -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/48c21683-c1c3-41c9-add9-0403705bb841%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TW5 Global macro leave
You where faster :) but the funny thing is. If I test the code of the OP with tiddlywiki.com it works just fine. ... So there may be something else involved too? -m -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/8acc7a3c-8e2e-4aa9-811a-f4b1c56f78c5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TW5 Global macro leave
Try this: \define counting() <$count filter="[tag{!!caption}] -[tag[genus]]"/> or \define counting() <$count filter="[tag{!!caption}] -[tag[genus]]"/> \end So no new lines, because in wikitext this means to render the text as a new paragraph. -m -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/6b7258a8-6dbd-4fee-9b01-dbd62a5ac6fd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TW5 Global macro leave
On Sunday, April 3, 2016 at 2:26:02 AM UTC-7, magev958 wrote: > > I made a global macro: > > \define counting() > > <$count filter="[tag{!!caption}] -[tag[genus]]"/> > > \end > > and call it with <> and it works perfectly. But the text does > not continue on the same line after the number but starts a new line. Any > idea why? > Omit the blank lines from within the macro definition, like this: \define counting() <$count filter="[tag{!!caption}] -[tag[genus]]"/> \end In fact, you could write this as single-line macro definition, like this: \define counting() <$count filter="[tag{!!caption}] -[tag[genus]]"/> enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios InsideTiddlyWiki: The Missing Manuals -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/c07b728e-adaa-4504-8472-ff83eb845718%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.