bug-texinfo
[Top][All Lists]
Advanced

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

Re: backslashes, macros, indexes, texinfo


From: David Kastrup
Subject: Re: backslashes, macros, indexes, texinfo
Date: Mon, 10 Aug 2015 22:11:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Gavin Smith <address@hidden> writes:

> 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.


Aaaaaand now we proceed until getting to the German translations.

./notation/repeats.texi:281: Missing @endcsname inserted.
<to be read again> 
                   @accent 
<argument> @empty Ein address@hidden 
                                  "7F a}tzliches System erscheint
@trim@@@ #1  address@hidden>#1
                    
@xrefX address@hidden @Xthisreftitle @csname XR#1
                                                  address@hidden address@hidden
l.2 ... erscheint},,,usage.de,Anwendungsbenutzung}
                                                  @empty
@scanmacro ...spaceisspace @scantokens address@hidden }
                                                  @endgroup 
...
l.281 ...ram{Ein zusätzliches System erscheint}.}
                                                  
? 
./notation/repeats.texi:281: Emergency stop.
<to be read again> 
                   @accent 
<argument> @empty Ein address@hidden 
                                  "7F a}tzliches System erscheint
@trim@@@ #1  address@hidden>#1
                    
@xrefX address@hidden @Xthisreftitle @csname XR#1
                                                  address@hidden address@hidden
l.2 ... erscheint},,,usage.de,Anwendungsbenutzung}
                                                  @empty
@scanmacro ...spaceisspace @scantokens address@hidden }
                                                  @endgroup 
...
l.281 ...ram{Ein zusätzliches System erscheint}.}
                                                  
./notation/repeats.texi:281:  ==> Fatal error occurred, no output PDF file prod
uced!
Transcript written on notation.log.
/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.

This would be Documentation/de/out-www/notation/repeats.texi, with the
construct

@warning{Wenn man @address@hidden innerhalb von @address@hidden
notiert, ohne den @code{Voice}-Kontext explizit zu beginnen, erscheinen
zusätzliche (ungewollte) Systeme.  Sie auch @rprogram{Ein zusätzliches System 
erscheint}.}

With the definitions

@macro warning{TEXT}
@quotation
@quotation
@cartouche
@b{Note:} \TEXT\
@end cartouche
@end quotation
@end quotation
@end macro

and (I think)

@macro rprogram{TEXT}
@vindex \TEXT\
@ref{\TEXT\,,,usage,Application Usage}
@end macro

-- 
David Kastrup



reply via email to

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