%%
%% Copyright 2006-2007 Christoph Neumann, Bernd Haberstumpf
%%
%% This LaTeX package provides NLS support for the ecv class.
%%
%% 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
%% 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
%% FITNESS FOR A PARTICULAR PURPOSE.
%%
%% SPECIAL THANKS to
%% Alexander von Gernler, who introduced me to the European Curriculum Vitae
%%

\def\fileversion{0.1}
\def\filedate{2007/01/05}

\NeedsTeXFormat{LaTeX2e}


\ProvidesPackage{ecvNLS}[\filedate %
  \space Version \fileversion\space by %
  Christoph Neumann & Bernd Haberstumpf %
]


\def\ecvNLS@lang{german}
\def\ecvNLS@german{1}
\def\ecvNLS@english{2}
\DeclareOption{german}{\def\ecvNLS@lang{\ecvNLS@german}\input{ecvGerman.ldf}}
\DeclareOption{english}{\def\ecvNLS@lang{\ecvNLS@english}\input{ecvEnglish.ldf}}
\ProcessOptions


\RequirePackage[ngerman,english]{babel}

\AtBeginDocument{%
  \ifnum\ecvNLS@lang =\ecvNLS@german
    \selectlanguage{ngerman}
  \else
    \selectlanguage{english}
  \fi
}


\newcommand{\ecvPage}{\ecvNLS@Page}
\newcommand{\ecvTitle}{\ecvNLS@Title}
\newcommand{\ecvPerson}{\ecvNLS@Person}
\newcommand{\ecvProfession}{\ecvNLS@Profession}
\newcommand{\ecvEducation}{\ecvNLS@Education}
\newcommand{\ecvResearch}{\ecvNLS@Research}
\newcommand{\ecvAwards}{\ecvNLS@Awards}
\newcommand{\ecvPublications}{\ecvNLS@Publications}
\newcommand{\ecvScholarships}{\ecvNLS@Scholarships}
\newcommand{\ecvJobs}{\ecvNLS@Jobs}
\newcommand{\ecvLanguages}{\ecvNLS@Languages}
\newcommand{\ecvLanguageTravels}{\ecvNLS@LanguageTravels}
\newcommand{\ecvAbilities}{\ecvNLS@Abilities}
\newcommand{\ecvConferences}{\ecvNLS@Conferences}
\newcommand{\ecvSpeeches}{\ecvNLS@Speeches}
\newcommand{\ecvTrainig}{\ecvNLS@Trainig}
\newcommand{\ecvAttachements}{\ecvNLS@Attachements}
\endinput
%%
%% End of file `ecvNLS.sty'.
