[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backslashes, macros, indexes, texinfo
From: |
Gavin Smith |
Subject: |
Re: backslashes, macros, indexes, texinfo |
Date: |
Mon, 10 Aug 2015 19:47:03 +0100 |
On 10 August 2015 at 18:07, David Kastrup <address@hidden> wrote:
>> Here's a change that I think's nicer, which does the expansion of the
>> active backslash earlier as an extra stage of expansion.
>
> Well, this is an interesting one...
>
> \entry{Tiny examples}{90}{\code {Tiny examples}}
> ] [91]
> /usr/local/tmp/lilypond/Documentation/contributor/issues.itexi:275: Undefined
> c
> ontrol sequence.
> <argument> @empty address@hidden @voidb
> @x @penalty @tiepenalty @
> address@hidden
>
> l.275 @qq{Simple tasks -- Documentation}
> on:
> ?
> /usr/local/tmp/lilypond/Documentation/contributor/issues.itexi:275: Emergency
> s
> top.
> With the definition
>
> @macro qq{TEXT}
> @address@hidden
> @end macro
I didn't reproduce this at first. I had downloaded the LilyPond
sources a couple of days ago, although couldn't build the
documentation because of numerous missing dependencies. I thought I'd
have a look at the source and found that the macro use was in an
@example environment. Trying this, I got the same error.
Tracing the macros gives this:
@arg ->Simple address@hidden
->@leavevmode @penalty @tiepenalty @
The space itself is being expanded. Since space was \let equal to \tie
with \sepspaces when \example was opened, the space is expanding to
the definition of \tie.
Adding an extra line
\catcode`\ =\other
eliminates this expansion.
macroargbs-no-active-space.diff
Description: Text document
quotedblleft.texi
Description: TeXInfo document
- Re: backslashes, macros, indexes, texinfo, Gavin Smith, 2015/08/08
- Re: backslashes, macros, indexes, texinfo, David Kastrup, 2015/08/08
- Re: backslashes, macros, indexes, texinfo, Gavin Smith, 2015/08/08
- Re: backslashes, macros, indexes, texinfo, Gavin Smith, 2015/08/08
- Re: backslashes, macros, indexes, texinfo, Gavin Smith, 2015/08/09
- Re: backslashes, macros, indexes, texinfo, David Kastrup, 2015/08/10
- Re: backslashes, macros, indexes, texinfo,
Gavin Smith <=
- Re: backslashes, macros, indexes, texinfo, David Kastrup, 2015/08/10
- Re: backslashes, macros, indexes, texinfo, David Kastrup, 2015/08/10
- Re: backslashes, macros, indexes, texinfo, Gavin Smith, 2015/08/11
- Re: backslashes, macros, indexes, texinfo, Gavin Smith, 2015/08/12
- Re: backslashes, macros, indexes, texinfo, David Kastrup, 2015/08/15
- Re: backslashes, macros, indexes, texinfo, Gavin Smith, 2015/08/15
- Re: backslashes, macros, indexes, texinfo, Gavin Smith, 2015/08/16
- Re: backslashes, macros, indexes, texinfo, David Kastrup, 2015/08/16
- Re: backslashes, macros, indexes, texinfo, David Kastrup, 2015/08/17
- Re: backslashes, macros, indexes, texinfo, Gavin Smith, 2015/08/17
- Prev by Date:
Re: backslashes, macros, indexes, texinfo
- Next by Date:
Re: backslashes, macros, indexes, texinfo
- Previous by thread:
Re: backslashes, macros, indexes, texinfo
- Next by thread:
Re: backslashes, macros, indexes, texinfo
- Index(es):