On ma, 2009-07-20 at 21:04 -0700, Graham Percival wrote:
> On Mon, Jul 20, 2009 at 02:38:13PM +0200, Reinhold Kainhofer wrote:
> > In our lilypond docs, we have several texinfo comments, most notably the 
> > git 
> > revision of the texinfo document

> better done as a macro; that way, we can retain our
> non-git-revision-number comments as "private"
> 
> It's easily done with:
>   @macro htmlcomment{TEXT}
>   @html

Sweet and simple!  Just run

   pytt '(?ms)\...@ignore(.*?)\...@end ignore(.*?)(\...@include macros.itexi)' 
'\...@include macros.itex...@htmlcomment\1\n@end htmlComment\2' $(find . -name 
'*texi' -o -name '*tely')

at your convenience.

Greetings,
Jan.

-- 
Jan Nieuwenhuizen <[email protected]> | GNU LilyPond - The music typesetter
AvatarĀ®: http://AvatarAcademy.nl    | http://lilypond.org



_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to