Am 17.12.2012 17:19, schrieb Jean-Marc Lasgouttes:

While looking into moderncv.cls, I saw an interesting line:
   \RequirePackageWithOptions{moderncvcompatibility}

Looking inside this file is indeed interesting:
   % compatibility with version 0.1
   \newcommand*{\cvresume}[2]{\cvlistdoubleitem{#1}{#2}}

   % compatibility with versions <= 0.2
   % section, cvline, ... with width argument...
   %\newcommand*{\section}[2][0.825]{%
   %  \closesection{}%
[...]

So, Uwe, are you sure that you the problem you fixed is real? It seems that the 
moderncv author did
his homework and that he takes backward compatibility seriously. Do we really 
need to update the
layout file every release???

Thanks for the pointer, I will have a look.
This is nevertheless independent of the general discussion, see my mail I just 
sent.

Even if there is a way to keep backward compatibility the compatibility between minor LyX versions will be broken as soon as I add a layout. And I tried hard to get my document compilable without adding new styles to the layout. I admit that the old modernCV layout was far from being optimal but also the modernCV class itself was very fragile until the underlying table structure was removed. Looking back I learned that it was not a good idea to write a layout for a document class which just appeared on CTAN. I wrote the layout because I needed a CV and modernCV looked the best.

thanks and regards
Uwe

Reply via email to