> Date: Sun, 28 Apr 2002 20:39:45 +0200 (CEST)
> From: Werner LEMBERG <[EMAIL PROTECTED]>
> 
> > > Using the --iftex option fails, of course:
> > 
> > Of course.  Did you try to use @tex instead of @iftex?
> 
> This doesn't help.

It doesn't?  What Texinfo source did you try, and what did makeinfo
moan about?  Your example, slightly modified below, works for me.

> Hmm, I now believe what I really need is this:
> 
>   @atom{foo}
> 
> After this command, makeinfo accepts @foo{...} as if it were a
> built-in command but ignoring it completely.

If by ``ignoring'' you mean that it should leave it alone in
macro-expanded source, then try this:

  @alias angles = r

or something similarly no-op'ish, like

  @alias angles = w

Here's an example that works for me with "makeinfo --iftex":

  \input texinfo

  @setfilename yyy

  @ifnottex
  @macro angles{text}
  <\text\>
  @end macro
  @end ifnottex

  @tex
  @macro angles{text}
  \\angleleft \text\ \\angleright
  @end macro
  @end tex

  This is a @angles{test}.

  @table @asis
  @item This is a @angles{test}.
  @end table

  @bye

_______________________________________________
Bug-texinfo mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-texinfo

Reply via email to