Package: man2html
Version: 1.5p-3
Severity: normal
Tags: patch

A lot of escape sequences are missing from the man2html conversion, although
there are standard html entities available. As an example see the rsync
manpage which is partly difficult to read becaus man2html doesn't know the
\(lq and \(rq groff escape sequences.

The attached patch (against the latest sources in unstable) fixes the
problem.



-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.13
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages man2html depends on:
ii  debconf [debconf-2.0]       1.4.30.13    Debian configuration management sy
ii  debianutils                 2.8.4        Miscellaneous utilities specific t
ii  gawk                        1:3.1.4-2    GNU awk, a pattern scanning and pr
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  man-db                      2.4.2-21     The on-line manual pager

-- debconf information:
  man2html/index_manpages: true
diff -Nru3 ./man-1.6/man2html/strdefs.c ../build-tree.new/man-1.6/man2html/strdefs.c
--- ./man-1.6/man2html/strdefs.c	2005-06-21 03:29:59.000000000 +0200
+++ ../build-tree.new/man-1.6/man2html/strdefs.c	2005-11-09 12:34:28.000000000 +0100
@@ -95,6 +95,7 @@
     { V('b','v'), 1, "|", NULL  },
     { V('c','i'), 1, "o", NULL  }, 	/* circle */
     { V('c','o'), 1, "©", NULL  },
+    { V('c','q'), 1, "'", NULL },
     { V('c','t'), 1, "¢", NULL  },
     { V('d','e'), 1, "°", NULL  },
     { V('d','g'), 1, "+", NULL  }, 	/* dagger */
@@ -114,9 +115,11 @@
     { V('i','s'), 8, "Integral", NULL }, /* integral sign */
     { V('l','f'), 2, "|_", NULL  },
     { V('l','k'), 1, "<FONT SIZE=\"+2\">{</FONT>", NULL  },
+    { V('l','q'), 1, "\"", NULL },
     { V('m','i'), 1, "-", NULL  },
     { V('m','u'), 1, "&#215;", NULL  },
     { V('n','o'), 1, "&#172;", NULL  },
+    { V('o','q'), 1, "'", NULL },
     { V('o','r'), 1, "|", NULL  },
     { V('p','d'), 1, "d", NULL }, 	/* partial derivative */
     { V('p','l'), 1, "+", NULL  },
@@ -125,6 +128,7 @@
     { V('r','g'), 1, "&#174;", NULL  },
     { V('r','k'), 1, "<FONT SIZE=\"+2\">}</FONT>", NULL  },
     { V('r','n'), 1, "&#175;", NULL  },
+    { V('r','q'), 1, "\"", NULL },
     { V('r','u'), 1, "_", NULL  },
     { V('s','c'), 1, "&#167;", NULL  },
     { V('s','l'), 1, "/", NULL  },

Reply via email to