Question
Pgf reference in Header/Footer
I'd like to present the scope of paragraphs on a page in the Header (much like it's done in many Bibles). I have two levels of paragraphs; when the higher level gets a higher number, the lower level starts over on number 1.<br />But I'm presented with two problems:<br />1) If I use <$paranum[Level1]>:<$paranum[Level2]> I get the number of the first paragraph Level1 that appears on the page (be it the first line or the last line, it doesn't matter), or, in the case that there is no such, the last from the previous page. When the first new paragraph on the page is a Level1, or when there is no Level1 paragraph on the page, all turns out well, but that's very rarely the case. What I want, is the Level1 number that is valid when the first new Level2 paragraph appears on the page. The Autonumber format for Level1 is: K:<n+>< =0>\t, and for Level2: K:< n><n+>\t. <br />(Idea: Is it possible to have a two-level numbering on a paragraph? (I'm not asking about two different numberings on ONE paragraph; that's addressed above.) <br />2) To present the scope, I'd also like to get the numbers for the last Level1 and Level2 paragraphs on the page. Is that possible? <br /><br />Best regards, Mikael Persson
