summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mycv/mycv.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/mycv/mycv.cls')
-rw-r--r--Master/texmf-dist/tex/latex/mycv/mycv.cls24
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]{%