I need to have a counter reset each time a new page starts. As I
don't find a page counter to do it for me (with counter groups) and
as I am making heavy use of labels, I could compare the page-ref of
the previous label with the page-ref of the new label - except that
<equal> doesn't seem to work when applied to a pageref. How can I extract the page-number as a string (or number?) from a pageref? unquote or eval don't seem to do it, and plus can't be applied to it. A pagereg doesn't seem to be a de-composable tree. WHats the best way to reset a counter when a new page starts? Also, I note, when typing \not it becomes <neg| which doesn't work in if statements very well, I get errors and have to cut-n-paste via a text editor to change the <neg back to <not Sam --
Sam's signature |
Archive powered by MHonArc 2.6.19.