Macro inside macro?

38 views
Skip to first unread message

Dave Gifford - http://www.giffmex.org/

unread,
Nov 5, 2007, 12:07:11 PM11/5/07
to TiddlyWiki
Hi all,

Is it possible to have a tabs macro be the text for a new tiddler
macro? How would I change this code?

The quotation marks are what are keeping me from moving forward, since
the outer macro is interpreting the first quote of the inner macro as
the end of the outer macro.

<<newTiddler text:"<<tabs passage3:16b
Summary "Summary of Passage 3:16" "Summary of Passage 3:16"
Paraphrase "Paraphrase of Romans 3:16" "Paraphrase of Passage 3:16"
/>/>" label:"label" tag:"tag">>

Saq Imtiaz

unread,
Nov 5, 2007, 12:10:40 PM11/5/07
to Tiddl...@googlegroups.com
<<newTiddler text:"<<tabs passage3:16b
Summary 'Summary of Passage 3:16' 'Summary of Passage 3:16'
Paraphrase 'Paraphrase of Romans 3:16' 'Paraphrase of Passage 3:16'
/>/>" label:"label" tag:"tag">>

Try that Dave.

Cheers,
Saq
--
Tiddly Learning ( http://lewcid.org ) : TiddlyWiki news, plugins, themes and educational usage

FND

unread,
Nov 5, 2007, 12:21:27 PM11/5/07
to Tiddl...@googlegroups.com
> [snip]
> Try that Dave.

I'm afraid that doesn't work either, because the closing ">"s can't be
escaped.
However, you could use an evaluated parameter to trick the parser:
---------------


<<newTiddler text:{{"<<tabs passage3:16b Summary 'Summary of Passage
3:16' 'Summary of Passage 3:16' Paraphrase 'Paraphrase of Romans 3:16'

'Paraphrase of Passage 3:16'>"+">"}} label:"label" tag:"tag">>
---------------


-- F.

Dave Gifford - http://www.giffmex.org/

unread,
Nov 5, 2007, 12:44:29 PM11/5/07
to TiddlyWiki
Yeah, that did it. This is getting exciting!

Dave.

Reply all
Reply to author
Forward
0 new messages