Re: [jats-list] Tagging page information in flow of a document

Subject: Re: [jats-list] Tagging page information in flow of a document
From: "Kevin Hawkins kevin.s.hawkins@xxxxxxxxxxxxxxxxxx" <jats-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 1 Feb 2022 17:24:21 -0000
But on this point ...

On 2/1/22 7:05 AM, Imsieke, Gerrit, le-tex gerrit.imsieke@xxxxxxxxx wrote:
Calculating the page number that a given piece of rendered content is on can also be a bit expensive when dealing with milestone elements. If you use XSLT 2+ (or Xquery 1+) for rendering, the >> and << operators can be used as in ($all-page-milestones[. >> current()])[1] to find which of the pagination milestones comes next. This should be sufficiently efficient.

... this method gets complicated if you ever have footnotes that span pages since then you will have two milestones for "the same" page break: one in the main flow of the text and another in the affected footnote.


Kevin

Current Thread