How can I obtain information about the location of a label relative to other text?
- Whether the label is on a previous page or the current page (i.e. appears in some previous lines, but on the same page).
- If the label is on a previous page; how many pages prior? E.g. 1 page before, 5 pages before.
It would be helpful to obtain some value, such as 0 for current page, 1 for the previous page, 2 for two pages previous, as that could be placed into an if-then.