Can I optionally select pages for page number count? E.g. I would like to exclude the front/back pages but only count the main contents? Even more, I may count introduction pages in Roman number differently from the main section.
Can I use $p in expression in XML format? I can only use it as
But it is invalid if I calculate with it like:
<xsl:value-of select="$p - 3"/>
Page number can only be controled at section level. If you want some paragrahs have different page number with other paragraphs, please create a section for them.
Really? I create one template containing one section for each page, then call all templates in sequence, $p gives page number sequentially.
Do you suggest me remove those section definitions but include them in one section?
Should I use #$NP so that FBs will stay in right pages?
I think $p is at document level and it counts cross sections.
Another problem to me is that I locate all FBs within a page size so that if I merge pages into one section, the contents overlap as I tested.
The point is that I should be able to use $p in an expression so that the I can reduce the page number by those pages excluded in counting.
BTW, $p can’t be used in expression.
Great! They are working!!