bug-texinfo
[Top][All Lists]
Advanced

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

strange bug with macros


From: Dumas Patrice
Subject: strange bug with macros
Date: Tue, 26 Aug 2003 17:00:04 +0200
User-agent: Mutt/1.4.1i

Hi,

With makeinfo of texinfo-4.6.
Here is something which seems like a bug to me. If @rec is defined by:

@macro rec{arg}
@unmacro macro1
@macro macro1
new macro.
@end macro
rec \arg\.
@end macro

although the macro @macro1 seems to be defined, 

These work:
@address@hidden }
@address@hidden

This doesn't works:
@address@hidden

What doesn't work is that makeinfo complains that @macro1 is not defined:

$ makeinfo --force -E file.macros imbr_macro3.texi
imbr_macro3.texi:24: Unknown command `macro1.'.

The file file.macros gives a clue about what happens, indeed @macro1 isn't
expanded. Here is an excerpt of file.macros
===================================

These work:
rec new macro. .
rec new macro..

This doesn't works:
rec @macro1.

===================================
I attached the whole test file.

Pat

Attachment: imbr_macro3.texi
Description: TeXInfo document


reply via email to

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