2008/4/24 Graham Percival <[EMAIL PROTECTED]>:
> Compromise: could makelsr.py ignore
> % GDB: ...
> lines? That way we could tag snippet authorship with
> % GDB: Thanks to Foo Bar for this snippet
> without cluttering up the official docs.
Yes, but that way the author's name won't be displayed at all (even
the comment will be stripped out).
I don't have any solution, but it's a pity that we always have to
print either the *whole* code verbatim or no code at all.
Could there be a way to implement a new command such as
@lilypond[fragment, quote, selectedVerbatim]
{
%% These comments won't appear in the quoted output
%% This snippet was provided by BlahBlahBlah
%% This snippet was made in October 2006, for version 2.8.2
\tag #'selectedVerbatimStart
c d e f
\override Stuff.CoolGrob #'cool-property = #1
c d e f
\tag #'selectedVerbatimEnd
%% This code won't be printed either (but will be compiled)
\repeat unfold 8 {c d e f }
}
@end lilypond
This could be a valuable tool for documentation as well. Thoughts?
Cheers,
Valentin
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel