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
@c Macros used by the description of the UI server protocol
@macro clnt
@sc{c:} @c
@macro clnt{string}
@sc{c:} \string\
@end macro
@macro srvr
@sc{s:} @c
@macro srvr{string}
@sc{s:} \string\
@end macro

View File

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