Article View: perl.pod-people
Article #1podlators v6.0.0 released
From: Russ Allbery
Date: Thu, 11 Jul 2024 03:39
Date: Thu, 11 Jul 2024 03:39
88 lines
8207 bytes
8207 bytes
I'm pleased to announce release v6.0.0 of podlators.
Module authors, note that this release increases the minimum supported
Perl version to 5.12. If you have an explicit dependency on podlators or
its constituent modules, directly or indirectly, be aware that this will
now only be satisfied with Perl 5.12 or later.
podlators contains Pod::Man and Pod::Text modules which convert POD input
to *roff source output, suitable for man pages, or plain text. It also
includes several subclasses of Pod::Text for formatted output to terminals
with various capabilities. It is the source package for the Pod::Man and
Pod::Text modules included with Perl.
Changes from previous release:
- Drop support for Perl 5.10. podlators now requires Perl 5.12 or later.
- podlators now uses semantic versioning for the package and module
versions, with a v prefix to work with Perl's packaging system.
- Pod::Man now translates all "-" characters in the input into *roff "\-"
escapes (normally rendered as an ASCII hyphen-minus, U+002D) rather
than using fragile heuristics to decide which characters represent true
hyphens and which represent ASCII hyphen-minus. The previous
heuristics misrendered command names such as apt-get, causing search
and cut-and-paste issues. This change may cause line-break issues with
long hyphenated phrases. In cases where the intent is a true hyphen,
consider using UTF-8 as the POD character set (declared with =3Dencoding)
and using true Unicode hyphens instead of the ASCII "-" character.
- Pod::Man now disables the special *roff interpretation of "`" and "'"
characters as paired quotes everywhere, not just in verbatim text, thus
forcing them to be interpreted as the regular ASCII characters. This
also disables the use of "``" and "''" for paired double-quotes. The
rationale is similar to that for hyphens: there is no way to tell from
the POD source that the special interpretation as quotes is intended.
To produce paired typographic quotes in the output, use UTF-8 and
Unicode paired quote characters.
- Man page references in L<> that are detected as such by Pod::Simple are
now always formatted as man page references even if our normal
heuristic would not detect them. This fixes the formatting of
constructions such as @@RXVT_NAME@@perl(3), which are used by packages
that format a man page with POD and then substitute variables into it
at build time. Thanks to Marco Sirabella for the analysis and an
initial patch. (GitHub #21)
- Add a workaround to Pod::Man to force persistent ragged-right
justification under nroff with groff 1.23.0. Thanks to Guillem Jover
for the report and G. Branden Robinson for the analysis. (GitHub #23)
- Fix wrapping of text with S<> markup in all subclasses of Pod::Text.
Thanks to Jim Avera for the report. (GitHub #24)
- Pod::Man now forces a blank line after a nested list contains only
=3Ditem tags without bodies. In previous versions, the blank line before
the next item in the surrounding =3Dover block was not included. Thanks
to Julien =C3=89LIE for the report. (GitHub #26)
- Import PerlIO before checking for layers so that PerlIO::F_UTF8 is
available, which fixes double-encoding of output when a :utf8 layer is
in place and PerlIO is not imported. Thanks to youpong for the bug
report, James Keenan for the elaboration, and Graham Knop for the fix.
(GitHub #25)
- pod2text --help now exits with status 0, not 1, matching normal UNIX
command behavior and the behavior of pod2man. (GitHub #19)
- Fix tests when NO_COLOR is set in the environment. (GitHub #20)
You can download it from CPAN or from:
<https://www.eyrie.org/~eagle/software/podlators/>
This package is maintained using Git; see the instructions on the above
page to access the Git repository.
Please let me know of any problems or feature requests not already listed
in the TODO file.
--=20
#!/usr/bin/perl -- Russ Allbery, Just Another Perl Hacker
$^=3Dq;@!>~|{>krw>yn{u<$$<[~||<Juukn{=3D,<S~|}<Jwx}qn{<Yn{u<Qjltn{ > 0gFzD =
gD,
00Fz, 0,,( 0hF 0g)F/=3D, 0> "L$/GEIFewe{,$/ 0C$~> "@=3D,m,|,(e 0.), 01,pnn=
,y{
rw} >;,$0=3Dq,$,,($_=3D$^)=3D~y,$/ C-~><@=3D\n\r,-~$:-u/ #y,d,s,(\$.),$1,ge=
e,print
Technical Details
Message-ID:
<87frsgbns4.fsf@hope.eyrie.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!bofh.it!nntp.perl.orgShow Full Headers
Complete Article Headers
Message-ID: <87frsgbns4.fsf@hope.eyrie.org> Subject: podlators v6.0.0 released Date: Wed, 10 Jul 2024 20:39:07 -0700 From: eagle@eyrie.org (Russ Allbery) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!bofh.it!nntp.perl.org Newsgroups: perl.pod-people,perl.perl5.porters,perl.module-authors Return-Path: <eagle@eyrie.org> Mailing-List: contact module-authors-help@perl.org; run by ezmlm Delivered-To: mailing list module-authors@perl.org Received: (qmail 30854 invoked from network); 11 Jul 2024 03:39:14 -0000 Received: from xx1.develooper.com (147.75.38.233) by x6.develooper.com with SMTP; 11 Jul 2024 03:39:14 -0000 Received: from inbound-egress-5.mailchannels.net (inbound-egress-5.mailchannels.net [199.10.31.237]) by xx1.develooper.com (Postfix) with ESMTP id D151B7C195; Wed, 10 Jul 2024 20:39:13 -0700 (PDT) Received: from inbound-trex-2 (unknown [127.0.0.6]) by postfix-inbound-v2-3.inbound.mailchannels.net (Postfix) with ESMTP id C2AE59C08C5; Thu, 11 Jul 2024 03:39:12 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1720669152; a=rsa-sha256; cv=none; b=3aQXTOHYW9HcCaOpgulgmwBLj8fO7SJAul8e2fPWxdc9Mucqa3xolV2VHQDFDbNmQZs6Uo AAx7d+Jip0rjA3enGfpcR7NWs3Xrk7ZgavHR+O1GzbVfj33o0886UzXqYS92RCLm62hDO8 jEsIiQzhq+wV1jREsDi5d8FFhNo/OhshlsrSYzjducNWvtXYWuMrDnDFjgGQu8gop8pNt8 StYqD2EpnJOZUBwHqWBb5p32HpU1i70g7uqJ6E4KODnJ1dChQlQWqVNeK/P3w6JUsG5dil tLA9ZZE38u1NU/cjMvsIaOdd+GcgMXtg/FhU+ZfFc2Z3EDQicPza0Ibh6cEY1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1720669152; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1MsCrmqghbL2ukD/xxg5HfopSg4LejGx/+qaimL5KbI=; b=jmtNrNfcv3vbBqcCxTZdW26W/uJCoHC95l0rS4cJd54isEBFHg6USFWnu5HiUBt7jXiR+p 690wG//97o8NuW85YpRGR4prSeN6IYvosQ6IomI4FSJrMjOKlYEEKLXSo7eye8IQyW9jVL 9hW7CxygknEG/8MoEFZE+WypcJtxhgXoOG9XAZxMC1nY8A+ld94MuwCrgdY52i4EHmupy+ N3XcvLC002hxI7KCYHRibflQ9DYEDs6L641i2QkfB3gMqxwABz5WqnR98nME296easT89A We5dAG4TEZSApym4S62Ai2lgo4blkv2MZ4uOLHBK+lvBwEWPw+EiNw4dCrtO4w== ARC-Authentication-Results: i=1; inbound-rspamd-745dd64fb8-87fbx; none X-Message-ID: x6Y1t1jEOUQBwG0otNZ7UQzR Received: from haven.eyrie.org (haven.eyrie.org [166.84.7.159]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.98.210.7 (trex/6.10.3); Thu, 11 Jul 2024 03:39:12 +0000 Authentication-Results: inbound.mailchannels.net; spf=pass smtp.mailfrom=eagle@eyrie.org; dkim=none; dmarc=none; arc=none Received-SPF: pass (dmarc-service-554c4c488-lpgt2: domain of eyrie.org designates 166.84.7.159 as permitted sender) client-ip=166.84.7.159; envelope-from=eagle@eyrie.org; helo=haven.eyrie.org; Received: from wanderer.eyrie.org (unknown [69.4.128.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by haven.eyrie.org (Postfix) with ESMTPS id E79CB118128; Wed, 10 Jul 2024 20:39:09 -0700 (PDT) Received: by wanderer.eyrie.org (Postfix, from userid 1000) id DC166322CDBD; Wed, 10 Jul 2024 20:39:07 -0700 (PDT) To: perl5-porters@perl.org, pod-people@perl.org, module-authors@perl.org Organization: The Eyrie User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Approved: news@nntp.perl.org