doc: Fix regression in macro handling

--

The way macros are handled seem to have changed since 2008.  Fix that:

Reported-by: dkg@fifthhorseman.net
Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2016-11-11 15:10:57 +01:00
parent 41d8c7e51a
commit 05775b5248
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 19 additions and 19 deletions

View File

@ -31,11 +31,11 @@ General Public License for more details.
@end copying @end copying
@c Macros used by the description of the UI server protocol @c Macros used by the description of the UI server protocol
@macro clnt @macro clnt{string}
@sc{c:} @c @sc{c:} \string\
@end macro @end macro
@macro srvr @macro srvr{string}
@sc{s:} @c @sc{s:} \string\
@end macro @end macro

View File

@ -158,21 +158,21 @@ indicated by a @sc{c:}, server responses by @sc{c:}:
@smallexample @smallexample
@group @group
@clnt RESET @clnt{RESET}
@srvr OK @srvr{OK}
@clnt RECIPIENT foo@@example.net @clnt{RECIPIENT foo@@example.net}
@srvr OK @srvr{OK}
@clnt RECIPIENT bar@@example.com @clnt{RECIPIENT bar@@example.com}
@srvr OK @srvr{OK}
@clnt PREP_ENCRYPT @clnt{PREP_ENCRYPT}
@srvr S PROTOCOL OpenPGP @srvr{S PROTOCOL OpenPGP}
@srvr OK @srvr{OK}
@clnt INPUT FD=17 @clnt{INPUT FD=17}
@srvr OK @srvr{OK}
@clnt OUTPUT FD=18 @clnt{OUTPUT FD=18}
@srvr OK @srvr{OK}
@clnt ENCRYPT @clnt{ENCRYPT}
@srvr OK @srvr{OK}
@end group @end group
@end smallexample @end smallexample