Many thanks Eric. \import works fine here.

I'll be using it for helper macros required by system-wide true macros. 
That will help clean things. a declaration akin to private for a macro 
would be a lot better though.

Also, when I looked at pragma, it mentions \rules which is used in 
https://tiddlywiki.com/static/Using%2520Stylesheets.html with arguments. 
It's still not much documentation although it's worthwhile reading. Where 
could I fetch some more information about \rules (its grammar, its 
parameters, its use cases)  ?

Le jeudi 8 avril 2021 à 13:15:58 UTC+2, Eric Shulman a écrit :

> On Thursday, April 8, 2021 at 4:09:59 AM UTC-7 [email protected] 
> wrote:
>
>> On solution to my problem is to tag my sample macro tiddler as a system 
>> macro.
>> But this has the problems that its macros are now public and their names 
>> must now be made unique.
>>
>
> To avoid creating global macros, you can use the \import pragma at the 
> start of the tiddler,
> or use <$importvariables filter="...">...</$importvariables> widget 
> surrounding the desired content.
>
> see https://tiddlywiki.com/#ImportVariablesWidget
>
> -e
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3cac053b-fe33-46f0-99a4-8c79518a0681n%40googlegroups.com.

Reply via email to