From 8a22e5b74a3f7028276a859f9890fa82d1dc5c89 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 16 Apr 2012 22:48:16 +0000 Subject: mycv (16apr12) git-svn-id: svn://tug.org/texlive/trunk@25992 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/mycv/CHANGELOG | 15 +++++++++++- .../doc/latex/mycv/Doc/Chapters/Fundamentals.tex | 8 +++--- .../doc/latex/mycv/Doc/Chapters/Usage.tex | 27 +++++++++++---------- .../Doc/FrontBackMatter/Titlepage+Abstract.tex | 7 +++--- .../texmf-dist/doc/latex/mycv/Doc/mycv-macros.sty | 8 +++--- Master/texmf-dist/doc/latex/mycv/Doc/mycv.tex | 1 + .../doc/latex/mycv/Examples/mycv-example-dpl.pdf | Bin 82421 -> 82493 bytes .../doc/latex/mycv/Examples/mycv-example-spl.pdf | Bin 42355 -> 42438 bytes Master/texmf-dist/doc/latex/mycv/README | 9 +++---- Master/texmf-dist/doc/latex/mycv/mycv.pdf | Bin 291771 -> 292318 bytes 10 files changed, 46 insertions(+), 29 deletions(-) (limited to 'Master/texmf-dist/doc/latex/mycv') 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 index e1e415fcaf0..ebe8f5e63ad 100644 Binary files a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.pdf and b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.pdf differ 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 index 3cdd1fc4037..45658136c45 100644 Binary files a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.pdf and b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.pdf differ 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 -- 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 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 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 index 95581db376b..927eeba7032 100644 Binary files a/Master/texmf-dist/doc/latex/mycv/mycv.pdf and b/Master/texmf-dist/doc/latex/mycv/mycv.pdf differ -- cgit v1.2.3