]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/europasscv.layout
New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing...
[lyx.git] / lib / layouts / europasscv.layout
index c07b2953a8e7d8a819a7d75edee4d6fd806be1d9..03f76df057acfd3fb278d86a9c5f6f6bee177fc1 100644 (file)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[europasscv]{Europass CV (2013)}
+#  \DeclareLaTeXClass[europasscv,footnote.sty,tabu.sty,totpages.sty]{Europass CV (2013)}
 #  \DeclareCategory{Curricula Vitae}
 #
 # Layout definition file for the europasscv class package.
@@ -35,7 +35,7 @@
 
 
 # General textclass parameters
-Format 58
+Format 99
 
 Columns                 1
 Sides           1
@@ -65,6 +65,7 @@ Style Standard
        ParSkip         0.4
        Align           Block
        LabelType       No_Label
+       DocBookTag  para
 End
 
 Input stdcounters.inc
@@ -87,20 +88,36 @@ Style Name
        Align           Left
        LabelFont
          Series        Bold
-         Color         Magenta
+         Color         textlabel3
        EndFont
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType block
+       DocBookInInfo         always
 End
 
 Style FooterName
        CopyStyle       Name
        LatexName       ecvfootername
        LabelString     "Name (footer):"
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperAttr    role='footer'
+       DocBookWrapperTagType block
+       DocBookInInfo         always
 End
 
 Style Address
        CopyStyle       Name
        LatexName       ecvaddress
        LabelString     "Address:"
+       DocBookTag            NONE
+       DocBookWrapperTag     address
+       DocBookWrapperTagType block
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 Style Telephone
@@ -110,25 +127,52 @@ Style Telephone
        Argument 1
          LabelString   "Mobile:"
          Tooltip       "Mobile phone number"
+         DocBookTag    phrase
+         DocBookAttr   role='mobile'
        EndArgument
+       DocBookTag            phone
+       DocBookTagType        paragraph
+       DocBookWrapperTag     address
+       DocBookWrapperTagType block
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 Style Fax
        CopyStyle       Name
        LatexName       ecvfax
        LabelString     "Fax:"
+       DocBookTag            fax
+       DocBookTagType        paragraph
+       DocBookWrapperTag     address
+       DocBookWrapperTagType block
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 Style Email
        CopyStyle       Name
        LatexName       ecvemail
        LabelString     "E-mail:"
+       DocBookTag            email
+       DocBookTagType        paragraph
+       DocBookWrapperTag     address
+       DocBookWrapperTagType block
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 Style Homepage
        CopyStyle       Name
        LatexName       ecvhomepage
        LabelString     "Homepage:"
+       DocBookTag            uri
+       DocBookAttr           type='homepage'
+       DocBookTagType        paragraph
+       DocBookWrapperTag     address
+       DocBookWrapperTagType block
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 Style InstantMessaging
@@ -140,47 +184,81 @@ Style InstantMessaging
          AutoInsert    1
          LabelString   "IM Type:"
          Tooltip       "IM Type (e.g., AOL Messenger)"
+         DocBookTag    emphasis
+         DocBookAttr   role='type'
        EndArgument
+       DocBookTag            uri
+       DocBookAttr           type='instant-messaging'
+       DocBookTagType        paragraph
+       DocBookWrapperTag     address
+       DocBookWrapperTagType block
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 Style Birthday
        CopyStyle       Name
        LatexName       ecvdateofbirth
        LabelString     "Date of birth:"
+       DocBookTag            date
+       DocBookAttr           role='birthday'
+       DocBookInInfo         always
+       DocBookWrapperTag     NONE
+    DocBookNoFontInside   true
 End
 
 Style Nationality
        CopyStyle       Name
        LatexName       ecvnationality
        LabelString     "Nationality:"
+       DocBookTag            date
+       DocBookAttr           role='nationality'
+       DocBookInInfo         always
+       DocBookWrapperTag     NONE
+    DocBookNoFontInside   true
 End
 
 Style Gender
        CopyStyle       Name
        LatexName       ecvgender
        LabelString     "Gender:"
+       DocBookTag            date
+       DocBookAttr           role='gender'
+       DocBookInInfo         always
+       DocBookWrapperTag     NONE
+    DocBookNoFontInside   true
 End
 
 Style BeforePicture
        CopyStyle       Name
        LatexName       ecvbeforepicture
        LabelString     "Space before picture:"
+       DocBookTag          IGNORE
+       DocBookWrapperTag   NONE
 End
 
 Style Picture
        CopyStyle       Name
        LatexName       ecvpicture
+       PassThru        true
        LabelString     "Picture:"
        Argument 1
          LabelString   "Width"
          Tooltip       "Resize photo to this width"
        EndArgument
+       DocBookTag            date
+       DocBookAttr           role='picture'
+       DocBookInInfo         always
+       DocBookWrapperTag     NONE
+    DocBookNoFontInside   true
 End
 
 Style AfterPicture
        CopyStyle       Name
        LatexName       ecvafterpicture
        LabelString     "Space after picture:"
+       DocBookTag          IGNORE
+       DocBookWrapperTag   NONE
 End
 
 Style Section
@@ -206,6 +284,8 @@ Style Section
          Series        Bold
        EndFont
        TocLevel        1
