Your message dated Mon, 24 Mar 2014 12:03:31 +0000
with message-id <[email protected]>
and subject line Bug#742289: fixed in help2man 1.45.1
has caused the Debian Bug report #742289,
regarding help2man: Adding missing italic correction
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
742289: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742289
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: help2man
Version: 1.44.1
Severity: minor
Tags: patch

Dear Maintainer,

   * What led up to the situation?

  Reading a resulting output (man page)

   * What was the outcome of this action?

  Noticed that an italic correction was missing before \fI (\,) and before
(or after) the change from that font (\/).

  Patch:

--- help2man    2014-02-02 04:12:42.000000000 +0000
+++ help2man.new        2014-03-21 17:10:57.000000000 +0000
@@ -388,13 +388,15 @@ if ($help_text =~ s/^($PAT_USAGE):( +(\S
        s/^(\S+) *//;
        $synopsis .= ".B $1\n";
        s/\s+$//;
-       s/(([][]|\.\.+)+)/\\fR$1\\fI/g;
+       s!(([][]|\.\.+)+)!\\/\\fR$1\\,\\fI!g;
        s/^/\\fI/ unless s/^\\fR//;
-       $_ .= '\fR';
+       $_ .= '\/\fR';
        s/(\\fI)( *)/$2$1/g;
-       s/\\fI\\fR//g;
+       s!\\fI\\/\\fR!!g;
        s/^\\fR//;
        s/\\fI$//;
+       s!\\/(\\fR)$!$1!;
+       s/\\, / /g;
        s/^\./\\&./;
 
        $synopsis .= "$_\n";
@@ -591,7 +593,7 @@ while (length)
                    (?:/\w(?:[\w.-]*\w)?)+      # path components
                )
                ($|[ ,;.)])                     # space/punctuation after
-           !$1\\fI$2\\fP$3!xmg;
+           !$1\\,\\fI$2\\/\\fP$3!xmg;
        }
 
        # Escape remaining hyphens.
@@ -746,11 +748,18 @@ sub convert_option
     local $_ = '\fB' . shift;
 
     s/-/\x83/g;
-    unless (s/\[=(.*)\]$/\\fR[=\\fI$1\\fR]/)
+    unless (s!\[=(.*)\]$!\\fR[=\\,\\fI$1\\/\\fR]!)
     {
-       s/=(.)/\\fR=\\fI$1/;
+       s!=(.)!\\fR=\\,\\fI$1!;
        s/ (.)/ \\fI$1/;
-       $_ .= '\fR';
+       if ($_ =~ /\\fI/)
+       {
+           $_ .= '\/\fR';
+       }
+       else
+       {
+           $_ .= '\fR';
+       }
     }
 
     $_;


-- System Information:
Debian Release: jessie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'testing'), (500, 'stable')
Architecture: i386 (i586)

Kernel: Linux 3.2.53-rt75-1
Locale: LANG=is_IS, LC_CTYPE=is_IS (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages help2man depends on:
ii  dpkg                    1.17.6
ii  install-info            5.2.0.dfsg.1-2
ii  libc6                   2.17-97
ii  liblocale-gettext-perl  1.05-7+b2
ii  perl                    5.18.2-2

help2man recommends no packages.

help2man suggests no packages.

-- no debconf information

-- 
Bjarni I. Gislason

--- End Message ---
--- Begin Message ---
Source: help2man
Source-Version: 1.45.1

We believe that the bug you reported is fixed in the latest version of
help2man, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Brendan O'Dea <[email protected]> (supplier of updated help2man package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 24 Mar 2014 21:45:24 +1100
Source: help2man
Binary: help2man
Architecture: source i386
Version: 1.45.1
Distribution: unstable
Urgency: low
Maintainer: Brendan O'Dea <[email protected]>
Changed-By: Brendan O'Dea <[email protected]>
Description: 
 help2man   - Automatic manpage generator
Closes: 742289
Changes: 
 help2man (1.45.1) unstable; urgency=low
 .
   * Skip additional blank lines following sections, and provide an
     explicit method of adding sections (thanks to Mischa Williamson).
   * Improve handling of tagged paragraphs when the body is on a following
     line (thanks to Brian Campbell).
   * Add escapes to adjust spacing of italic text at roman/italic
     boundaries (thanks to Bjarni Ingi Gislason, closes: #742289)
Checksums-Sha1: 
 a7f64eec7c25c5995ef2aa408e11f65c4fecea9c 1569 help2man_1.45.1.dsc
 9c52a29a1612a19dfec11f3dd9eb4bbf72e87f7f 124236 help2man_1.45.1.tar.xz
 8e568a29434a5f632bd5916475a33c2029d2baa2 95720 help2man_1.45.1_i386.deb
Checksums-Sha256: 
 005d3ffed30486f3a8e423b5426cebe0b53e898bfa5e933dcfc283bb12b66bcf 1569 
help2man_1.45.1.dsc
 c70fc791e6d13240327955de355244371b00bb1c9e247d5693ed601b716467c2 124236 
help2man_1.45.1.tar.xz
 2217674537b72452b9563b20ab9a39b7c710df40f2de13bca45da71133bc1217 95720 
help2man_1.45.1_i386.deb
Files: 
 dc49e38a2621facd3499239f5b1f356d 1569 devel optional help2man_1.45.1.dsc
 8a8a5314284e46185e492756afdca29a 124236 devel optional help2man_1.45.1.tar.xz
 01a390d641620cb8ac2875e2ef1bf3b7 95720 devel optional help2man_1.45.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTMBpvAAoJEBx8Qe3r3btgKMYQAIqWyv6bbt2rCk9vOLNFeBhn
q+0nnhRkm4nJYsOJ4zIAkqdlQ/oN7zZaI8XF/pLO6See9WIx95tYeDKrJyckx3je
xEAZS+QQqhoucDnDWusMJVnkB1+r++dYpsLCqPsloHAs6PGYuG5N0buE9ddUO+cm
4ikTxz5o4jOL/ONNqSvMxic49p43W5E8FPmdcZoqb6nOV4PWrlorneswiQHQacuI
0B4rN+kjapT9vczH/o0ldeWpHIKZlmrTwCHDPCREMVBqo2+Cv8Q44TEfZYY1emiG
G4L2O9UKLPVQnfRtmrR7rR3/uDaPBAYV5bL8HWc6aUESAkxOOEKQvVHyoPjGh7tH
qPF+8ZdurBIXvc9b1QjNB29I/1ZwlEfNNu7mHKv2cRG5C6uZ7cQMACFth93tEmkW
HCZ3LSmuEouabwP1yNlXxoUrWG0Nqin+bdKy3TQuHVjyltdgfxW7J0bD1N3Kt4WC
Lr1vDsPc1UQYZ1fMLUsxvCV+7xOinwlixUWWIkGqEthaPMitnLhfvaYZDGKPkGNv
ffBBPVi17OfVmZwC4giSt3OzVGfyGmCfGFO+lHcjpnQ6ZTNEuM+PBL+m1nUILa3B
Fs5Pz4TN9UYYE+UNSbxK/koMdmZ+ynPNdLDozD8cHIK54zmz2mhE22b/JvVvewb3
ITSldc6s6GhpABXStKRl
=FXxm
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to