New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pod2man loses =head2 starting ' or . #9320
Comments
From user42@zip.com.auThe file foo.pod below processed with pod2man foo.pod | man -l - produces Some text. Some text. where I hoped it would include the two =head2 lines as headings. I noticed this in the docs of Gtk2::Ex::DBI (from cpan) where the I think the troff generated by pod2man ends up with the heading text at pod2man foo.pod | groff -man >/dev/null giving <standard input>:140: warning: `destroy'' not defined (probable missing space after `de') I think pod2man's .Sh macro can avoid the problem with a \& zero-width Although .Sh has \fB as the start of the line, apparently troff, and Perl Info
|
From user42@zip.com.au=head2 'destroy' method Some text. =head2 .deb file handling Some text. |
From user42@zip.com.auMan.pm.diff--- Man.pm.old 2008-05-09 11:04:15.000000000 +1000
+++ Man.pm 2008-05-09 11:04:19.000000000 +1000
@@ -1312,7 +1312,7 @@
.if t .Sp
.ne 5
.PP
-\fB\\$1\fR
+\&\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
|
From p5p@spam.wizbit.beOn Thu May 08 18:08:42 2008, kryde wrote:
Thank you for your bug report and patch. If you have any further bug reports and/or patches with regards to Pod::Man is a dual-lived module meaning that it is both in the CORE and Your bug report and patch in the CPAN RT queue: http://rt.cpan.org/ Kind regards, Bram |
The RT System itself - Status changed from 'new' to 'open' |
p5p@spam.wizbit.be - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#53910 (status was 'resolved')
Searchable as RT53910$
The text was updated successfully, but these errors were encountered: