public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* Problem in prepare.pl (PDF book script) when handling Unix V10 manual pages
@ 2025-02-13 16:08 Alejandro Colomar
  2025-02-17 18:52 ` Deri
  0 siblings, 1 reply; 5+ messages in thread
From: Alejandro Colomar @ 2025-02-13 16:08 UTC (permalink / raw)
  To: deri, linux-man


[-- Attachment #1.1: Type: text/plain, Size: 1565 bytes --]

Hi Deri,

I tried generating a PDF book from the Unix v10 manual pages, and found
some issues with the Perl script.  I don't understand Perl, as you know,
so I don't know what to do.

I've attached a tarball with the manual pages that I'm trying to handle.
They're slightly modified V10 files, in order to make them slightly more
conventional (e.g., the =.1 page is now called eq.1, and the manx/ dir
and other dirs than didn't have a digit in their names are now divided
into dirs that have one digit after the name (e.g., man1x/, ...)).

The command I'm trying to run is:

	$ make -R build-pdf-book MANDIR=~/Downloads/unix/man/

(Of course, replace that path with wherever you untar the tarball.)

The error I see is a forever loop (or so it seems) with the following
error line:

	Use of uninitialized value $v in exists at /srv/alx/src/linux/man-pages/man-pages/contrib/share/mk/build/pdf/book/prepare.pl line 67.

Would you mind having a look at it?
In case it matters:

	alx@devuan:~$ groff --version
	GNU groff version 1.23.0.2695-49927
	Copyright (C) 1989-2023 Free Software Foundation, Inc.
	This is free software, distributed under the terms of the GNU General Public
	License, version 3, or any later version, at your option.  There is NO warranty;
	not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

	programs in constructed pipeline:

	GNU grops (groff) version 1.23.0.2695-49927
	GNU troff (groff) version 1.23.0.2695-49927


Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es/>

[-- Attachment #1.2: unix-v10-man.tar.gz --]
[-- Type: application/x-tar-gz, Size: 858926 bytes --]

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-02-18  1:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-13 16:08 Problem in prepare.pl (PDF book script) when handling Unix V10 manual pages Alejandro Colomar
2025-02-17 18:52 ` Deri
2025-02-17 21:58   ` Alejandro Colomar
2025-02-17 22:22   ` G. Branden Robinson
2025-02-18  1:40     ` Deri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox