]> 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)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:20 +0000 (15:48 +0200)
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