=head3 and =head4 support plus a few bug fixes.

=head1 Blah C<blah> blah

should now work correctly even if quotes are set to "" (before, the quotes
were confusing some nroff macros), and

=head2 Blah B<blah> blah

should manage not to set the font back to non-bold for the last blah by
using \fP (unfortuately, Solaris 2.6 at least has a major bug in its
handling of \fP so this was more complicated than I'd hoped it would be).
This also includes the previously posted pod2man diff.

The URL

    ftp://ftp.eyrie.org/pub/software/modules/podlators-1.05.tar.gz

has entered CPAN as

  file: $CPAN/authors/id/R/RR/RRA/podlators-1.05.tar.gz
  size: 41643 bytes
   md5: ecf3f2957fae25e75d1f9e914be4d28d

2000-11-18  Russ Allbery  <[EMAIL PROTECTED]>

        * VERSION: podlators 1.05 released.

        * scripts/pod2man.PL: Allow pod2man to take multiple pairs of
        input and output files on the command line to decrease the time
        that it takes to process all of Perl's documentation.

        * lib/Pod/Man.pm (textmapfonts): New function, like mapfonts but
        without the last change to work around a Solaris 2.6 nroff bug.
        (textblock): Use textmapfonts instead of mapfonts.
        (cmd_head4): Likewise.
        (cmd_item): Likewise.

        * lib/Pod/Man.pm (switchquotes): Turned into a method rather than
        a static function.  Switch \*C` and \*C' sequences from C<> as
        well as literal double-quotes if the quote character contains
        double quotes.  Not doing this was causing weird output on some
        systems in some circumstances.
        (cmd_head1): Call of switchquotes changed.
        (cmd_head2): Likewise.
        (cmd_item): Likewise.

        * lib/Pod/Man.pm (mapfonts): Use \fP to switch back to the default
        font rather than changing back to \fR so that font changes work
        correctly in headings using a different font.  Sprinkle \fP
        through all font changes so that the default font is always the
        "previous" font so that the above works.

        * lib/Pod/Man.pm (cmd_head3): New function.
        (cmd_head4): New function.
        * lib/Pod/Text.pm: (cmd_head3): New function.
        (cmd_head4): New function.

        * lib/Pod/Text.pm (initialize): Change the default quote character
        for C<> to be double quotes rather than matched left/right single
        quotes.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>

Reply via email to