Would it be possible to modify the
range operator so it also accepts variables as <begin>, <end> or <step> parameters?
I tried to do the following and had to learn that the range filter does not accept variables as number parameter, neither <variable> nor <<variable>>:
<$wikify name="max" text="{{{ [list[$:/StoryList]tag[Figures]count[]] }}}">
<$set name="range" filter="[range[1,<max>]]">
...
</$set>
</$wikify>
Every variant I tried resulted in an error message like: range: bad number "<max>"
So I had to resort to a workaround wikifying a whole filter:
<$wikify name="all" text="[range[1,{{{ [list[$:/StoryList]tag[Figures]count[]] }}}]]">
<$set name="range" filter=<<all>>>
...
</$set>
</$wikify>
Many thanks for the great new range operator anyway!
Thomas