texlive[48257] Master/texmf-dist: europecv (23jul18)

commits+karl at tug.org commits+karl at tug.org
Mon Jul 23 23:07:04 CEST 2018


Revision: 48257
          http://tug.org/svn/texlive?view=revision&revision=48257
Author:   karl
Date:     2018-07-23 23:07:04 +0200 (Mon, 23 Jul 2018)
Log Message:
-----------
europecv (23jul18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/europecv/CHANGELOG.rst
    trunk/Master/texmf-dist/doc/latex/europecv/README.md
    trunk/Master/texmf-dist/doc/latex/europecv/europecv.pdf
    trunk/Master/texmf-dist/doc/latex/europecv/europecv.tex
    trunk/Master/texmf-dist/doc/latex/europecv/templates/cv_template_en.pdf
    trunk/Master/texmf-dist/doc/latex/europecv/templates/cv_template_en.tex
    trunk/Master/texmf-dist/tex/latex/europecv/europecv.cls

Modified: trunk/Master/texmf-dist/doc/latex/europecv/CHANGELOG.rst
===================================================================
--- trunk/Master/texmf-dist/doc/latex/europecv/CHANGELOG.rst	2018-07-23 21:06:49 UTC (rev 48256)
+++ trunk/Master/texmf-dist/doc/latex/europecv/CHANGELOG.rst	2018-07-23 21:07:04 UTC (rev 48257)
@@ -1,6 +1,14 @@
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 Changelog for package europecv
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+2018.07.23
+----------
+* More changes based on #2. The \ecvtelephone command changed to maintain forward compatibility.
+* added the new commands to \ecvspace
+* redefine thebibliography environment due to errors in the wake of \section redefinition
+* Fix some minor documentations quirks.
+* Contributor: Jürgen Spitzmüller
+
 2018.07.22
 ----------
 * Some changes based on #2. Specifically, the \ecvsection and \ecvfax commands have been restored. Furthermore, the documentation has been updtated explaining how to use the \ecvtelephone command.
@@ -15,4 +23,4 @@
 2018.07.12
 ----------
 * New features have been added to the LaTeX package. Now, you can add in your CV the Skype account, the professional or institutional address and the certified one (useful if you are Italian), and the office number. A GitHub repository has been opened to improve the development of new functionalities and, at the same time, make it easier to find and fix bugs.
-* Contributors: Giuseppe Silano
\ No newline at end of file
+* Contributors: Giuseppe Silano

Modified: trunk/Master/texmf-dist/doc/latex/europecv/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/europecv/README.md	2018-07-23 21:06:49 UTC (rev 48256)
+++ trunk/Master/texmf-dist/doc/latex/europecv/README.md	2018-07-23 21:07:04 UTC (rev 48257)
@@ -1,4 +1,4 @@
-[![All Contributors](https://img.shields.io/badge/all_contributors-14-orange.svg?style=flat-square)](#contributors)
+[![All Contributors](https://img.shields.io/badge/all_contributors-15-orange.svg?style=flat-square)](#contributors)
 
 
 # EuropeCV
@@ -13,13 +13,3 @@
 Therefore, you can independently change the content of the translation files by editing the text in the ```.def``` files. The suffix "it", "de", and so on, indicates the language (e.g., "it" means Italian, "de" German, etc.).
 
 Conversely, the ```.cls``` file contains the heart of the code. You can use it to redefine the package by adding your functionality. In such case, please feel free to share your code with the community members that already use EuropeCV.
-
-# ✨ Contributors ✨
-
-Thanks goes to these wonderful people:
-
-<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
-<!-- prettier-ignore -->
-[<img src="https://avatars2.githubusercontent.com/u/18560806?s=460&v=4" width="100px;"/><br /><sub><b>Giuseppe Silano</b></sub>](https://github.com/gsilano)<br /> [📖](https://github.com/gsilano/EuropeCV/commits?author=gsilano "Documentation")
-
-Please do not hesitate to let me know if I have forgotten someone :)

Modified: trunk/Master/texmf-dist/doc/latex/europecv/europecv.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/europecv/europecv.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/europecv/europecv.tex	2018-07-23 21:06:49 UTC (rev 48256)
+++ trunk/Master/texmf-dist/doc/latex/europecv/europecv.tex	2018-07-23 21:07:04 UTC (rev 48257)
@@ -51,7 +51,7 @@
     Department of Engineering\\
     University of Sannio in Benevento, Italy\\
 }
-\date{July 22, 2018}
+\date{July 23, 2018}
 
 
 \begin{document}
@@ -217,8 +217,7 @@
 	\ecvitem{\ecv{lastname}\texttt{\{}\textit{name}\texttt{\}}}{\textbf{Deprecated.} Use \ecv{name} and \ecv{footername} instead.}
 	\ecvitem{\ecv{address}\texttt{\{}\textit{addr}\texttt{\}}}{Sets the address to \emph{addr}.}
 	\ecvitem{\ecv{fax}\texttt{\{}\textit{fax}\texttt{\}}}{Sets the fax number to \emph{fax}. If you do not have any fax number, you can leave it empty.}
-	\ecvitem{\ecv{telephone}\texttt{[}\textit{office}\texttt{]}\texttt{\{}\textit{mobile}\texttt{\}}\\\texttt{\{}\textit{tel}\texttt{\}}}{Sets the telephone number to \emph{tel} and, optionally, the mobile and the office numbers to~\emph{mobile} and to~\emph{office}, respectively.}
-	\ecvitem{\ecv{fax}\texttt{\{}\textit{fax}\texttt{\}}}{Sets the fax number to \emph{fax}.}
+	\ecvitem{\ecv{telephone}\texttt{[}\textit{mobile}\texttt{]}\texttt{[}\textit{office}\texttt{]}\\\texttt{\{}\textit{tel}\texttt{\}}}{Sets the telephone number to \emph{tel} and, optionally, the mobile and the office numbers to~\emph{mobile} and to~\emph{office}, respectively.}
 	\ecvitem{\ecv{email}\texttt{\{}\textit{email}\texttt{\}}}{Sets the email to \emph{email}.}
 	\ecvitem{\ecv{professional}\texttt{\{}\textit{professional}\texttt{\}}}{Sets the professional email to \emph{professional}.}
 	\ecvitem{\ecv{pec}\texttt{\{}\textit{pec}\texttt{\}}}{Sets the PEC email to \emph{PEC}.}
@@ -249,7 +248,7 @@
 	\ecvname{Alan Touring}
 	\ecvfootername{}
 	\ecvaddress{Wilmslow, Cheshire, England}	
-	\ecvtelephone[1234]{5678}{4321}
+	\ecvtelephone[1234][5678]{4321}
 	\ecvfax{0055884321}
 	\ecvemail{\href{mailto:alan.touring at alan.turing}{alan.touring at alan.turing}}
 	\ecvprofessional{\href{mailto:alan.touring at alan.touring.work}{alan.touring at alan.touring.work}}
@@ -275,7 +274,7 @@
    \ecvname{Alan Touring}
    \ecvfootername{}
    \ecvaddress{Wilmslow, Cheshire, England}	
-   \ecvtelephone[1234]{5678}{4321}
+   \ecvtelephone[1234][5678]{4321}
    \ecvfax{0055884321}
    \ecvemail{\href{mailto:alan.touring at alan.turing}{alan.touring at alan.turing}}
    \ecvprofessional{\href{mailto:alan.touring at alan.touring.work}{alan.touring at alan.touring.work}}
@@ -302,7 +301,7 @@
 	\ecvname{Alan Touring}
 	\ecvfootername{}
 	\ecvaddress{Wilmslow, Cheshire, England}	
-	\ecvtelephone[1234]{5678}{4321}{0055884321}
+	\ecvtelephone[1234][5678]{4321}
 	\ecvfax{0055884321}
 	\ecvemail{\href{mailto:alan.touring at alan.turing}{alan.touring at alan.turing}}
 	\ecvprofessional{\href{mailto:alan.touring at alan.touring.work}{alan.touring at alan.touring.work}}
@@ -327,9 +326,9 @@
 	\ecvname{Alan Touring}
 	\ecvfootername{}
 	\ecvaddress{Wilmslow, Cheshire, England}	
-	\ecvtelephone[1234]{5678}{4321}
+	\ecvtelephone[1234][5678]{4321}
 	\ecvfax{0055884321}
-    \ecvemail{\href{mailto:alan.touring at alan.turing}{alan.touring at alan.turing}}
+        \ecvemail{\href{mailto:alan.touring at alan.turing}{alan.touring at alan.turing}}
  	\ecvprofessional{\href{mailto:alan.touring at alan.touring.work}{alan.touring at alan.touring.work}}
  	\ecvpec{\href{mailto:alan.touring at pec.it}{alan.touring at pec.it}}
  	\ecvskype{alan-touring}
@@ -518,7 +517,7 @@
 The main weakness of this class is related to bibliographies. If you insert a bibliography inside the \verb|europecv| environment with a command like:
 \begin{quote}
 	\begin{verbatim}
-	\ecvsection{Additional Information}
+	\section{Additional Information}
 	\ecvitem{}{\bibliographystyle{plain}
 	\nocite{*}
 	\bibliography{mypublications}}
@@ -528,7 +527,7 @@
 
 Another possibility is to use the \textsf{bibentry} package, and put each \verb|\bibentry| command inside an \ecv{item} command:
 \begin{quote}
-	%\ecvsection{Additional Information}
+	%\section{Additional Information}
 	\begin{verbatim}
 	\ecvitem{}{\textsc{Publications}}
 	\ecvitem{}{\bibentry{pub1}}
@@ -579,7 +578,7 @@
 \textbf{\large{7\hspace{0.5cm}Acknowledgments}}
 \vspace{0.25cm}
 
-Thanks to \textbf{Johann} for adding Norwegian language definitions, to \textbf{Thomas Clijsner} for Dutch language definitions, to \textbf{Ivan Lloro Boada} for Catalan language definitions, to \textbf{Petres Zolt\'an} for Hungarian language definitions and several bug fixes, to \textbf{Nemanja} for Serbian language definitions and to \textbf{Henrique Ferreiro} for Galician language definitions. Thanks to \textbf{Axel Kielhorn} for providing a complete German translation and a German template, to \textbf{Andrzej Lichnerowicz} for providing a complete Polish translation and a Polish template file, and to \textbf{Jo\"el Rouvi\`ere} for providing a complete French translation. Thanks to \textbf{Antonio Ospite} for providing the first version of a vector image of the Europass logo, and to \textbf{Jo\~ao Ventura} for providing the current vector pictures of the Europass logo. Thanks to \textbf{Roman Bertle} for suggesting to redefine item marks. 
+Thanks to \textbf{Johann} for adding Norwegian language definitions, to \textbf{Thomas Clijsner} for Dutch language definitions, to \textbf{Ivan Lloro Boada} for Catalan language definitions, to \textbf{Petres Zolt\'an} for Hungarian language definitions and several bug fixes, to \textbf{Nemanja} for Serbian language definitions and to \textbf{Henrique Ferreiro} for Galician language definitions. Thanks to \textbf{Axel Kielhorn} for providing a complete German translation and a German template, to \textbf{Andrzej Lichnerowicz} for providing a complete Polish translation and a Polish template file, and to \textbf{Jo\"el Rouvi\`ere} for providing a complete French translation. Thanks to \textbf{Antonio Ospite} for providing the first version of a vector image of the Europass logo, and to \textbf{Jo\~ao Ventura} for providing the current vector pictures of the Europass logo. Thanks to \textbf{Roman Bertle} for suggesting to redefine item marks. Thanks to \textbf{J\"urgen Spitzm\"uller} for fixing the bug into the 2018.07.22 package release.
 
 \vspace{0.5cm}
 \textbf{\large{8\hspace{0.5cm}Disclaimer}}
@@ -679,4 +678,4 @@
 \end{description}
 	
 	
-\end{document}
\ No newline at end of file
+\end{document}

Modified: trunk/Master/texmf-dist/doc/latex/europecv/templates/cv_template_en.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/europecv/templates/cv_template_en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/europecv/templates/cv_template_en.tex	2018-07-23 21:06:49 UTC (rev 48256)
+++ trunk/Master/texmf-dist/doc/latex/europecv/templates/cv_template_en.tex	2018-07-23 21:07:04 UTC (rev 48257)
@@ -18,7 +18,7 @@
 \ecvname{Name, Surname}
 \ecvfootername{Name, Surname}
 \ecvaddress{(Remove if not relevant)}
-\ecvtelephone[(Remove if not relevant)]{(Remove if not relevant)}{(Remove if not relevant)}
+\ecvtelephone[(Remove if not relevant)][(Remove if not relevant)]{(Remove if not relevant)}
 \ecvfax{(Remove if not relevant)}
 \ecvemail{\href{mailto:email at gemail.com}{email at email.com}}
 \ecvprofessional{\href{mailto:email at email.it}{email at email.it}}

Modified: trunk/Master/texmf-dist/tex/latex/europecv/europecv.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/europecv/europecv.cls	2018-07-23 21:06:49 UTC (rev 48256)
+++ trunk/Master/texmf-dist/tex/latex/europecv/europecv.cls	2018-07-23 21:07:04 UTC (rev 48257)
@@ -6,7 +6,7 @@
 % See  https://ctan.mirror.garr.it/mirrors/CTAN/help/Catalogue/licenses.lppl.html
 % for the details of that license
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{europecv}[2018/07/13 (beta+Unicode TeX detection) European curriculum vitae class]
+\ProvidesClass{europecv}[2018/07/23 (Unicode TeX detection) European curriculum vitae class]
 
 % CV models and instructions:
 %   http://europass.cedefop.eu.int/htm/index.htm
@@ -357,7 +357,22 @@
 \newcommand*{\ecvname}[1]{\def\ecv at name{#1}} % Replaces the above
 \newcommand*{\ecvfootername}[1]{\def\ecv at footername{#1}}
 \newcommand*{\ecvaddress}[1]{\def\ecv at address{#1}}
-\newcommand*{\ecvtelephone}[3][]{\def\ecv at telephone{#2}\def\ecv at mobile{#1}\def\ecv at office{#3}}
+% \ecvtelephone[mobile][office]{home}
+\def\ecvtelephone{%
+   \@ifnextchar[%
+     {\ecvtelephone at i}
+     {\ecvtelephone at i[]}%
+}
+\def\ecvtelephone at i[#1]{%
+   \@ifnextchar[%
+     {\ecvtelephone at ii{#1}}
+     {\ecvtelephone at ii{#1}[]}%
+}
+\def\ecvtelephone at ii#1[#2]#3{%
+ \def\ecv at mobile{#1}
+ \def\ecv at office{#2}
+ \def\ecv at telephone{#3}
+}
 \newcommand*{\ecvfax}[1]{\def\ecv at fax{#1}}
 \newcommand*{\ecvemail}[1]{\def\ecv at email{#1}}
 \newcommand*{\ecvprofessional}[1]{\def\ecv at professional{#1}}
@@ -388,6 +403,8 @@
 \ecvname{\ecv at lastname\ \ecv at firstname}
 \ecvfootername{\ecv at name}
 \ecvaddress{}
+\ecvskype{}
+\ecvprofessional{}
 \ecvtelephone{}
 \ecvfax{}
 \ecvemail{}
@@ -410,10 +427,15 @@
 \ifx\@empty\ecv at address\else
 \ecv at addresskey     &\ecv at address   \tabularnewline[5pt]
 \fi
-\ifx\@empty\ecv at telephone  \else         \ecv at telkey      &\ecv at telephone
-\ifx\@empty\ecv at mobile     \else \qquad  \ecv at mobilekey:  \ecv at mobile\fi
-\ifx\@empty\ecv at office     \else \qquad  \ecv at officekey:  \ecv at office\fi
-\tabularnewline[5pt]
+\ifx\@empty\ecv at telephone\else
+   \ecv at telkey &\ecv at telephone
+   \ifx\@empty\ecv at mobile\else
+     \qquad  \ecv at mobilekey:  \ecv at mobile
+   \fi
+   \ifx\@empty\ecv at office\else
+     \qquad  \ecv at officekey:  \ecv at office
+   \fi
+   \tabularnewline[5pt]
 \fi
 \ifx\@empty\ecv at fax\else
 \ecv at faxkey       &\ecv at fax \tabularnewline[5pt]
@@ -608,9 +630,29 @@
   {\large{\par\textbf{#2}}}\vspace{#1} & \tabularnewline\nopagebreak
 }
 
-\newcommand{\ecvsection}[2][10pt]{%
-  {\large{\par\textbf{#2}}}\vspace{#1} & \tabularnewline\nopagebreak
-}
+% Alias for backwards compatibility
+\let\ecvsection\section
+
+% Redefine from article.cls without section header
+\renewenvironment{thebibliography}[1]
+     {%\section*{\refname}%
+      \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
+      \list{\@biblabel{\@arabic\c at enumiv}}%
+           {\settowidth\labelwidth{\@biblabel{#1}}%
+            \leftmargin\labelwidth
+            \advance\leftmargin\labelsep
+            \@openbib at code
+            \usecounter{enumiv}%
+            \let\p at enumiv\@empty
+            \renewcommand\theenumiv{\@arabic\c at enumiv}}%
+      \sloppy
+      \clubpenalty4000
+      \@clubpenalty \clubpenalty
+      \widowpenalty4000%
+      \sfcode`\.\@m}
+     {\def\@noitemerr
+       {\@latex at warning{Empty `thebibliography' environment}}%
+      \endlist}
           
 \newif\if at ecvitemstar
 \newcommand\ecvitem{\@ifstar{\@ecvitemstartrue \@ecvitem}%



More information about the tex-live-commits mailing list