diff options
author | Karl Berry <karl@freefriends.org> | 2011-12-24 00:30:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-12-24 00:30:46 +0000 |
commit | 780996afdcb4eac7c3ebf73a92d7204dfda93879 (patch) | |
tree | 8140bc4c94d5ea40eb4a4c95db2ba688295dae4e /Master/texmf-dist/tex/latex/ecv | |
parent | a1dd9cadab646e6c885c80ed356590cbc7fe6082 (diff) |
ecv (23dec11)
git-svn-id: svn://tug.org/texlive/trunk@24928 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ecv')
-rw-r--r-- | Master/texmf-dist/tex/latex/ecv/ecv.cls | 57 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ecv/ecvEnglish.ldf | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ecv/ecvGerman.ldf | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ecv/ecvNLS.sty | 2 |
4 files changed, 49 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/latex/ecv/ecv.cls b/Master/texmf-dist/tex/latex/ecv/ecv.cls index cf62caec0fb..56fdae69ebe 100644 --- a/Master/texmf-dist/tex/latex/ecv/ecv.cls +++ b/Master/texmf-dist/tex/latex/ecv/ecv.cls @@ -1,5 +1,5 @@ %% -%% Copyright 2006-2007 Christoph Neumann, Bernd Haberstumpf +%% Copyright 2006-2011 Christoph P. Neumann, Bernd Haberstumpf %% %% This LaTeX class provides a simple interface for creating %% a verfy fancy Curriculum Vitae. At the moment only CVs in @@ -20,8 +20,8 @@ %% -\def\fileversion{0.1} -\def\filedate{2007/01/05} +\def\fileversion{0.3} +\def\filedate{2011/04/18} \NeedsTeXFormat{LaTeX2e} @@ -39,6 +39,7 @@ \DeclareOption{english}{\def\ecv@lang{\ecv@english}} \DeclareOption{oneside}{\PassOptionsToClass{oneside}{scrartcl}} \DeclareOption{twoside}{\PassOptionsToClass{twoside}{scrartcl}} +\DeclareOption{selinput}{\def\ecv@selinput{1}} \DeclareOption{empty}{\def\ecv@empty{1}} \ProcessOptions @@ -74,7 +75,11 @@ \RequirePackage{fancyhdr} -\RequirePackage{selinput} +\ifx\ecv@empty\undefined +\RequirePackage[latin9]{inputenc} % = latin1, but also with euro sign +\else + \RequirePackage{selinput} +\fi \RequirePackage[T1]{fontenc} @@ -212,7 +217,9 @@ } \newcommand{\ecvBold}[2][\ecv@lang]{% - \textbf{#2}% + \ifthenelse{\equal{#1}{\ecv@lang}}{% + \textbf{#2}% + }{}% } \newcommand{\ecvBulleted}[1]{$\circ$ #1} @@ -278,43 +285,63 @@ \newcommand{\ecvEPR}[3][\ecv@lang]{% - \ecvTP[#1]{#2} & \ecvVR[#1]{#3} % + \ifthenelse{\equal{#1}{\ecv@lang}}{% + \ecvTP[#1]{#2} & \ecvVR[#1]{#3} % + }{}% } \newcommand{\ecvTagPlainValueRagged}[3][\ecv@lang]{\ecvERP[#1]{#2}{#3}} \newcommand{\ecvEPB}[3][\ecv@lang]{% - \ecvTP[#1]{#2} & \ecvVB[#1]{#3} % + \ifthenelse{\equal{#1}{\ecv@lang}}{% + \ecvTP[#1]{#2} & \ecvVB[#1]{#3} % + }{}% } \newcommand{\ecvTagPlainValueBlocked}[3][\ecv@lang]{\ecvERB[#1]{#2}{#3}} \newcommand{\ecvEFR}[3][\ecv@lang]{% - \ecvTF[#1]{#2} & \ecvVR[#1]{#3} % + \ifthenelse{\equal{#1}{\ecv@lang}}{% + \ecvTF[#1]{#2} & \ecvVR[#1]{#3} % + }{}% } \newcommand{\ecvTagFirstValueRagged}[3][\ecv@lang]{\ecvEFR[#1]{#2}{#3}} \newcommand{\ecvEFB}[3][\ecv@lang]{% - \ecvTF[#1]{#2} & \ecvVB[#1]{#3} % + \ifthenelse{\equal{#1}{\ecv@lang}}{% + \ecvTF[#1]{#2} & \ecvVB[#1]{#3} % + }{}% } \newcommand{\ecvTagFirstValueBlocked}[3][\ecv@lang]{\ecvEFB[#1]{#2}{#3}} \newcommand{\ecvEIR}[3][\ecv@lang]{% - \ecvTI[#1]{#2} & \ecvVR[#1]{#3} % + \ifthenelse{\equal{#1}{\ecv@lang}}{% + \ecvTI[#1]{#2} & \ecvVR[#1]{#3} % + }{}% } \newcommand{\ecvTagIntermediateValueRagged}[3][\ecv@lang]{\ecvEIR[#1]{#2}{#3}} \newcommand{\ecvEIB}[3][\ecv@lang]{% - \ecvTI[#1]{#2} & \ecvVB[#1]{#3} % + \ifthenelse{\equal{#1}{\ecv@lang}}{% + \ecvTI[#1]{#2} & \ecvVB[#1]{#3} % + }{}% } \newcommand{\ecvTagIntermediateValueBlocked}[3][\ecv@lang]{\ecvEIB[#1]{#2}{#3}} \newcommand{\ecvENR}[3][\ecv@lang]{% - \ecvTN[#1]{#2} & \ecvVR[#1]{#3} % + \ifthenelse{\equal{#1}{\ecv@lang}}{% + \ecvTN[#1]{#2} & \ecvVR[#1]{#3} % + }{}% } \newcommand{\ecvTagNextValueRagged}[3][\ecv@lang]{\ecvENR[#1]{#2}{#3}} \newcommand{\ecvENB}[3][\ecv@lang]{% - \ecvTN[#1]{#2} & \ecvVB[#1]{#3} % + \ifthenelse{\equal{#1}{\ecv@lang}}{% + \ecvTN[#1]{#2} & \ecvVB[#1]{#3} % + }{}% } \newcommand{\ecvTagNextValueBlocked}[3][\ecv@lang]{\ecvENB[#1]{#2}{#3}} \newcommand{\ecvOVR}[2][\ecv@lang]{% - & \ecvVR[#1]{#2} % + \ifthenelse{\equal{#1}{\ecv@lang}}{% + & \ecvVR[#1]{#2} % + }{}% } \newcommand{\ecvOnlyValueRagged}[2][\ecv@lang]{\ecvOVR[#1]{#2}} \newcommand{\ecvOVB}[2][\ecv@lang]{% - & \ecvVB[#1]{#2} % + \ifthenelse{\equal{#1}{\ecv@lang}}{% + & \ecvVB[#1]{#2} % + }{}% } \newcommand{\ecvOnlyValueBlocked}[2][\ecv@lang]{\ecvOVB[#1]{#2}} diff --git a/Master/texmf-dist/tex/latex/ecv/ecvEnglish.ldf b/Master/texmf-dist/tex/latex/ecv/ecvEnglish.ldf index c72e1c5f37e..660bbf5e387 100644 --- a/Master/texmf-dist/tex/latex/ecv/ecvEnglish.ldf +++ b/Master/texmf-dist/tex/latex/ecv/ecvEnglish.ldf @@ -1,5 +1,5 @@ %% -%% Copyright 2006-2007 Christoph Neumann, Bernd Haberstumpf +%% Copyright 2006-2011 Christoph P. Neumann, Bernd Haberstumpf %% %% This a language definition file for the ecv class. %% THe file defines some NLS strings. @@ -18,8 +18,8 @@ %% Alexander von Gernler, who introduced me to the European Curriculum Vitae %% -\def\fileversion{0.1} -\def\filedate{2007/01/05} +\def\fileversion{0.3} +\def\filedate{2011/04/18} \NeedsTeXFormat{LaTeX2e} diff --git a/Master/texmf-dist/tex/latex/ecv/ecvGerman.ldf b/Master/texmf-dist/tex/latex/ecv/ecvGerman.ldf index e95050cd4a6..5a7a322dce4 100644 --- a/Master/texmf-dist/tex/latex/ecv/ecvGerman.ldf +++ b/Master/texmf-dist/tex/latex/ecv/ecvGerman.ldf @@ -1,5 +1,5 @@ %% -%% Copyright 2006-2007 Christoph Neumann, Bernd Haberstumpf +%% Copyright 2006-2011 Christoph P. Neumann, Bernd Haberstumpf %% %% This a language definition file for the ecv class. %% THe file defines some NLS strings. @@ -18,8 +18,8 @@ %% Alexander von Gernler, who introduced me to the European Curriculum Vitae %% -\def\fileversion{0.1} -\def\filedate{2007/01/05} +\def\fileversion{0.3} +\def\filedate{2011/04/18} \NeedsTeXFormat{LaTeX2e} diff --git a/Master/texmf-dist/tex/latex/ecv/ecvNLS.sty b/Master/texmf-dist/tex/latex/ecv/ecvNLS.sty index de5ba6cf0a5..6a43d1f2d97 100644 --- a/Master/texmf-dist/tex/latex/ecv/ecvNLS.sty +++ b/Master/texmf-dist/tex/latex/ecv/ecvNLS.sty @@ -41,7 +41,7 @@ \AtBeginDocument{% \ifnum\ecvNLS@lang =\ecvNLS@german - \selectlanguage{german} + \selectlanguage{ngerman} \else \selectlanguage{english} \fi |