[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: [perl #53974] pod2man nroff =head2 with two C<> blocks



On Sat, May 10, 2008 at 7:51 PM, via RT Kevin Ryde
<perlbug-followup@perl.org> wrote:
> # New Ticket Created by  Kevin Ryde
> # Please include the string:  [perl #53974]
> # in the subject line of all future correspondence about this issue.
> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=53974 >
>
>
> The file foo.pod below processed with
>
>        pod2man foo.pod | man -l -
>
> produces only half the heading line in bold
>
>        "one" and "two"
>        ^^^^^ ^^^^^^^^^
>        |     |
>        bold   \ not bold
>
> the roff which comes out is
>
>        .ie n .Sh """one""\fP and \f(CW""two"""
>
> and I guess the \fP is turning off the bold set in .Sh.
>
> I wonder if the mangling regexps in switchquotes() of Man.pm should be
> non-greedy, per below.  Unless that would hurt nested fontification even
> worse or something ...
>
>

The attached patch was applied with the upgrade to podlators-2.1.0 in
change #33987.

Thanks,

Steve Peters
steve@fisharerojo.org


[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]