[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/


@ifset/@ifclear works differently than other conditionnals.
Indeed the following lead to an error about @end unmatched:

  @end iftex
  @end iftex


  @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 

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.


Attachment: texinfo.txi-ifset_nested.diff
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]