bug-lilypond
[Top][All Lists]
Advanced

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

Re: missing backslash before Program Files in http://www.lilypond.org/wi


From: Frédéric Bron
Subject: Re: missing backslash before Program Files in http://www.lilypond.org/windows.html
Date: Sun, 19 Jun 2011 11:08:02 +0200

> I suppose that a short-term solution would be to simply push the
> @bs{} patch.  It feels a bit icky, but that's hardly the "ickiest"
> part of lilypond development.  And it's inconsistent to kick up a
> fuss now when some other languages already do this.

> Well, the @example immediately above the "Program files" has a \
> in the .itexi file, and proudly displays a \ in the output.  Why
> does this work inside @example but not @code?  Is there any way we
> can get @code to act like @example ?

I suspect the answer is here:
http://www.gnu.org/software/texinfo/manual/texinfo/html_node/Invoking-Macros.html#Invoking-Macros
I quote:
"Other characters that need to be quoted in macro arguments are curly
braces and backslash. For example
     @macname {\\\{\}\,}
"

Then the difference is that the example (@example ... @end) is not a
macro invocation like @code{...} is.

The good application of this is to double the \ -> \\ between curly braces.

Should I replace single \ and @bs{} by \\ in all langage files?

However, I grepped everywhere for /Applications/ and could not find
where it happens that it is converted to C:\Program Files.

Your thoughts on the best way to go? \\, @bs{} or /Applications/? Do
you confirm you prefer @bs{}?

Frédéric



reply via email to

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