On Fri, 25 Apr 2008 15:05:40 +0200
John Mandereau <[EMAIL PROTECTED]> wrote:
> > Sorry, why do we need a CMD? We should use the same formatting
> > for all of them, so an argument-less command like [doctitle]
> > should be sufficient.
>
> No, we certainly won't use the same formatting in Snippets document
> and in the manuals, as the latter has much more sectioning levels
> than the former.
I don't follow.
Essentially, we just want to print out
Adding Ambits Per Voice
instead of
adding-ambits-per-voice
right? Why would the formatting be different in the Snippet
document than in the manuals? Just make it
@emph{\NAME\}
or something like that.
> Anyway, it's a bad idea to hardcode the doctitle
> formatting in lilypond-book, so let's make doctitle an argument-less
> option: lilypond-book could output @lydoctitle{DOCTITLE-TEXT}, and
> we'd define @lydoctitle macro differently in macros.itexi and
> input/lsr/lilypond-snippets.tely. I estimate I'll have time to get
> this done in about a week.
IIRC you can't use macros like that in texinfo. I mean, you
can't do
@macro lilyheader{FILENAME}
@lilypondfile[foo,bar]{\FILENAME\}
@end macro
which is essentially what this proposal boils down to, right? I
spent ages trying to do this for the section headers. :(
If you /can/ do this, possibly by modifying lilypond-book and/or
texinfo, that would be awesome.
Cheers,
- Graham
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel