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 | |
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')
15 files changed, 76 insertions, 47 deletions
diff --git a/Master/texmf-dist/doc/latex/mycv/CHANGELOG b/Master/texmf-dist/doc/latex/mycv/CHANGELOG index ed5eb38f934..1caad0492d0 100644 --- a/Master/texmf-dist/doc/latex/mycv/CHANGELOG +++ b/Master/texmf-dist/doc/latex/mycv/CHANGELOG @@ -3,4 +3,17 @@ Fri Apr 13 00:42:35 CEST 2012 -- Version <1.5.2> ------------------------------------------------ - * First public release
\ No newline at end of file + + First public release + +------------------------------------------------ +Sat Apr 14 20:17:28 CEST 2012 -- Version <1.5.3> +------------------------------------------------ + + ° Name and date of main files are now + extracted from my SVN repository so + as to prevent future oversights + + ° Renamed "*.tex" files in the bundle + base directory to "*.def" + + ° Some documentation adjustments
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Fundamentals.tex b/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Fundamentals.tex index d09efbcf895..8533ce5d527 100644 --- a/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Fundamentals.tex +++ b/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Fundamentals.tex @@ -44,25 +44,25 @@ The class \classname is composed by five files. A short brief of each one is giv it is the main file and, basically, handles the class options~\myref{sec:class-options} as well as the inclusion of all other files (the remaining four); \end{myindent} - \item \ctext{mycv\_base.tex} + \item \ctext{mycv\_base.def} \begin{myindent} it contains all the commands and definitions dealing with the layout components of a \CV~\myref{sec:layout-components}: it is the core-system file; \end{myindent} - \item \ctext{mycv\_default\_style.tex} + \item \ctext{mycv\_style.def} \begin{myindent} it contains the default style commands~\myref{sub:style-commands} provided by this class: if the default style is not used, %~\myref{sec:class-options} this file will not be included by \textit{mycv.cls}; \end{myindent} - \item \ctext{mycv\_dec.tex} + \item \ctext{mycv\_dec.def} \begin{myindent} it contains the decoration commands~\myref{sub:decoration-commands}: if decorations are not enabled% %~\myref{sec:class-options} , this file will not be included by \textit{mycv.cls}; \end{myindent} - \item \ctext{mycv\_misc.tex} + \item \ctext{mycv\_misc.def} \begin{myindent} it contains some miscellaneous commands and definitions. \end{myindent} diff --git a/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Usage.tex b/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Usage.tex index faccb9d8767..43cfcbccad6 100644 --- a/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Usage.tex +++ b/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Usage.tex @@ -8,14 +8,14 @@ \section{Requirements} When \textit{decorations} are not enabled and the \textit{default style} is not used, \classname has -the following requirements:\codeskip +(apart from \ctLaTeXe) the following requirements:\codeskip \begin{lstlisting}[firstnumber=1,numbers=none] -\NeedsTeXFormat{LaTeX2e} \RequirePackage{kvoptions} % for options \RequirePackage{etextools} % for lists and other useful tools \RequirePackage{ifthen} % for \ifthenelse command \RequirePackage{pifont} % for ding style (itemize environment) \RequirePackage{xstring} % for string utilities +\RequirePackage{svn-prov} % for file info extracted from SVN \RequirePackage{xparse} % for commands with multiple default arguments \end{lstlisting}\codeskip @@ -42,7 +42,6 @@ RequirePackage{tikz} % for graphics \classname can use any option supported by the \textit{article} class, on which is based. In addiction, it provides the following options: - \def\tmpcolor{brown} \squishlist \item {\color{red}language=<\argname[\tmpcolor]{string}>} @@ -56,9 +55,9 @@ addiction, it provides the following options: \end{myindent} \item {\color{red}style=<\argname[\tmpcolor]{filemane}>} \begin{myindent} - specifies the file name (with or without ``.tex'' extension) with the style commands. - By default, the file \textit{mycv\_default\_style}, provided by the class itself, is that used. - It is also possible to not use a style file by specifying the value ``none'' as file name; + specifies the file name (without the extension ``.tex'' if any) with the style commands. + By default, the file \textit{mycv\_style.def}, provided by the class itself, is that used. + It is also possible to not use any file by specifying the value ``none'' as file name; \end{myindent} \item {\color{red}mdlname=<\argname[\tmpcolor]{name}>} \begin{myindent} @@ -83,12 +82,15 @@ which need the class option ``\textit{withDec}'' to be used. In the following te when present, the form {\color{blue}\omissis} (or {\color{blue}<...>}) indicates the default choice for an optional argument of a command. -\subsection{Conditional} +\subsection{Conditionals} \squishlist -\item - \cmdname{ifoption}\marg{option}\arghsep\marg{true}\arghsep\marg{false}\argvsep - \cmdname{ifmodel}\marg{mdlname}\arghsep\marg{true}\arghsep\marg{false}\cmddsep +\item \cmdname{ifoption} + \marg{option}\arghsep + \marg{true}\arghsep\marg{false}\argvsep + \cmdname{ifmodel} + \marg{mdlname}\arghsep + \marg{true}\arghsep\marg{false}\cmddsep \textit{ifoption} checks whether \argname{option} was used, while \textit{ifmodel} checks whether \argname{mdlname} was registered in the class; then both commands use the appropriate \argname{true} or \argname{false} block of code. @@ -241,7 +243,7 @@ The sample code presented here can be found in the ``Examples'' directory shippe contents: these files are not listed in the present document, as they do not contain anything worth being mentioned for the purpose of these notes. -First and foremost, to keep things ordered, we need a file containing the layout components +First and foremost, to keep the code organized, we need a file containing the layout components for the \DPL (\textit{model-dpl.tex}) and another one for the \SPL (\textit{model-spl.tex}). %For our intents, @@ -284,8 +286,7 @@ the \SPL (\textit{model-dpl.tex}). In this case, we do not need to use \verb|*Pa but it is sufficient to directly include the files with the contents. The resulting code is showed in listing~\ref{lst:splmodel}. \lstinputlisting[firstnumber=1,caption=model-spl.tex,label=lst:splmodel]{ -../Examples/Models/model-spl.tex } -\codeskip +../Examples/Models/model-spl.tex }\codeskip At this point, we both have the components for the double and single page layouts and we can proceed writing the main files (\textit{mycv-example-dpl.tex} and \textit{mycv-example-spl.tex}) diff --git a/Master/texmf-dist/doc/latex/mycv/Doc/FrontBackMatter/Titlepage+Abstract.tex b/Master/texmf-dist/doc/latex/mycv/Doc/FrontBackMatter/Titlepage+Abstract.tex index 6396ef1ef78..14079c3c0ac 100644 --- a/Master/texmf-dist/doc/latex/mycv/Doc/FrontBackMatter/Titlepage+Abstract.tex +++ b/Master/texmf-dist/doc/latex/mycv/Doc/FrontBackMatter/Titlepage+Abstract.tex @@ -6,14 +6,15 @@ % Definitions % =========== -\def\version{1.5.2} +%\def\version{1.5.2} % this sets the counter to symbols (*, dagger, and so on) \renewcommand{\thefootnote}{\fnsymbol{footnote}} \newcommand{\HRule}{\rule{\linewidth}{0.5mm}} -%\def\versionMsg{... last revised \today, documentation dated XXX} -\def\versionMsg{This file has version number \version, documentation dated \today} +\def\versionMsg{This file has version number \version{} \texttt{---} % + documentation dated April 13, 2012 \texttt{---} % + last revised \today} % ======================= % Upper part of the page diff --git a/Master/texmf-dist/doc/latex/mycv/Doc/mycv-macros.sty b/Master/texmf-dist/doc/latex/mycv/Doc/mycv-macros.sty index 3d0600e7f69..118cb560e65 100644 --- a/Master/texmf-dist/doc/latex/mycv/Doc/mycv-macros.sty +++ b/Master/texmf-dist/doc/latex/mycv/Doc/mycv-macros.sty @@ -1,13 +1,15 @@ %@ ------------------------------------------------------- -%@ start of file 'mycv-macros.sty'. %@ 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'. %@ ------------------------------------------------------- -\ProvidesPackage{mycv-macros}[2012/04/13% - A package providing some useful commands] + +\RequirePackage{svn-prov} +\ProvidesPackageSVN + {$Id: mycv-macros.sty 60 2012-04-14 23:33:21Z ghangenit $} + [\version][A package providing some useful commands] \ifdraft % --------------------------------- diff --git a/Master/texmf-dist/doc/latex/mycv/Doc/mycv.tex b/Master/texmf-dist/doc/latex/mycv/Doc/mycv.tex index 61e9dbb4a51..7efdc8fe34c 100644 --- a/Master/texmf-dist/doc/latex/mycv/Doc/mycv.tex +++ b/Master/texmf-dist/doc/latex/mycv/Doc/mycv.tex @@ -1,3 +1,4 @@ +\def\version{1.5.3} \newif\ifdraft %\drafttrue % se decommentato utilizza formato bozza diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.pdf b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.pdf Binary files differindex e1e415fcaf0..ebe8f5e63ad 100644 --- a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.pdf +++ b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.pdf diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.pdf b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.pdf Binary files differindex 3cdd1fc4037..45658136c45 100644 --- a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.pdf +++ b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.pdf diff --git a/Master/texmf-dist/doc/latex/mycv/README b/Master/texmf-dist/doc/latex/mycv/README index f6b6a5f6a01..9b105f2306e 100644 --- a/Master/texmf-dist/doc/latex/mycv/README +++ b/Master/texmf-dist/doc/latex/mycv/README @@ -1,7 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % -% MyCV class (v1.5.2) % -% 2012/04/13 % +% MyCV class (v1.5.3) % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -48,7 +47,7 @@ and sub-directories: 'README' -- this file 'CHANGELOG -- the revision history 'mycv.cls' -- the main class file (**) -'mycv_*.tex' -- files to support the main +'mycv_*.def' -- files to support the main class implementation (**) 'mycv.pdf' -- the documentation file <Examples> -- directory with some examples @@ -58,7 +57,7 @@ and sub-directories: Installation ------------ -In order to install the MyCV class, move all 'mycv_*.tex' +In order to install the MyCV class, move all 'mycv_*.def' and 'mycv.cls' files, marked with '**' in the list above, into a folder searched by LaTeX; the refresh of the LaTeX database might be necessary to complete the installation. @@ -66,7 +65,7 @@ database might be necessary to complete the installation. To produce the files with examples, move to the directory <Examples> and run 'mycv-example-[dpl or spl].tex through pdfLaTeX. For 'mycv-example-dpl.tex' might be required to -repeat the operation once again. +repeat the operation twice. To create the documentation, move to the <Doc> directory and run 'mycv.tex' twice through pdfLaTeX. diff --git a/Master/texmf-dist/doc/latex/mycv/mycv.pdf b/Master/texmf-dist/doc/latex/mycv/mycv.pdf Binary files differindex 95581db376b..927eeba7032 100644 --- a/Master/texmf-dist/doc/latex/mycv/mycv.pdf +++ b/Master/texmf-dist/doc/latex/mycv/mycv.pdf 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 |