+       DocBookTag  title
+       DocBookTagType paragraph
 End
 
 Style Item
@@ -222,6 +302,8 @@ Style Item
          AutoInsert    0
          LabelString   "Summary"
          Tooltip       "Summary of the item, can also be the time span"
+         DocBookTag    emphasis
+         # TODO: For DocBook, this should rather be title, but it would be output in the paragraph, and not before the paragraph.
        EndArgument
        ParSkip         0.4
        Align           Block
@@ -230,8 +312,11 @@ Style Item
        LabelString     "Item:"
        LabelFont
          Series        Bold
-         Color         Blue
+         Color         textlabel1
        EndFont
+       DocBookTag      sidebar
+       DocBookTagType  block
+       DocBookItemTag  para
 End
 
 # The following Inset was defined in order to
@@ -262,7 +347,7 @@ InsetLayout Flex:ItemInset
        LabelString     "Subitems"
        LabelFont
          Series        Bold
-         Color         Black
+         Color         foreground
        EndFont
 End
 
@@ -271,6 +356,7 @@ Style TitleItem
        LatexName       ecvtitle
        TopSep          1.0
        LabelString     "Title item:"
+       DocBookAttr role='title-item'
 End
 
 Style TitleLevel
@@ -290,6 +376,7 @@ Style BlueItem
        CopyStyle       Item
        LatexName       ecvblueitem
        LabelString     "Blue item:"
+       DocBookAttr role='blue-item'
 End
 
 InsetLayout Flex:BlueItemInset
@@ -298,7 +385,7 @@ InsetLayout Flex:BlueItemInset
        LabelString     "Blue subitems"
        LabelFont
          Series        Bold
-         Color         Blue
+         Color         textlabel1
        EndFont
 End
 
@@ -306,6 +393,7 @@ Style BigItem
        CopyStyle       Item
        LatexName       ecvbigitem
        LabelString     "Big Item:"
+       DocBookAttr role='big-item'
 End
 
 Style EcvItemize
@@ -313,6 +401,16 @@ Style EcvItemize
        Margin                Static
        LatexType             Item_Environment
        LatexName             ecvitemize
+       Argument listpreamble:1
+               LabelString    "List preamble"
+               MenuString     "List Preamble"
+               Tooltip        "LaTeX code to be inserted before the first item"
+               PassThru       1
+               Font
+                       Family typewriter
+                       Color latex
+               EndFont
+       EndArgument
        NextNoIndent          1
        LeftMargin            MMN
        LabelSep              xx
@@ -330,6 +428,9 @@ Style EcvItemize
                LabelString   "Custom Item|s"
                Tooltip       "A customized item string"
        EndArgument
+       DocBookTag            itemizedlist
+       DocBookItemTag        listitem
+       DocBookItemInnerTag   para
 End
 
 Style MotherTongue
@@ -347,8 +448,10 @@ Style MotherTongue
        EndFont
        LabelFont
          Series        Bold
-         Color         Blue
+         Color         textlabel1
        EndFont
+       DocBookTag  para
+       DocBookAttr role='mother-tongue'
 End
 
 Style LangHeader
@@ -365,7 +468,7 @@ Style LangHeader
        LabelType       Static
        LabelFont
          Series        Bold
-         Color         Green
+         Color         textlabel2
        EndFont
 End
 
@@ -378,31 +481,43 @@ Style Language
          AutoInsert    1
          LabelString   "Language"
          Tooltip       "Name of the language"
+         DocBookTag    phrase
+         DocBookAttr   role='language-name'
        EndArgument
        Argument 2
          Mandatory     1
          AutoInsert    1
          LabelString   "Listening"
          Tooltip       "Level how good you think you can listen"
+         DocBookTag    phrase
+         DocBookAttr   role='listening'
        EndArgument
        Argument 3
          Mandatory     1
          AutoInsert    1
          LabelString   "Reading"
          Tooltip       "Level how good you think you can read"
+         DocBookTag    phrase
+         DocBookAttr   role='reading'
        EndArgument
        Argument 4
          Mandatory     1
          AutoInsert    1
          LabelString   "Interaction"
          Tooltip       "Level how good you think you can conversate"
+         DocBookTag    phrase
+         DocBookAttr   role='speaking'
        EndArgument
        Argument 5
          Mandatory     1
          AutoInsert    1
          LabelString   "Production"
          Tooltip       "Level how good you think you can freely talk"
+         DocBookTag    phrase
+         DocBookAttr   role='writing'
        EndArgument
+       DocBookTag  para
+       DocBookAttr role='language'
 End
 
 Style LastLanguage
@@ -431,7 +546,7 @@ Style End
        LabelString     "End of CV"
        LabelFont
          Series        Bold
-         Color         Green
+         Color         textlabel2
        EndFont
        Preamble
                \cvclosedtrue
@@ -445,7 +560,7 @@ InsetLayout "Flex:Highlight"
        Decoration      Conglomerate
        LabelString     "Highlight"
        Font
-         Color         red
+         Color         textlabel3
          Size          Small
          Family        Roman
          Shape         Up
@@ -455,7 +570,7 @@ InsetLayout "Flex:Highlight"
          Misc          No_Bar
        EndFont
        LabelFont
-         Color         green
+         Color         textlabel2
          Size          Small
        EndFont
 End