Hm, I found only one working solution:

[(list "{main:tags}" fmt="[[{p}&tag={+p}|{+p}]]" join="   ")]

[if set {?tag}]

**{?tag}**

[t]
[(search "tags(,){?tag}" order=reverse fmt="[r][c][[{+p}|+]]")]
[t][if]
empty line

Why do I need that empty line? Or differently put: Shouldn't main
always start with a paragraph when having an outputting function at
the top?

Seems a bit of a jeopardy to guess where to put them. For example I
expected this to work too:

[(list "{main:tags}" fmt="[[{p}&tag={+p}|{+p}]]" join="   ")]

[if set {?tag}]

**{?tag}**

[t]
[(search "tags(,){?tag}" order=reverse fmt="[r][c][[{+p}|+]]")]
[t][if]
no empty line

On Mar 21, 6:06 pm, The Editor <[email protected]> wrote:
> Chances are you have an appropriate line return after the [if set
> {?tag}], but not after the [else] or closing [if]. If you could post
> more of the code I might be able to check. The if statements are not
> the problem -- as they are all completely processed before any line
> spacing is done.
>
> Cheers,
> Dan
>
>
>
> On Fri, Mar 19, 2010 at 8:24 PM, Markus <[email protected]> wrote:
> > I am also missing a paragraph. A page begins with:
>
> > [(list "{page:tags}" fmt="[[{p}&tag={+p}|{+p}]]" join=" &nbsp; ")][if
> > set {?tag}]
> > ...
>
> > When 'tag' is not set, the list is not put into a paragraph. When it's
> > set, everything's fine.

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en.

Reply via email to