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 | |
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')
-rw-r--r-- | Master/texmf-dist/tex/latex/mycv/mycv.cls | 24 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mycv/mycv_base.def (renamed from Master/texmf-dist/tex/latex/mycv/mycv_base.tex) | 5 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mycv/mycv_dec.def (renamed from Master/texmf-dist/tex/latex/mycv/mycv_dec.tex) | 7 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mycv/mycv_misc.def (renamed from Master/texmf-dist/tex/latex/mycv/mycv_misc.tex) | 7 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mycv/mycv_style.def (renamed from Master/texmf-dist/tex/latex/mycv/mycv_default_style.tex) | 5 |
5 files changed, 30 insertions, 18 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]{% diff --git a/Master/texmf-dist/tex/latex/mycv/mycv_base.tex b/Master/texmf-dist/tex/latex/mycv/mycv_base.def index 0c059f91916..4e72424b43b 100644 --- a/Master/texmf-dist/tex/latex/mycv/mycv_base.tex +++ b/Master/texmf-dist/tex/latex/mycv/mycv_base.def @@ -1,12 +1,13 @@ % ------------------------------------------------------- -% start of file 'mycv_base.tex'. % 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 % 1.3c, available at 'http://www.latex-project.org/lppl'. % ------------------------------------------------------- -\ProvidesFile{mycv_base.tex} +\ProvidesFileSVN + {$Id: mycv_base.def 60 2012-04-14 23:33:21Z ghangenit $} + [\@versionstr][Base system core] %%%%%%%%%%%%%%%%%% % % diff --git a/Master/texmf-dist/tex/latex/mycv/mycv_dec.tex b/Master/texmf-dist/tex/latex/mycv/mycv_dec.def index 8283a678587..ab44b606e80 100644 --- a/Master/texmf-dist/tex/latex/mycv/mycv_dec.tex +++ b/Master/texmf-dist/tex/latex/mycv/mycv_dec.def @@ -1,12 +1,13 @@ % ------------------------------------------------------- -% start of file 'mycv_dec.tex'. % 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 % 1.3c, available at 'http://www.latex-project.org/lppl'. % ------------------------------------------------------- -\ProvidesFile{mycv_dec.tex} +\ProvidesFileSVN + {$Id: mycv_dec.def 60 2012-04-14 23:33:21Z ghangenit $} + [\@versionstr][Decorations commands] \RequirePackage{tikz} % for graphics \usetikzlibrary{shapes,decorations,shadows,fadings} @@ -16,7 +17,7 @@ \usetikzlibrary{calc} \RequirePackage{xparse} -%%%%%%%%%%%% +%%%%%%%%%%%% % % % Settings % % % diff --git a/Master/texmf-dist/tex/latex/mycv/mycv_misc.tex b/Master/texmf-dist/tex/latex/mycv/mycv_misc.def index d2befd393dc..deac4e5ca5a 100644 --- a/Master/texmf-dist/tex/latex/mycv/mycv_misc.tex +++ b/Master/texmf-dist/tex/latex/mycv/mycv_misc.def @@ -1,12 +1,13 @@ % ------------------------------------------------------- -% start of file 'mycv_misc.tex'. % 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 % 1.3c, available at 'http://www.latex-project.org/lppl'. % ------------------------------------------------------- -\ProvidesFile{mycv_stuff.tex} +\ProvidesFileSVN + {$Id: mycv_misc.def 60 2012-04-14 23:33:21Z ghangenit $} + [\@versionstr][Miscellaneous commands] \RequirePackage{hyperref} @@ -21,7 +22,7 @@ pdfsubject = \@pdfsubject, pdfproducer = \LaTeX{}, pdfkeywords = cv curriculum vit\ae{}, - pdfcreator = \LaTeX{} with 'mycv' (\myversionstr) + pdfcreator = \LaTeX{} with 'mycv' (v\@versionstr) } %%%%%%%%%%% diff --git a/Master/texmf-dist/tex/latex/mycv/mycv_default_style.tex b/Master/texmf-dist/tex/latex/mycv/mycv_style.def index 63d3c503f33..55b7ec1daf7 100644 --- a/Master/texmf-dist/tex/latex/mycv/mycv_default_style.tex +++ b/Master/texmf-dist/tex/latex/mycv/mycv_style.def @@ -1,12 +1,13 @@ % ------------------------------------------------------- -% start of file 'mycv_default_style.tex'. % 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 % 1.3c, available at 'http://www.latex-project.org/lppl'. % ------------------------------------------------------- -\ProvidesFile{mycv_default_style.tex} +\ProvidesFileSVN + {$Id: mycv_style.def 60 2012-04-14 23:33:21Z ghangenit $} + [\@versionstr][Default style file] \RequirePackage{titlesec} % for title format and spacing \RequirePackage{fancyhdr} % custom footer |