On Mon, May 23, 2005 at 06:36:55PM +0200, martin f krafft wrote:
> Why PDF? Can't you just make HTML documentation from the XML and be
> done with it?

This patch disables generation of the PDF documentation, leaving plain
text and HTML. This is a stopgap fix, but three different formats is
rather superfluous anyway.
--- texinfo2man.c       2005-05-23 15:44:25.000000000 +0200
+++ texinfo2man.pdw.c   2005-05-23 16:56:02.000000000 +0200
@@ -143,13 +143,23 @@
        printf (" .");
       return;
     }
+  if (c == '\'')
+    {
+      printf("\\(cq");
+      return;
+    }
+  if (c == '`')
+    {
+      printf("\\(oq");
+      return;
+    }
   if (no_break && c == '\n')
     c = ' ';
   if (no_break && c == ' ')
     putchar ('\\');
   if (to_upper)
     c = toupper (c);
-  if (c == '\'' || c == '`' || c == '\\')
+  if (c == '\\')
     putchar ('\\');
   putchar (c);
   at_start_of_line = at_start_of_line_for_dot = (c == '\n');

Reply via email to