Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <vnc2lo$22v5c$1@dont-email.me>
Deutsch   English   Français   Italiano  
<vnc2lo$22v5c$1@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!eternal-september.org!.POSTED!not-for-mail
From: Don Y <blockedofcourse@foo.invalid>
Newsgroups: sci.electronics.design
Subject: Re: pdf page counting
Date: Tue, 28 Jan 2025 19:09:55 -0700
Organization: A noiseless patient Spider
Lines: 84
Message-ID: <vnc2lo$22v5c$1@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>
 <494a7c46-e5ba-43f5-9eae-9ef4f769920e@uwish.com>
 <oj3p3lx9ki.ln2@Telcontar.valinor> <vkcrlr$1dsa2$1@dont-email.me>
 <1d3o6lxal7.ln2@Telcontar.valinor>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 29 Jan 2025 03:10:02 +0100 (CET)
Injection-Info: dont-email.me; posting-host="c1772cd026a61585908f5aa74b8136fc";
	logging-data="2194604"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX184DRacGB9GVtQCXXQZuSPn"
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.2.2
Cancel-Lock: sha1:B2LMh0FC6BwwLuNHJvvKzAoPtZc=
In-Reply-To: <1d3o6lxal7.ln2@Telcontar.valinor>
Content-Language: en-US
Bytes: 5001

On 1/28/2025 3:47 PM, Carlos E.R. wrote:
> 
> Sorry, I have just noticed your post today.
> 
> On 2024-12-24 00:27, Don Y wrote:
>> On 12/23/2024 3:08 PM, Carlos E.R. wrote:
>>>> Have you looked at Libreoffice?
>>>>
>>>> https://ask.libreoffice.org/t/how-do-i-paginate-completed-document/58798
>>>
>>> That is what I did. The pages are numbered correctly inside LO and in the 
>>> printed result, and in the PDF export. However, the page counter in the PDF 
>>> viewer doesn't reflect numbering styles or renumbering.
>>
>> What are you using to view the PDF?  Firefox has an in-built PDF
>> viewer; Adobe has the Reader and Acrobat products; there are numerous
>> "alternative" viewing tools, etc.
> 
> I am on Linux, so I don't have the adobe reader.
> 
> I repeat the test now: Evince, Atril, Okular, FoxitReader, firefox. All behave 
> the same, 5 pages, counting 1 to 5.

There are TWO "counters".  One counts "physical" pages, ignoring "labels".
The other counts the LABELS.

E.g., the cover of a book is often the first (physical) "page" in a PDF.
The LOGICAL page would likely display as "" (nothing) or, perhaps,
"COVER" (if someone was being pedantic).

The verso side (often blank and possibly not included if someone
was trying to skimp on the electronic version of the book)
will be (physical) page 2 but, again, not "labeled" as anything ("").

The Half Title, Copyright and Title pages are each distinct (physical) pages
but will (usually) not be labeled.  Some of the other front matter may carry
numbering (usually lower case roman numerals) AS LABELS.

I.e., one can easily be on the 5th, 10th, 20th, etc. (physical) page in
a PDF and still not have seen "page 1" (often, page *2* is the first numbered)

> I have a virtual machine with Windows and Adobe. Let's try. [...] It took time 
> to try, but managed it, same result.

Did you try Firefox as the handler for .pdf's?

> I hate adobe reader, it asked twice to make it the default handler for PDF. I 
> said no when I installed it, and repeated "no" today. This is insulting.

Lots of applications nag you about installing themselves as a default
handler.  IExplorer, Firefox, etc.  Some give you an option to "never
ask me again".  BUT, then if you opt to make that choice at a later
date, you have to sort out how to do so.

[E.g., you would likely also install <whatever> to handle .FDF
files, as well.]

The whole idea of treating part of the NAME as an indication of
the TYPE of a file is ludicrous.  Especially when developers are free
to "appropriate" any particular subset of the namespace for THEIR
use.  E.g., does a .dsn file describe a PCB -- or a database connection??

[This is why I have different workstations for different activities]

>> The format supports a fair number of capabilities that aren't
>> typically supported in the variety of "tools" available.  For
>> example:
>>
>> <https://clearmotionsystems.com/img/animations/compressor.pdf>
>>
>> Should display a 3D model that you can manipulate WHILE it is
>> being animated.
> 
> Displays an empty box or frame in a document. None of the Linux PDF readers 
> handle Javascript, probably intentionally, it is a security problem.

Running ANY application (including web pages!) for which you can't
(or won't/don't) inspect the source (assuming you are competent to
do so) is a security risk.  There is no need for malevolent intent
for something to put you at risk.

For such applications, you should be running them in a sandbox
(or jail) and certainly not as a privileged user!