bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: texinfo 6.0 texindex problem?


From: Gavin Smith
Subject: Re: texinfo 6.0 texindex problem?
Date: Fri, 9 Oct 2015 16:39:14 +0100

On 9 October 2015 at 08:06, Eli Zaretskii <address@hidden> wrote:
> So perhaps we should introduce a facility for such tests, and
> preferably in a way that is itself backward-compatible, e.g., testable
> with @ifset or some such.

It already exists. See (texinfo)Testing for Texinfo Commands:

============
  These command-checking conditionals themselves were added in
Texinfo 5.0, released in 2013--decades after Texinfo's inception.  In
order to test if they themselves are available, the predefined flag
'txicommandconditionals' can be tested, like this:

     @ifset txicommandconditionals
     @ifcommandnotdefined foobarnode
     (Good, '@foobarnode' is not defined.)
     @end ifcommandnotdefined
     @end ifset

  Since flags (see the previous section) were added early in the
existence of Texinfo, there is no problem with assuming they are
available.
==============



reply via email to

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