Graham Percival <gra...@percival-music.ca> writes: > On Sun, Sep 26, 2010 at 07:29:26PM +0200, David Kastrup wrote: >> Graham Percival <gra...@percival-music.ca> writes: >> >> > Nope; we get line breaks in stuff like @code{\override >> > Voice.textscript #'padding = #3}. :( >> > >> > I'm not certain whether this constitutes a bug with texinfo itself >> > (i.e. I'm not going to argue about what the default formatting should >> > be), but it would definitely be nice if we could make our backends >> > (texi2pdf, texi2html) avoid newlines in such material. I can't >> > remember if this made its way onto the tracker or not. >> >> I seem to remember that in TeX hyphenation is more or less a font >> property. If that is not the case, one can likely do something like >> @iftex >> @co...@hyphenchar@t...@font=-1 } >> @end iftex >> in order to turn off hyphenation for the font selected for @code >> passages, obviously for those backends implemented with TeX. > > Oh, sorry -- I wasn't talking about hyphenation (although that > would also suck!), but rather line breaks between works.
Uh, of course. Don't ask me what got "hyphenation" into my brain. > I expect that there's a mechanism our texinfo.tex to do this. Should be easy enough to do for the TeX backends, effectively wrapping every @code inside of a @w. Is that desirable? -- David Kastrup _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel