On Mon, Oct 5, 2015 at 5:32 PM, Thierry <[email protected]> wrote:

> Now, another problem appears, i write something depending on whether the
> "Abstract" field is empty or not, so i have some condition such as
>
> (:if ! equal "" "{=$:Abstract}":)
>
> It seems that the condition can not be multiline, so all of this is boken.
> I tried to just count the length with "{(strlen "{=$:Abstract}")}", but it
> also fails. Any idea ?
>

Create a markup expression (  {(ptv1line $:Abstract)} ) or simply a markup
(:Abstract_first_line:) which uses the former definition thus returning
only a single line.

-Peter
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to