On 12/10/2012 12:15 PM, José Matos wrote:
On 12/10/2012 04:59 PM, Richard Heck wrote:
- From my point as the author of a layout I cannot know what a
version of the document class a user might have installed. So what
should I do, if the layout works only with modernCV 1.0, but fails
with 0.9 and the recent version 1.2? - I have update the layout to
work with the latest version.

Long-term, as I said, we should make layouts version-aware somehow, at
least in so far as we try to detect version during configuration and
enable or disable layouts depending upon which versions we detect. I
can even imagine putting conditional code into layouts themselves.
In that scenario we could use lyx2lyx machinery to convert/revert
between layout versions. The code would use a hook to call lyx2lyx if
the layout used in the document had a different version from the
available system or local layout.

This should be the easiest part. :-)

Yes, this all seems do-able to me, and without too much trouble. We might need some kind of special syntax with which to call lyx2lyx, since this wouldn't be a format conversion in the usual, linear sense. (Georg noticed this, too.)

rh

Reply via email to