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 <<counting>> 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 [email protected].
To post to this group, send email to [email protected].
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.