bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: texinfo2man still unfixed regarding quotes


From: david
Subject: Re: texinfo2man still unfixed regarding quotes
Date: Sat, 05 Apr 2008 10:43:35 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080226)


Thanks for the 2 updates to texinfo2man. I'll fix then for 2.2.11.
Also the readme fault.


Santiago Vila wrote:
The debian version of indent has this patch applied to texinfo2man.c.

The rationale for this is in http://bugs.debian.org/132399

diff -r -u -P indent-2.2.9.orig/man/texinfo2man.c indent-2.2.9/man/texinfo2man.c
--- indent-2.2.9.orig/man/texinfo2man.c 2007-04-29 14:36:54.369651636 +0200
+++ indent-2.2.9/man/texinfo2man.c      2007-04-29 14:36:56.772481074 +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');

Thanks.


_______________________________________________
bug-indent mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-indent







reply via email to

[Prev in Thread] Current Thread [Next in Thread]