Sujet : Re: pdf page counting
De : blockedofcourse (at) *nospam* foo.invalid (Don Y)
Groupes : sci.electronics.designDate : 24. Dec 2024, 22:37:13
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vkf9i9$21dsg$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2
On 12/24/2024 2:32 PM, Don Y wrote:
wants to have the reader itself know the page numbers he used in his headings so that he can tell the reader to go to page 17 and it goes to the page with "17" in the header and shows page 17 / whatever as it's status.
That's exactly what the doctored PDF that I provided does (at least using
Adobe's products). I can type "II" (roman numeral 2) in the page number
box and it will move to the page bearing the LABEL "II" -- which happens
to be the tenth page in the document.
Note the mechanism that I used exploits the fact that pages are present
in sequential order. So, the page that is eventually LABELED as "1"
will be followed by "2" (and not 372).
However, the mechanism accommodates such haphazard labeling -- but at
an increase in editing effort. E.g., I could arrange the scans in the
order 3, 1, 5, 4, 2 and still produce labels that corresponded 1:1 with
these in the "scanned text". But, I would have to do that as 5 distinct
operations (select the first page, set its label to '3'; select the second
page, set its label to '1'; select the third page, set its label to '5'...)
If, the more likely case, the pages have sequential indicators (1,2,3...;
i, ii, iii...; A, B, C...; etc.) then the mechanism can process all
following pages as "next in sequence".