1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-03-27 22:39:59 +01:00

Yet another minor yat2m fix.

This commit is contained in:
Werner Koch 2008-04-02 08:48:08 +00:00
parent 6760519194
commit ec9309bd9e
3 changed files with 8 additions and 7 deletions

@ -1,7 +1,10 @@
2008-04-02 Werner Koch <wk@g10code.com> 2008-04-02 Werner Koch <wk@g10code.com>
* opt-homedir.texi: Remove special case for Registry key.
* yat2m.c (proc_texi_cmd): Use the \(aq glyph for @samp. This is * yat2m.c (proc_texi_cmd): Use the \(aq glyph for @samp. This is
bug#898. bug#898.
(proc_texi_buffer): Handle backslashs correctly.
2007-12-21 Werner Koch <wk@g10code.com> 2007-12-21 Werner Koch <wk@g10code.com>

@ -6,9 +6,5 @@ used, the home directory defaults to @file{~/.gnupg}. It is only
recognized when given on the command line. It also overrides any home recognized when given on the command line. It also overrides any home
directory stated through the environment variable @env{GNUPGHOME} or directory stated through the environment variable @env{GNUPGHOME} or
(on W32 systems) by means on the Registry entry (on W32 systems) by means on the Registry entry
@ifset isman
@var{HKCU\\Software\\GNU\\GnuPG:HomeDir}.
@end ifset
@ifclear isman
@var{HKCU\Software\GNU\GnuPG:HomeDir}. @var{HKCU\Software\GNU\GnuPG:HomeDir}.
@end ifclear

@ -42,7 +42,7 @@
the next input line if that line begins with @section, @subsection or the next input line if that line begins with @section, @subsection or
@chapheading. @chapheading.
To insert verbatim troff markup, the follwing texinfo code may be To insert verbatim troff markup, the following texinfo code may be
used: used:
@ifset manverb @ifset manverb
@ -675,6 +675,8 @@ proc_texi_buffer (FILE *fp, const char *line, size_t len,
} }
*eol_action = 0; *eol_action = 0;
} }
else if (*s == '\\')
fputs ("\\\\", fp);
else else
putc (*s, fp); putc (*s, fp);
} }
@ -842,7 +844,7 @@ parse_file (const char *fname, FILE *fp, char **section_name, int in_pause)
{ {
char *line; char *line;
int lnr = 0; int lnr = 0;
/* Fixme: The follwing state variables don't carry over to include /* Fixme: The following state variables don't carry over to include
files. */ files. */
int in_verbatim = 0; int in_verbatim = 0;
int skip_to_end = 0; /* Used to skip over menu entries. */ int skip_to_end = 0; /* Used to skip over menu entries. */