# General textclass parameters
-Format 66
+Format 85
Columns 1
Sides 1
SecNumDepth -1
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
+ DocBookTag para
End
Input stdcounters.inc
LabelString "Style Options"
Tooltip "Options for the CV style"
EndArgument
+ # For DocBook, in <info>, so that the next tags can be there.
+ DocBookTag IGNORE
+ DocBookInInfo maybe
End
Style CVColor
CopyStyle CVStyle
LatexName moderncvcolor
LabelString "CV Color Scheme:"
+ # For DocBook, in <info>, so that the next tags can be there.
+ DocBookTag IGNORE
+ DocBookInInfo maybe
End
Style CVIcons
CopyStyle CVStyle
LatexName moderncvicons
LabelString "CV Icon Set:"
+ # For DocBook, in <info>, so that the next tags can be there.
+ DocBookTag IGNORE
+ DocBookInInfo maybe
End
Style CVColumnWidth
CopyStyle CVStyle
LatexName setlength{\hintscolumnwidth}
LabelString "Column Width:"
+ # For DocBook, in <info>, so that the next tags can be there.
+ DocBookTag IGNORE
+ DocBookInInfo maybe
End
Style PDF_Page_Mode
CopyStyle CVStyle
LatexName renewcommand{\pdfpagemode}
LabelString "PDF Page Mode:"
+ # For DocBook, in <info>, so that the next tags can be there.
+ DocBookTag IGNORE
+ DocBookInInfo maybe
End
Style Name
LabelString "First Name"
Tooltip "First name"
Mandatory 1
+ # TODO: If this produces a DocBook tag <firstname>, the rest must be in <givename>, but that's not possible yet.
EndArgument
+ DocBookTag personname
+ DocBookTagType paragraph
+ DocBookWrapperTag author
+ DocBookWrapperTagType block
+ DocBookInInfo always
End
Style FirstName
EndFont
HTMLTag h1
HTMLTitle true
+ DocBookTag title
+ DocBookTagType paragraph
+ DocBookInInfo maybe
End
Style Address
Tooltip "Optional address line"
Mandatory 1
EndArgument
+ DocBookTag NONE
+ DocBookWrapperTag address
+ DocBookWrapperTagType block
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
Style Phone
Argument 1
LabelString "Phone Type"
Tooltip "can be fixed, mobile or fax"
+ # TODO: for DocBook, this should be translated into a role.
+ DocBookTag emphasis
+ DocBookTagType inline
EndArgument
+ DocBookTag phone
+ DocBookTagType paragraph
+ DocBookWrapperTag address
+ DocBookWrapperTagType block
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
Style Mobile
CopyStyle CVStyle
LatexName email
LabelString "Email:"
+ DocBookTag email
+ DocBookTagType paragraph
+ DocBookWrapperTag address
+ DocBookWrapperTagType block
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
Style Homepage
CopyStyle CVStyle
LatexName homepage
LabelString "Homepage:"
+ DocBookTag uri
+ DocBookAttr type='homepage'
+ DocBookTagType paragraph
+ DocBookWrapperTag address
+ DocBookWrapperTagType block
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
Style Social
Argument 1
LabelString "Name"
Tooltip "Name of the social network"
+ # TODO: for DocBook, this should be translated into a role.
+ DocBookTag emphasis
+ DocBookTagType inline
EndArgument
+ DocBookTag uri
+ DocBookAttr type='social-network'
+ DocBookTagType paragraph
+ DocBookWrapperTag address
+ DocBookWrapperTagType block
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
Style ExtraInfo
CopyStyle CVStyle
LatexName extrainfo
LabelString "Extra Info:"
+ DocBookTag otheraddr
+ DocBookTagType paragraph
+ DocBookWrapperTag address
+ DocBookWrapperTagType block
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
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
Tooltip "Thickness of the surrounding frame"
PassThru 1
EndArgument
+ PassThru 1
+ DocBookTag date
+ DocBookAttr role='picture'
+ DocBookInInfo always
+ DocBookWrapperTag NONE
End
Style Quote
Shape Italic
Size Large
EndFont
+ DocBookTag para
+ DocBookWrapperTag blockquote
+ DocBookInInfo false
End
Style Section
Series Bold
EndFont
TocLevel 1
+ DocBookTag title
+ DocBookTagType paragraph
End
Style EmptySection
Color Blue
EndFont
TocLevel 1
+ DocBookTag NONE
End
InsetLayout Flex:Column
LabelString "Width"
Tooltip "Optional width"
PassThru 1
+ DocBookTag IGNORE
EndArgument
Argument 2
Mandatory 1
AutoInsert 1
LabelString "Header"
Tooltip "Header content"
+ DocBookTag title
EndArgument
LabelString "Column"
LabelFont
Color Blue
EndFont
ResetsFont true
+ DocBookTag sidebar
+ # TODO: issue with paragraphs inside, they do not get properly wrapped in <para> if required. Using a wrapper tag makes everything under <para>, including the title.
End
Style Entry
LatexName cventry
Argument 1
Mandatory 1
- LabelString "Time"
- Tooltip "Time"
+ LabelString "Years"
+ Tooltip "Years"
+ DocBookTag phrase
+ DocBookAttr role='years'
EndArgument
Argument 2
Mandatory 1
- LabelString "What?"
- Tooltip "What?"
+ LabelString "Title"
+ Tooltip "Degree or job title"
Font
Series Bold
EndFont
+ DocBookTag phrase
+ DocBookAttr role='title'
EndArgument
Argument 3
Mandatory 1
LabelString "Affiliation"
- Tooltip "Affiliation"
+ Tooltip "Institution or employer"
Font
Shape Italic
EndFont
+ DocBookTag phrase
+ DocBookAttr role='affiliation'
EndArgument
Argument 4
Mandatory 1
- LabelString "City"
- Tooltip "City"
+ LabelString "Localization"
+ Tooltip "City or country"
+ DocBookTag phrase
+ DocBookAttr role='localization'
EndArgument
Argument 5
Mandatory 1
- LabelString "Country"
- Tooltip "Country"
+ LabelString "Optional"
+ Tooltip "Grade or other info"
+ DocBookTag phrase
+ DocBookAttr role='optional'
EndArgument
ParSkip 0.4
Align Block
Series Bold
Color Blue
EndFont
+ DocBookTag para
End
Style Item
AutoInsert 1
LabelString "Summary"
Tooltip "Summary"
+ DocBookTag phrase
+ DocBookAttr role='summary'
EndArgument
ParSkip 0.4
Align Block
Series Bold
Color Blue
EndFont
+ DocBookTag para
End
Style ItemWithComment
Mandatory 1
LabelString "Summary"
Tooltip "Summary"
+ DocBookTag phrase
+ DocBookAttr role='summary'
EndArgument
Argument 2
Mandatory 1
Series Bold
Shape Up
EndFont
+ DocBookTag phrase
+ DocBookAttr role='text'
EndArgument
Font
Shape Italic
Color Blue
Shape Up
EndFont
+ DocBookTag para
End
Style ListItem
Family Sans
EndFont
TocLevel 1
+ IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibliography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
Style Recipient