[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Double hyphens in variable names.
From: |
Andreas Schwab |
Subject: |
Re: Double hyphens in variable names. |
Date: |
Thu, 02 Oct 2003 18:54:40 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) |
Lute Kamstra <address@hidden> writes:
> Luc Teirlinck <address@hidden> writes:
>
>> Still, even if it had worked, wouldn't it be best that the @defvr
>> macro treats multiple hyphens like @code does?
>>
>> Maybe, but what about
>>
>> @defvar address@hidden|--|}index-alist
>>
>> I had my suspicions about using space, even though it would be OK
>> according to the Texinfo manual, because LaTeX does _not_ allow space.
>
> Identical results:
>
> ! Undefined control sequence.
> \tabeightspaces ->\catcode `\^^I=\active \def ^^I
> {\ \ \ \ \ \ \ \ }
> \setupverb ...catcode `\`=\active \tabeightspaces
> \obeylines
> \uncatcodespeci...
>
> \verb ->\begingroup \setupverb
> \doverb
> <argument> imenu\verb
> {|--|}index-alist
> \code #1->#1
>
> \dosubind ...e \toks 0}\xdef \indexsorttmp {\temp
^^^^
This is the reason. It tries to fully expand macros, but \verb is
special (not protected, in LaTeX terms).
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Double hyphens in variable names., Lute Kamstra, 2003/10/02
- Re: Double hyphens in variable names., Eli Zaretskii, 2003/10/02
- Re: Double hyphens in variable names., Lute Kamstra, 2003/10/02
- Re: Double hyphens in variable names., Luc Teirlinck, 2003/10/02
- Re: Double hyphens in variable names., Lute Kamstra, 2003/10/02
- Re: Double hyphens in variable names., Luc Teirlinck, 2003/10/02
- Re: Double hyphens in variable names., Lute Kamstra, 2003/10/02
- Re: Double hyphens in variable names.,
Andreas Schwab <=
- Re: Double hyphens in variable names., Luc Teirlinck, 2003/10/02
- Re: Double hyphens in variable names., Luc Teirlinck, 2003/10/02
- Re: Double hyphens in variable names., Luc Teirlinck, 2003/10/02
- Re: Double hyphens in variable names., Luc Teirlinck, 2003/10/02
- Re: Double hyphens in variable names., Oliver Scholz, 2003/10/02
- Re: Double hyphens in variable names., Lute Kamstra, 2003/10/03
- Re: Double hyphens in variable names., Luc Teirlinck, 2003/10/03
- Re: Double hyphens in variable names., Lute Kamstra, 2003/10/03
- Re: Double hyphens in variable names., Luc Teirlinck, 2003/10/03
- Re: Double hyphens in variable names., Luc Teirlinck, 2003/10/03