aboutsummaryrefslogtreecommitdiffstats
path: root/doc/yat2m.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2008-04-03 09:58:28 +0000
committerWerner Koch <[email protected]>2008-04-03 09:58:28 +0000
commitba63cfa79bc513408aecc6126c8afd957406089c (patch)
tree90bfef238decfbc25012148e6eebb9e3ab412419 /doc/yat2m.c
parentdisable DSA2 for old Libgcrypts. (diff)
downloadgnupg-ba63cfa79bc513408aecc6126c8afd957406089c.tar.gz
gnupg-ba63cfa79bc513408aecc6126c8afd957406089c.zip
Fixed last yat2m change.
Add a similar change to @file and @env.
Diffstat (limited to 'doc/yat2m.c')
-rw-r--r--doc/yat2m.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/yat2m.c b/doc/yat2m.c
index 587428fa0..34e489a01 100644
--- a/doc/yat2m.c
+++ b/doc/yat2m.c
@@ -449,9 +449,9 @@ proc_texi_cmd (FILE *fp, const char *command, const char *rest, size_t len,
{ "code", 0, "\\fB", "\\fR" },
{ "sc", 0, "\\fB", "\\fR" },
{ "var", 0, "\\fI", "\\fR" },
- { "samp", 0, "'", "'" },
- { "file", 0, "`\\fI","\\fR'" },
- { "env", 0, "`\\fI","\\fR'" },
+ { "samp", 0, "\\(aq", "\\(aq" },
+ { "file", 0, "\\(oq\\fI","\\fR\\(cq" },
+ { "env", 0, "\\(oq\\fI","\\fR\\(cq" },
{ "acronym", 0 },
{ "dfn", 0 },
{ "option", 0, "\\fB", "\\fR" },
@@ -675,6 +675,8 @@ proc_texi_buffer (FILE *fp, const char *line, size_t len,
}
*eol_action = 0;
}
+ else if (*s == '\\')
+ fputs ("\\\\", fp);
else
putc (*s, fp);
}