]> git.lyx.org Git - features.git/commitdiff
Fix moderncv.layout
authorGünter Milde <milde@lyx.org>
Sun, 24 Mar 2019 22:03:09 +0000 (23:03 +0100)
committerGünter Milde <milde@lyx.org>
Sun, 24 Mar 2019 22:12:01 +0000 (23:12 +0100)
The "photo" style content is a path name (don't escape underscores etc.).

lib/layouts/moderncv.layout

index df6961a411ba31e53983f878deaf37ab0daab153..a104f739a90d757b2a525734651d2783b1f32093 100644 (file)
@@ -202,8 +202,17 @@ Style ExtraInfo
        LabelString     "Extra Info:"
 End
 
+# Path to a digital image:
 Style Photo
        CopyStyle       CVStyle
+       Font
+         Family        typewriter
+       EndFont
+       LabelFont
+         Family        Roman
+         Series        Bold
+         Color         Blue
+       EndFont
        LatexName       photo
        LabelString     "Photo:"
        Argument 1
@@ -216,6 +225,7 @@ Style Photo
          Tooltip       "Thickness of the surrounding frame"
          PassThru      1
        EndArgument
+       PassThru        1
 End
 
 Style Quote