[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ifset documentation
From: |
Patrice Dumas |
Subject: |
ifset documentation |
Date: |
Wed, 17 Aug 2005 22:30:37 +0200 |
User-agent: |
Mutt/1.4.2.1i |
Hi,
@ifset/@ifclear works differently than other conditionnals.
Indeed the following lead to an error about @end unmatched:
@iftex
@iftex
@end iftex
@end iftex
whereas
@ifset my_var1
@ifset my_var2
@end ifset
@end ifset
don't trigger an error. It's understandable, however as it should be possible
to set my_var1 and still have valid texinfo. This difference is documented,
not in the brief description, but in the ifset ifclear @node:
When a FLAG is set, the Texinfo formatting commands format
text between subsequent pairs of address@hidden FLAG' and address@hidden
ifset'
commands.
I think the important word is pair here. I think it should be stated a bit
more precisely, ,in the summary and with an example. So I did a patch for
texinfo.txi, that I attached. Don't take it too seriously, if you have other
ideas they are likely to be better, but I think a precision is in order.
--
Pat
texinfo.txi-ifset_nested.diff
Description: Text document
- ifset documentation,
Patrice Dumas <=