help-texinfo
[Top][All Lists]
Advanced

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

Re: [help-texinfo] @cindex \command


From: Jan Nieuwenhuizen
Subject: Re: [help-texinfo] @cindex \command
Date: Mon, 11 Oct 2004 21:14:24 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Karl Berry writes:

Hi Karl,

> Are you saying that Texinfo needs a @backslash{} command?  If so, does
> \\ work in that context?  Or is something else going wrong?

Consider this file, if you remove the @ignore block, texi2dvi does not
compile.  Same for \\WHAT.


\input texinfo  @c -*-texinfo-*-
@settitle x
@setfilename x.info

@ignore 
@macro refcommand{WHAT}
@cindex @code{\\\WHAT\}
@code{\WHAT\}, 
@end macro

The @refcommand{paper} block has been renamed.

@end ignore

Bla bla
@cindex \bla
@cindex @code{\blabla}
bla bla

@node Unified index
@appendix Unified index

@printindex cp

@bye

> Personally, as you know, I'd recommend dropping the macro and just
> writing the index commands in the document, but I doubt you like that
> idea.

Not really.  We have a lot of commands in the @address@hidden
@code{\manual} manual and maybe you need newlines too :-)

Jan.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

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