On 03/29/2016 04:10 AM, Guenter Milde wrote: > On 2016-03-28, Richard Heck wrote: > > >> It would be nice, though it isn't essential, if there were some way to >> help people who needed it get the new layout. I'm not sure it is worth >> doing the whole auto-download thing, but I would think that it would be >> fairly easy to check if a matching layout exists at some central URL we >> could create, and if it does tell people they can get it there. It seems >> this can be done via QNetworkAccessManager::head(QNetworkRequest). See: >> http://www.qtcentre.org/archive/index.php/t-48347.html > Could you file a feature request?
I will at some point. > How about a "LyX layout repository" with supported¹ layouts at an > "official" URL (something like www.lyx.org/ressources/layouts/ or > similar, maybe with subdirs for major LyX versions, ...) as a first step? Yes, this is exactly what I had in mind, and I've been thinking about how best to do it. We do not want to have to manage that directory manually. The files are in the git repo, so we just have to figure out how to access them. Some trickery using modrewrite might work. Or some PHP code. Richard