[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: makeinfo 4.0: does not expand macros in @item?
From: |
Akim Demaille |
Subject: |
Re: makeinfo 4.0: does not expand macros in @item? |
Date: |
11 Nov 2001 20:31:02 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence) |
>>>>> "Eli" == Eli Zaretskii <address@hidden> writes:
Eli> My suggestion should work with "makeinfo -E".
!!!
I don't understand, its works fine now:
\input texinfo.tex
@macro ystack{Index, Stack, Input}
@item @tab \Index\. @tab @code{|- \Stack\ -|} @tab @code{\Input\}
@end macro
@multitable @columnfractions .10 .10 .30 .50
@item @tab 1. @tab @code{|- -|} @tab @code{( ( number )
)}
@item @tab 2. @tab @code{|- ( -|} @tab @code{( number ) )}
@item @tab 3. @tab @code{|- ( ( -|} @tab @code{number ) )}
@item @tab 4. @tab @code{|- ( ( number -|} @tab @code{) )}
@end multitable
@multitable @columnfractions .10 .10 .30 .50
@ystack{1, , ( ( number ) )}
@ystack{2, ( , ( number ) )}
@ystack{3, ( ( , number ) )}
@ystack{4, ( ( number, ) )}
@end multitable
@bye
which was my original try though :( I guess I first tried to expand
my macro before hitting the makeinfo limitation I was referring to.
Texinfo does not like it:
This is TeX, Version 3.14159 (Web2C 7.3.1)
(/tmp/sample.texi (texinfo.tex Loading texinfo [version
2001-07-25.07]:
Basics, pdf, fonts, page headings, tables, conditionals, indexing,
sectioning,
toc, environments, defuns, macros, cross references,
(/home/akim/tex/sty/epsf.tex) localization,
and turning on texinfo input format.) (sample.tmp
! Extra }, or forgotten @endgroup.
<template> @unskip @multistrut }
@endtemplate
l.1 @item
@tab @xeatspaces {1}. @tab @code{|- @xeatspaces { } -|} @tab
@code...
?
Thanks!