diff options
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/ecv/ecv.dtx | 116 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/ecv/ecv.ins | 4 |
2 files changed, 76 insertions, 44 deletions
diff --git a/Master/texmf-dist/source/latex/ecv/ecv.dtx b/Master/texmf-dist/source/latex/ecv/ecv.dtx index 17f787b5aac..cb3d1abc476 100644 --- a/Master/texmf-dist/source/latex/ecv/ecv.dtx +++ b/Master/texmf-dist/source/latex/ecv/ecv.dtx @@ -10,7 +10,7 @@ % -doc "doc/ecv.tex" % -silent "1" % ecv -% Created on 2009/8/26 0:15 +% Created on 2011/4/23 10:03 %\fi %\iffalse %<*package> @@ -33,12 +33,12 @@ %\fi % \iffalse % Doc-Source file to use with LaTeX2e -% Copyright (C) 2009 Christoph P. Neumann & Bernd Haberstumpf, all rights reserved. +% Copyright (C) 2011 Christoph P. Neumann & Bernd Haberstumpf, all rights reserved. % \fi % \iffalse %<*driver> %% -%% Copyright 2007 Bernd Haberstumpf +%% Copyright 2007-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 @@ -77,7 +77,7 @@ % %\title{\textsf{ecv}\\ %A fancy Curriculum Vitae Class} -%\author{Christoph P.\ Neumann \texttt{$<$c.p.neumann+ecv@gmail.com$>$}, \\ +%\author{Christoph P.\ Neumann \texttt{$<$c.p.neumann@web.de$>$}, \\ %Bernd Haberstumpf \texttt{$<$poldi@kabatrinker.de$>$}} %\maketitle %\PrintChanges @@ -230,6 +230,8 @@ %\item |german| Select language german %\item |english| Select language english %\item |empty| Do not print footer or header +%\item |selinput| Use \texttt{selinput} package instead of \texttt{inputenc} if +% you encounter encoding problems and if you have \texttt{selinput} installed. %\end{itemize} % %\section{Header} @@ -583,7 +585,7 @@ %\fi % \begin{macrocode} %% -%% 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 @@ -591,12 +593,12 @@ %% %% This file is free property; as a special exception the author %% gives unlimited permission to copy and/or distribute it, with -%% or without modifications, as long as this notice is +%% or without modifications, as long as this notice is %% preserved. %% -%% This file is distributed in the hope that it will be useful, -%% but WITHOUT ANY WARRANTY, to the extent permitted by law; -%% without even the implied warranty of MERCHANTABILITY or +%% This file is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY, to the extent permitted by law; +%% without even the implied warranty of MERCHANTABILITY or %% FITNESS FOR A PARTICULAR PURPOSE. %% %% SPECIAL THANKS to @@ -604,9 +606,11 @@ %% % \changes{v0.1}{2007/01/06}{Initial version} +% \changes{v0.2}{2009/08/25}{0.2} +% \changes{v0.3}{2011/04/18}{0.3} -\def\fileversion{0.1} -\def\filedate{2007/01/05} +\def\fileversion{0.3} +\def\filedate{2011/04/18} \NeedsTeXFormat{LaTeX2e} @@ -631,22 +635,24 @@ \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 - % % Load base class % + + \LoadClass[a4paper,11pt]{article} % define command to check for pdf \RequirePackage{ifpdf} - + \ifpdf \pdfcompresslevel=9 % compression level fortext and image; -\fi +\fi % % Load packages @@ -655,9 +661,11 @@ % NLS \RequirePackage[\ecv@lang]{ecvNLS} + % Provides an ifthenelse command \RequirePackage{ifthen} + % Pagelayout \ifpdf \RequirePackage[a4paper, pdftex]{geometry} @@ -665,6 +673,7 @@ \RequirePackage[a4paper, dvips ]{geometry} \fi + % For the table that makes the text spanning multiple pages \RequirePackage{longtable} @@ -683,18 +692,21 @@ % Needed for the footline to redefine the footline \RequirePackage{fancyhdr} +\ifx\ecv@empty\undefined % Inputencoding (latin1 with euro sign) -%\RequirePackage[latin9]{inputenc} % = latin1, but also with euro sign +\RequirePackage[latin9]{inputenc} % = latin1, but also with euro sign % Better variant than inputenc: -\RequirePackage{selinput} +\else + \RequirePackage{selinput} % SelectInputMappings seems not to be necessary? ... % If it is used in the cls file it makes problems if used % in a Windows environment... ?!? %\SelectInputMappings{ -% adieresis={ä}, -% germandbls={ß}, -% Euro={€}, +% adieresis={ä}, +% germandbls={ß}, +% Euro={€}, %} +\fi % Outputencoding \RequirePackage[T1]{fontenc} @@ -769,7 +781,7 @@ %% Actually a concrete digital image: \pgfdeclareimage[interpolate=true,height=60mm,width=40mm]{portrait}{#1} \pgfputat{\pgfxy(6.77,0.5)}{\pgfbox[left,top]{\pgfuseimage{portrait}}} -} +} % This variable holds the name of the portrait image \newcommand\ecv@img{} @@ -794,7 +806,7 @@ % % Hyperlink commands -\newcommand\ecvURL{\begingroup \urlstyle{sf}\Url} +\newcommand\ecvURL{\begingroup \urlstyle{sf}\Url} \newcommand\ecvEMail{\begingroup \urlstyle{sf}\Url} \ifpdf \newcommand{\ecvHyperLink}[1]{% @@ -852,7 +864,7 @@ % Vertical Spacing to be used in left column % begin new row: make an (optional) spacing before a section -\newcommand{\ecvBreaksections}[0]{& \tabularnewline[6pt]} +\newcommand{\ecvBreaksections}[0]{& \tabularnewline[6pt]} % begin new row: make a break before a subsection \newcommand{\ecvBreaksubsections}[0]{& \tabularnewline\smallskip} % begin new row: make a break inside a section (for subsub grouping of entries) @@ -878,7 +890,9 @@ % emphasizings text \newcommand{\ecvBold}[2][\ecv@lang]{% - \textbf{#2}% + \ifthenelse{\equal{#1}{\ecv@lang}}{% + \textbf{#2}% + }{}% } % bullets for the left column entries @@ -963,52 +977,70 @@ % Plain tag with ragged value \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}} % Plain tag with blocked value \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}} % bulleted first tag with ragged value \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}} % bulleted first tag with blocked value \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}} % bulleted intermediate tag with ragged value \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}} % bulleted intermediate tag with blocked value \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}} -% bulleted next tag with ragged value \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}} % bulleted next tag with blocked value \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}} % value only ragged \newcommand{\ecvOVR}[2][\ecv@lang]{% - & \ecvVR[#1]{#2} % + \ifthenelse{\equal{#1}{\ecv@lang}}{% + & \ecvVR[#1]{#2} % + }{}% } \newcommand{\ecvOnlyValueRagged}[2][\ecv@lang]{\ecvOVR[#1]{#2}} -% value only blocked \newcommand{\ecvOVB}[2][\ecv@lang]{% - & \ecvVB[#1]{#2} % + \ifthenelse{\equal{#1}{\ecv@lang}}{% + & \ecvVB[#1]{#2} % + }{}% } \newcommand{\ecvOnlyValueBlocked}[2][\ecv@lang]{\ecvOVB[#1]{#2}} @@ -1106,7 +1138,7 @@ %\fi % \begin{macrocode} %% -%% 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. @@ -1125,8 +1157,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} @@ -1162,7 +1194,7 @@ %\fi % \begin{macrocode} %% -%% 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. @@ -1182,8 +1214,8 @@ %% -\def\fileversion{0.1} -\def\filedate{2007/01/05} +\def\fileversion{0.3} +\def\filedate{2011/04/18} \NeedsTeXFormat{LaTeX2e} @@ -1274,7 +1306,7 @@ % \begin{document} preamble \AtBeginDocument{% \ifnum\ecvNLS@lang =\ecvNLS@german - \selectlanguage{german} + \selectlanguage{ngerman} \else \selectlanguage{english} \fi diff --git a/Master/texmf-dist/source/latex/ecv/ecv.ins b/Master/texmf-dist/source/latex/ecv/ecv.ins index e4dd7fb648f..f9cd22c15e9 100644 --- a/Master/texmf-dist/source/latex/ecv/ecv.ins +++ b/Master/texmf-dist/source/latex/ecv/ecv.ins @@ -1,8 +1,8 @@ -% ecv.ins generated using makedtx version 0.91b 2009/8/26 0:15 +% ecv.ins generated using makedtx version 0.91b 2011/4/23 10:03 \input docstrip \preamble -Copyright (C) 2009 Christoph P. Neumann & Bernd Haberstumpf, all rights reserved. +Copyright (C) 2011 Christoph P. Neumann & Bernd Haberstumpf, all rights reserved. If you modify this file, you must change its name first. You are NOT ALLOWED to distribute this file alone. You are NOT ALLOWED to take money for the distribution or use of either this |