aboutsummaryrefslogtreecommitdiffstats
path: root/doc/yat2m.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2006-09-08 17:02:06 +0000
committerWerner Koch <[email protected]>2006-09-08 17:02:06 +0000
commit90af581b083af08f33a8eca73c4607ce43701b66 (patch)
tree5dc5623f85466f3dfc7ca6d5a06bde67f5bb9cd2 /doc/yat2m.c
parentLet scdaemon call a script on status changes (diff)
downloadgnupg-90af581b083af08f33a8eca73c4607ce43701b66.tar.gz
gnupg-90af581b083af08f33a8eca73c4607ce43701b66.zip
doc fixes
Diffstat (limited to 'doc/yat2m.c')
-rw-r--r--doc/yat2m.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/doc/yat2m.c b/doc/yat2m.c
index c47e2fe37..266107c1d 100644
--- a/doc/yat2m.c
+++ b/doc/yat2m.c
@@ -456,7 +456,6 @@ proc_texi_cmd (FILE *fp, const char *command, const char *rest, size_t len,
{ "opindex", 1 },
{ "cpindex", 1 },
{ "cindex", 1 },
- { "node", 1 },
{ "noindent", 0 },
{ "section", 1 },
{ "chapter", 1 },
@@ -465,6 +464,8 @@ proc_texi_cmd (FILE *fp, const char *command, const char *rest, size_t len,
{ "item", 2, ".TP\n.B " },
{ "itemx", 2, ".TP\n.B " },
{ "table", 3 },
+ { "itemize", 3 },
+ { "bullet", 0, "* " },
{ "end", 4 },
{ "quotation",1, ".RS\n\\fB" },
{ "ifset", 1 },
@@ -523,11 +524,6 @@ proc_texi_cmd (FILE *fp, const char *command, const char *rest, size_t len,
{
fputs ("\\fR\n.RE\n", fp);
}
- else if (n >= 5 && !memcmp (s, "ifset", 5)
- && (!n || s[5] == ' ' || s[5] == '\t' || s[5] == '\n'))
- {
- fputs ("\\fR\n.RE\n", fp);
- }
/* Now throw away the entire line. */
s = memchr (rest, '\n', len);
return s? (s-rest)+1 : len;
@@ -832,6 +828,14 @@ parse_file (const char *fname, FILE *fp, char **section_name, int in_pause)
}
line[--n] = 0;
+ if (n >= 5 && !memcmp (line, "@node", 5)
+ && (line[5]==' '||line[5]=='\t'||!line[5]))
+ {
+ /* Completey ignore @node lines. */
+ continue;
+ }
+
+
if (skip_sect_line)
{
skip_sect_line = 0;