Another Question just poped here !<br><br>What about long names with spaces with PTV in the pagelist, it seems not to be working like the following:<br><br><br>(:pagelist $:Long Name=TheOption....<br><br><br>Long Name as PTV seems not to be working. I tried "$:Long Name" $:"Long Name" $:'Long Name' '$:Long Name' , what should be the correct way ?<br>
<br>Edwin<br><br><br><div class="gmail_quote">On Mon, Jul 27, 2009 at 10:42 AM, edwin marte <span dir="ltr"><<a href="mailto:edwin.marte@leidba.com">edwin.marte@leidba.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It Just Works!! thanks...but, there is always a but :-)<br><br>what about if I want a pagelist with 2 different ptv on it like this -> (:pagelist $:Var1=opt1 $:Var2=AnotherOption ...<br><br>Any work around to this? It seems to be pagelist only works with only one PTV at a time.<br>
<br>Regards,<br><font color="#888888">Edwin</font><div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Sat, Jul 25, 2009 at 12:42 PM, edwin marte <span dir="ltr"><<a href="mailto:edwin.marte@leidba.com" target="_blank">edwin.marte@leidba.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'll test this on monday but I believe that is exactly the hints I needed !!<br><br>Thanks Petko,<br><br>Regadrs, Edwin<div><div></div><div><br><br><div class="gmail_quote">On Sat, Jul 25, 2009 at 7:47 AM, Petko Yotov <span dir="ltr"><<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>On Friday 24 July 2009 15:18:02 edwin marte wrote:<br>
> There are a few ones where I use checkboxes so what I then have is<br>
> something like this: :variable: opt1,opt2,opt3<br>
><br>
> I need no to do is to make a pagecount for these variables with checkboxes.<br>
> I have not been able to make an accurate count yet. It should be easy,<br>
> probably somebody else hade done already and could give me some hints.<br>
><br>
> Here is my pagelist to produce a simple Pagecount<br>
><br>
> (:if false:)<br>
> [[#template]]<br>
> (:template first:)<br>
> (:template each:)<br>
> (:template last:)<br>
> {$$ PageCount}<br>
> [[#templateend]]<br>
> (:if:)<br>
<br>
</div>Hi. If you only need to produce a number, use the built-in, faster "fmt=count"<br>
instead of fmt=#template.<br>
<div><br>
> How can I make the pagelist to count the pages for any combination of the<br>
> options (opt1 only, opt2 Only, opt1 and opt2, opt3 and opt1 , etc) ?<br>
<br>
</div>1. Values starting with "-" are always excluded, like:<br>
<br>
$:Var=-Opt1 -- the value of :Var: is not "Opt1"<br>
-- counts :Var:Opt1,Opt2 but not :Var:Opt1<br>
<br>
$:Var=-*Opt1* -- the value of :Var: does not contain "Opt1"<br>
-- counts neither :Var:Opt1,Opt2 nor :Var:Opt1<br>
<br>
<br>
2. A comma means inclusive OR, except for 1. above.<br>
<br>
$:Var=Opt1<br>
-- counts :Var:Opt1 but not :Var:Opt1,Opt2<br>
<br>
$:Var=*Opt1*<br>
-- counts :Var:Opt1 and :Var:Opt1,Opt2<br>
<br>
$:Var=Opt1,Opt2<br>
-- counts :Var:Opt1 and :Var:Opt2 but not :Var:Opt1,Opt2<br>
<br>
$:Var=*Opt1*,*Opt2*<br>
-- counts :Var:Opt1 and :Var:Opt2 and :Var:Opt1,Opt2,Opt3<br>
<br>
$:Var=*Opt1*,*Opt2*,-*Opt3*<br>
-- counts :Var:Opt1 and :Var:Opt1,Opt2 but not :Var:Opt2,Opt3<br>
<br>
$:Var=*Opt1*Opt2*,*Opt2*Opt1* -- contains both Opt2 and Opt1<br>
-- counts :Var:Opt1,Opt2 and :Var:Opt2,Opt1 and :Var:Opt2,Opt3,Opt1<br>
<br>
Thanks,<br>
<font color="#888888">Petko<br>
<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>