[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Macros in @deffn
From: |
Akim Demaille |
Subject: |
Macros in @deffn |
Date: |
Tue, 20 Apr 2004 17:48:28 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
[Sorry for the delays, I have suffered sysadmin issues.]
1BFxU5-0005C8-39-D
For some reason, the following macro @acro cannot be used in @deffn,
while its expansion is. Worse yet: I'm using texi2dvi -e, and it
still fails, which means that the expansion is not properly made by
makeinfo?
src/texinfo/test-cases % eof acro.texi nostromo 17:46
: -------------------- acro.texi ----------------------
cat > acro.texi << \EOF
\input texinfo @c -*-texinfo-*-
@setfilename acro.info
@ifnottex
@node Top
@top TITLE
@end ifnottex
@c @acro{TEXT}
@c ===========
@c A combination of @acronym, and @sc.
@macro acro{text}
@address@hidden
@end macro
@syncodeindex fn cp
@deffn {Web site} address@hidden@sc{stl}} Home}
Foo
@end deffn
@deffn {Web site} address@hidden Home}
Bar
@end deffn
@printindex cp
@bye
EOF
: ------------------------------------------------------------
src/texinfo/test-cases % makeinfo --plain acro.texi nostromo 17:47
TITLE
*****
-- Web site: STL Home
Foo
-- Web site: STL2 Home
Bar
acro.texi:26: avertissement: address@hidden cp' omitted since writing to stdout.
src/texinfo/test-cases % texi2dvi acro.texi nostromo 17:47
This is e-TeXk, Version 3.14159-2.1 (Web2C 7.4.5)
file:line:error style messages enabled.
entering extended mode
(/home/akim/src/texinfo/test-cases/acro.texi
(/usr/local/share/texmf/tex/texinfo.tex
Loading texinfo [version 2004-04-07.08]: Basics, pdf, fonts, page headings,
tables, conditionals, indexing, sectioning, toc, environments, defuns, macros,
cross references, insertions, (/usr/share/texmf/tex/generic/dvips/epsf.tex)
localization, and turning on texinfo input format.) (./acro.aux) (./acro.cps)
Runaway argument?
{\} \entry {\code {\acro {stl2} Home}}{1} \initial {S} \entry {\code \ETC.
/home/akim/src/texinfo/test-cases/acro.texi:26: File ended while scanning use o
f \initial
[1] )
(see the transcript file for additional information)
Output written on acro.dvi (1 page, 140 bytes).
Transcript written on acro.log.
/home/akim/bin/texi2dvi: etex exited with bad status, quitting.
/home/akim/bin/texi2dvi: see acro.log for errors.
Thanks!
- Macros in @deffn,
Akim Demaille <=