diff options
author | Karl Berry <karl@freefriends.org> | 2012-04-16 22:48:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-04-16 22:48:16 +0000 |
commit | 8a22e5b74a3f7028276a859f9890fa82d1dc5c89 (patch) | |
tree | 1028adfd6e1dfb16cdfbfaae300f46d3b0191908 /Master/texmf-dist/tex/latex/mycv/mycv.cls | |
parent | 76e16dc8afcc19ccbb1cc66be529411dfe41ce6e (diff) |
mycv (16apr12)
git-svn-id: svn://tug.org/texlive/trunk@25992 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mycv/mycv.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/mycv/mycv.cls | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/mycv/mycv.cls b/Master/texmf-dist/tex/latex/mycv/mycv.cls index 0df161ff8df..adee0b52d61 100644 --- a/Master/texmf-dist/tex/latex/mycv/mycv.cls +++ b/Master/texmf-dist/tex/latex/mycv/mycv.cls @@ -1,5 +1,4 @@ % ------------------------------------------------------- -% start of file 'mycv.cls'. % Copyright 2012 Ghersi Andrea (ghanhawk@gmail.com). % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License version @@ -8,7 +7,7 @@ % =============================================================================== % ------------------------------------------------------------------------- % -% Why a class file? (from document: LaTeX 2ε for class and package writers) % +% Why a class file? (from document: LaTeX 2e for class and package writers) % % ------------------------------------------------------------------------- % % % % The first thing to do when you want to put some new LaTEX commands in a file % @@ -20,8 +19,13 @@ % =============================================================================== \NeedsTeXFormat{LaTeX2e} -\def\myversionstr{v1.5.2} -\ProvidesClass{mycv}[2012/04/13 \myversionstr My Curriculum Vitae Class] + +\RequirePackage{svn-prov} +\def\@versionstr{1.5.3} + +\ProvidesClassSVN + {$Id: mycv.cls 60 2012-04-14 23:33:21Z ghangenit $} + [\@versionstr][My Curriculum Vitae class] % ======== % Packages @@ -44,7 +48,7 @@ \DeclareStringOption[english]{language} \DeclareStringOption[Contents]{cntdir} -\DeclareStringOption[mycv_default_style]{style} +\DeclareStringOption[mycv_style.def]{style} \DeclareStringOption[]{mdlname} \ProcessKeyvalOptions* @@ -64,8 +68,12 @@ % File inclusions % =============== -\input{mycv_base} -\input{mycv_misc} +\input{mycv_base.def} +\input{mycv_misc.def} + +% ------------------------------------- +% use custom, default or any style file +% ------------------------------------- \ifthenelse{\equal{\mycv@style}{none}}% {\relax}% file style is not wanted {\input{\mycv@style}} @@ -74,7 +82,7 @@ % use decorations or not % ---------------------- \ifthenelse{\boolean{mycv@withDec}}% - {\input{mycv_dec}}% + {\input{mycv_dec.def}}% {\relax} \DeclareRobustCommand{\ifmodel}[1]{% |