Hi Xavier.

I agree, strange indeed. Maybe raise an issue at the TW GitHub repo?

-Felix

On 01/12/2016 05:31 PM, Xavier Cazin wrote:
> Hi everyone,
>
> Loved the trick, but it exhibits a parsing glitch when you try to put
> the variable values in bold
> ​ using single quotes​
> . Try <<concat "Hello $1$. I am ''$(currentTiddler)
> ​$'​
> ' in a TW $(version)$. Good bye $1$. Hope to see you again $1$."
> "foo">> for instance.
>
> X.
>
> -- Xavier Cazin
>
> On Tue, Jan 12, 2016 at 5:18 PM, Tobias Beer <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Hi Felix,
>
>         Ha! Nice @Tobias, didn't think of this. Now we almost got the
>         equivalent to "printf"
>         (https://en.wikipedia.org/wiki/Printf_format_string) :D 
>
>          
>
>         |\define concat(text,1,2,3,4,5,6,7,8,9,10) $text$
>          
>         || <<concat "Hello $1$. I am $(currentTiddler)$ in a TW
>         $(version)$. Good bye $1$. Hope to see you again $1$." "foo">>|
>
>
>     I added the above here:
>
>     Ad-Hoc Macro @ tb5 <http://tobibeer.github.io/tb5/#Ad-Hoc%20Macro>
>
>     Thanks again. That's some nifty-cool stuff.
>
>     Best wishes,
>
>     Tobias.
>     -- 
>     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]
>     <mailto:[email protected]>.
>     To post to this group, send email to [email protected]
>     <mailto:[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/b7fffef4-505a-4b64-9b3b-7e79bd51bae7%40googlegroups.com
>     
> <https://groups.google.com/d/msgid/tiddlywiki/b7fffef4-505a-4b64-9b3b-7e79bd51bae7%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
>
>     For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
> 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]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[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/CADeSwYPqqHwmi%2BJsen9zvcuEVb1XO76AYZL3EHWRiDbFU7fiVg%40mail.gmail.com
> <https://groups.google.com/d/msgid/tiddlywiki/CADeSwYPqqHwmi%2BJsen9zvcuEVb1XO76AYZL3EHWRiDbFU7fiVg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/BLU436-SMTP21786B5494509C76F8C3CD0CECB0%40phx.gbl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to