lilypond-devel
[Top][All Lists]
Advanced

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

Re: GDP linebreaks inside long @code{} stuff


From: Trevor Daniels
Subject: Re: GDP linebreaks inside long @code{} stuff
Date: Wed, 14 May 2008 08:50:12 +0100


Graham Percival wrote Wednesday, May 14, 2008 6:40 AM


Is it worth fussing with spaces in @code?  I'm thinking of things
like @code{\include "english.ly"}.

Yes, I think it is.

I tried making a @longcode{} which does @address@hidden, but that fell
afoul of the inconsistent backslash-in-macros texinfo problem.  (\
is fine for pdf, but \\ is required for html output)
Writing @address@hidden "english.ly"} would solve that
problem, but at this point I started to wonder if I was obsessing
too much over small details.  :|

Another solution is just to include @w{} in the list of commands
for doc helpers, and encourage people to write @address@hidden
lilypond command with arguments}}.

I'd go for this solution.  We have to use @w{} occasionally in
other circumstances anyway.  Not sure it's worth doing this every
time though - it's bad enough in some text to have to place @code{}
everywhere.  Might be better to do this only if the command
would otherwise split - ie leave it for one of the last tiding
up actions after all the text is in place (if we ever reach that
point :)
Cheers,
- Graham

Trevor




reply via email to

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