Deutsch   English   Français   Italiano  
<vkf9i9$21dsg$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Don Y <blockedofcourse@foo.invalid>
Newsgroups: sci.electronics.design
Subject: Re: pdf page counting
Date: Tue, 24 Dec 2024 14:37:13 -0700
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <vkf9i9$21dsg$2@dont-email.me>
References: <vc2hmjhc9qcfnaa054ej50ii65k3u4r8lj@4ax.com>
 <vka38r$qekf$1@dont-email.me> <72ahmjhc9qcfnaa054ej50ii65k3u4r8sh@4ax.com>
 <vkacja$sa01$1@dont-email.me> <gs3jmjpioj9d2pn95qji9jd23cvd3b5l01@4ax.com>
 <vkcar9$1b1m7$1@dont-email.me> <17dlmj9g00pa728rellhc8cknj0i6cgk22@4ax.com>
 <vkf268$20d9a$1@dont-email.me> <vkf4ab$20nml$1@dont-email.me>
 <lt0jf4F4bieU1@mid.individual.net> <vkf98h$21dsg$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 24 Dec 2024 22:37:15 +0100 (CET)
Injection-Info: dont-email.me; posting-host="6de4f85a2ea0348558f2e6ef8f4c4ee4";
	logging-data="2144144"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+8+YYfcGB8Y2dCX5KI3iLH"
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.2.2
Cancel-Lock: sha1:qm8Q5BxfeZmeMomFuiiGmXszK+0=
Content-Language: en-US
In-Reply-To: <vkf98h$21dsg$1@dont-email.me>
Bytes: 2778

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".