The attached patch adds support for the modernCV features introduced by version 1.5 from April 2013.

I think it is safe enough to support 2 years old features and would therefore like to put it in.

Since a style is added, this would be a simple fileformat change.

OK to go on?

regards Uwe
diff --git 
"a/C:\\Users\\Usti\\AppData\\Local\\Temp\\TortoiseGit\\modA4F5.tmp\\moderncv-19224e9-left.layout"
 "b/D:\\LyXGit\\Master\\lib\\layouts\\moderncv.layout"
index bae8009..0eea664 100644
--- 
"a/C:\\Users\\Usti\\AppData\\Local\\Temp\\TortoiseGit\\modA4F5.tmp\\moderncv-19224e9-left.layout"
+++ "b/D:\\LyXGit\\Master\\lib\\layouts\\moderncv.layout"
@@ -48,6 +48,10 @@ Style CVStyle
          Series        Bold
          Color         Blue
        EndFont
+       Argument 1
+         LabelString   "Style Options"
+         Tooltip               "Options for the CV style"
+       EndArgument
 End
 
 Style CVColor
@@ -56,6 +60,12 @@ Style CVColor
        LabelString     "CV Color Scheme:"
 End
 
+Style CVIcons
+       CopyStyle       CVStyle
+       LatexName       moderncvicons
+       LabelString     "CV Icon Set:"
+End
+
 Style PDF_Page_Mode
        CopyStyle       CVStyle
        LatexName       renewcommand{\pdfpagemode}
@@ -125,18 +135,24 @@ Style Mobile
        CopyStyle       CVStyle
        LatexName       mobile
        LabelString     "Mobile:"
+       ObsoletedBy     Phone
 End
 
 Style Phone
        CopyStyle       CVStyle
        LatexName       phone
        LabelString     "Phone:"
+       Argument 1
+         LabelString   "Phone Type"
+         Tooltip       "can be fixed, mobile or fax"
+       EndArgument
 End
 
 Style Fax
        CopyStyle       CVStyle
        LatexName       fax
        LabelString     "Fax:"
+       ObsoletedBy     Phone
 End
 
 Style Email

Reply via email to