On 09/13/2016 04:28 AM, Phil Holmes wrote:
I know understanding how images are used is a bit of a problem - which
I might have understood once, but have now forgotten. Is the
information at
http://lilypond.org/doc/v2.19/Documentation/contributor/other-repositories
and
http://lilypond.org/doc/v2.19/Documentation/contributor/website-build
any help?
Thanks, those are helpful. I'll have to remember that those build
system notes are down there. I see now that LilyPond is being run on
the new file and the pdf and png files do end up in:
build/Documentation/ly-examples/out-www
but for some reason those files are not being copied into
build/out-website/website/ly-examples
Where they need to be for the website.
Also, there's another issue. The scripts to create these example images
(at two sizes to allow "click to enlarge") use -dpreview so only the
first system of this bwv861 example makes it into the image. (sigh) So
maybe trying to use this examples machinery is not helpful. (Unless we
want to edit all of the examples ly files so that they only output the
content that should be in the images and then drop the -dpreview.)
At this point it would probably be simplest to just inline the lilypond
code for this example on the home page, like it is done in the essay.
(Probably putting it in an include file to avoid duplication.) We
wouldn't get "click to enlarge" that way (which was the point of using
the examples mechanisms) but maybe that's not needed on the home page
and/or could be a future enhancement.
-Paul
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel