summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2019-04-04 11:56:22 +0200
committerWerner Koch <wk@gnupg.org>2019-04-04 11:56:22 +0200
commit86cb22ad3b7ae8121d92725bccf7301fd98655fc (patch)
tree499ead495434058a18e28516c65e1b51f9b0c284
parentce9f054b0ba19f66f86def2a9384410117721301 (diff)
downloadlibgpg-error-86cb22ad3b7ae8121d92725bccf7301fd98655fc.tar.gz
yat2m: Change style for @samp and add @kbd.
-- Also a few comment typo fixes.
-rw-r--r--doc/yat2m.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/yat2m.c b/doc/yat2m.c
index 3c7b363..a6a74c9 100644
--- a/doc/yat2m.c
+++ b/doc/yat2m.c
@@ -49,7 +49,7 @@
.B whateever you want
@end ifset
- alternativly a special comment may be used:
+ alternatively a special comment may be used:
@c man:.B whatever you want
@@ -705,7 +705,7 @@ write_th (FILE *fp)
/* Process the texinfo command COMMAND (without the leading @) and
- write output if needed to FP. REST is the remainer of the line
+ write output if needed to FP. REST is the remainder of the line
which should either point to an opening brace or to a white space.
The function returns the number of characters already processed
from REST. LEN is the usable length of REST. TABLE_LEVEL is used to
@@ -725,7 +725,8 @@ proc_texi_cmd (FILE *fp, const char *command, const char *rest, size_t len,
{ "url", 0, "\\fB", "\\fR" },
{ "sc", 0, "\\fB", "\\fR" },
{ "var", 0, "\\fI", "\\fR" },
- { "samp", 0, "\\(aq", "\\(aq" },
+ { "samp", 0, "\\(oq", "\\(cq" },
+ { "kbd", 0, "\\(oq", "\\(cq" },
{ "file", 0, "\\(oq\\fI","\\fR\\(cq" },
{ "env", 0, "\\(oq\\fI","\\fR\\(cq" },
{ "acronym", 0 },