[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Make @ovar and @dvar usable outside @defmac
From: |
Ralf Wildenhues |
Subject: |
Make @ovar and @dvar usable outside @defmac |
Date: |
Sun, 6 Jul 2008 10:56:11 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Within @defmac lines, there is no problem with additional whitespace:
makeinfo removes that. However, @ovar and @dvar are useful outside
@defmac lines, too, even though the comment above the macro definitions
does not imply it. While they are not used like that in the Autoconf
manual (yet), I would like to reuse them in a couple of other manuals.
So I'm removing the trailing newline thusly.
Cheers,
Ralf
2008-07-06 Ralf Wildenhues <address@hidden>
* doc/autoconf.texi (@dvar): Remove trailing newline.
(@ovar): Likewise. Fix macro documentation.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index bc160e0..cdbe5e9 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -10,12 +10,12 @@
@end ifnothtml
@finalout
address@hidden @ovar(ARG, DEFAULT)
address@hidden -------------------
address@hidden @ovar(ARG)
address@hidden ----------
@c The ARG is an optional argument. To be used for macro arguments in
@c their documentation (@defmac).
@macro ovar{varname}
address@hidden@address@hidden
address@hidden@address@hidden@c
@end macro
@c @dvar(ARG, DEFAULT)
@@ -23,7 +23,7 @@
@c The ARG is an optional argument, defaulting to DEFAULT. To be used
@c for macro arguments in their documentation (@defmac).
@macro dvar{varname, default}
address@hidden@var{\varname\} = @address@hidden
address@hidden@var{\varname\} = @address@hidden@c
@end macro
@c Handling the indexes with Texinfo yields several different problems.
- Make @ovar and @dvar usable outside @defmac,
Ralf Wildenhues <=