lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Web: home page: add examples/images, reduce news to headlines (issue


From: Phil Holmes
Subject: Re: Web: home page: add examples/images, reduce news to headlines (issue 306350043 by address@hidden)
Date: Tue, 13 Sep 2016 14:52:54 +0100

----- Original Message ----- From: "Paul" <address@hidden> To: "Phil Holmes" <address@hidden>; <address@hidden>; <address@hidden>; <address@hidden>
Sent: Tuesday, September 13, 2016 2:26 PM
Subject: Re: Web: home page: add examples/images, reduce news to headlines (issue 306350043 by address@hidden)


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


I don't think you can do that. The reason for all the odd stuff with the image files is that the server we host lilypond on does not use lilypond to make the website - so all images must be pre-created to allow the website itself to be remade. Note that much of the website it really made using make doc during a Gub run, but some of it (the homepage and the \web stuff) is made with make website and requires no upload. The server has cron jobs that pull git and run make website.

--
Phil Holmes



reply via email to

[Prev in Thread] Current Thread [Next in Thread]