[pmwiki-users] PAGELIST / Math / summatory

Eemeli Aro eemeli at gmail.com
Thu Sep 3 13:30:46 CDT 2009

2009/9/3 Eemeli Aro <eemeli at gmail.com>:
> Alternatively, the MarkupExpresssionSamples page also has {(sum)},
> with which the template should be:
> [[#datasum]](:template first:){(sum (:template
> each:){=$:DATA}(:template last:) )}
> [[#datasumend]]

Drat, the lines were mangled, and just after posting I noticed a bug
in the above. So here's a correct version using {(sum)}, but you'll
need to remove the newlines before each (:template ...:):

(:template first:){(sum
(:template each:) {=$:DATA}
(:template last:) )}


More information about the pmwiki-users mailing list