Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1121299 > unrolled thread

Bug#1021955: pod2man: runaway italics inside C<>

Started byJakub Wilk <jwilk@jwilk.net>
First post2022-10-17 23:30 +0200
Last post2022-11-26 18:20 +0100
Articles 4 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1021955: pod2man: runaway italics inside C<> Jakub Wilk <jwilk@jwilk.net> - 2022-10-17 23:30 +0200
    Bug#1021955: pod2man: runaway italics inside C<> Russ Allbery <rra@debian.org> - 2022-10-18 02:00 +0200
      Bug#1021955: pod2man: runaway italics inside C<> Jakub Wilk <jwilk@jwilk.net> - 2022-10-18 19:00 +0200
    Bug#1021955: pod2man: runaway italics inside C<> Russ Allbery <rra@debian.org> - 2022-11-26 18:20 +0100

#1121299 — Bug#1021955: pod2man: runaway italics inside C<>

FromJakub Wilk <jwilk@jwilk.net>
Date2022-10-17 23:30 +0200
SubjectBug#1021955: pod2man: runaway italics inside C<>
Message-ID<FhFQl-eVMG-3@gated-at.bofh.it>
Package: perl
Version: 5.34.0-5

pod2man misformats I<> inside C<>.

For example, if you run:

     printf '=head1 FOO\n\nC<Only I<foo> should be italicized, not the rest>!\n' | pod2man - | man -l -

not only "foo" is italicized, but also everything up to the closing 
quote character.


-- System Information:
Architecture: i386

Versions of packages perl depends on:
ii  dpkg               1.21.9+b1
ii  perl-base          5.34.0-5
ii  perl-modules-5.34  5.34.0-5
ii  libperl5.34        5.34.0-5

-- 
Jakub Wilk

[toc] | [next] | [standalone]


#1121312

FromRuss Allbery <rra@debian.org>
Date2022-10-18 02:00 +0200
Message-ID<FhIbw-eX4x-7@gated-at.bofh.it>
In reply to#1121299
Jakub Wilk <jwilk@jwilk.net> writes:

> Package: perl
> Version: 5.34.0-5

> pod2man misformats I<> inside C<>.

> For example, if you run:

>     printf '=head1 FOO\n\nC<Only I<foo> should be italicized, not the rest>!\n' | pod2man - | man -l -

> not only "foo" is italicized, but also everything up to the closing quote
> character.

Yeah, I'm moderately surprised that this went uncaught for this long (and
I think it may be a bug in groff, which if recently introduced may explain
that).  This was fixed by:

https://git.eyrie.org/?p=perl/podlators.git;a=commitdiff;h=a5cbfbaee05ebfc5eb30268521159a9df7fe2307

but the fix is not very trivial.  I have a few other major changes that I
need to finish and then can release podlators 5.00 and start the process
of getting this into Perl core.

-- 
Russ Allbery (rra@debian.org)              <https://www.eyrie.org/~eagle/>

[toc] | [prev] | [next] | [standalone]


#1121387

FromJakub Wilk <jwilk@jwilk.net>
Date2022-10-18 19:00 +0200
Message-ID<FhY6B-f6zM-13@gated-at.bofh.it>
In reply to#1121312
* Russ Allbery <rra@debian.org>, 2022-10-17 16:50:
>I'm moderately surprised that this went uncaught for this long

Me too.

>(and I think it may be a bug in groff, which if recently introduced may 
>explain that).

I don't think it's recent. I could reproduce this even in lenny.

-- 
Jakub Wilk

[toc] | [prev] | [next] | [standalone]


#1126436

FromRuss Allbery <rra@debian.org>
Date2022-11-26 18:20 +0100
Message-ID<Fw70l-6uIm-3@gated-at.bofh.it>
In reply to#1121299
Jakub Wilk <jwilk@jwilk.net> writes:

> pod2man misformats I<> inside C<>.

> For example, if you run:

>     printf '=head1 FOO\n\nC<Only I<foo> should be italicized, not the rest>!\n' | pod2man - | man -l -

> not only "foo" is italicized, but also everything up to the closing quote
> character.

This bug has been fixed in podlators 5.00, which was released yesterday.
Hopefully it should make its way into at least the next major upstream
version of Perl, if not the next patch release.  (5.00 has fairly
significant changes, so I'm not sure if it will be pulled in for patch
releases.)

-- 
Russ Allbery (rra@debian.org)              <https://www.eyrie.org/~eagle/>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web