diff options
author | Karl Berry <karl@freefriends.org> | 2018-07-23 21:07:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-07-23 21:07:04 +0000 |
commit | 52ec2695fa42fcdb25837a134919d298f848f41d (patch) | |
tree | ebc5404e2a0b2cf60ee79be512dde205240a868c | |
parent | 0a643319cbe02210a8bc148efaa0c7f59c8ee400 (diff) |
europecv (23jul18)
git-svn-id: svn://tug.org/texlive/trunk@48257 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/europecv/CHANGELOG.rst | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/europecv/README.md | 12 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/europecv/europecv.pdf | bin | 670274 -> 671316 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/europecv/europecv.tex | 23 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/europecv/templates/cv_template_en.pdf | bin | 35175 -> 35364 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/europecv/templates/cv_template_en.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/europecv/europecv.cls | 60 |
7 files changed, 73 insertions, 34 deletions
diff --git a/Master/texmf-dist/doc/latex/europecv/CHANGELOG.rst b/Master/texmf-dist/doc/latex/europecv/CHANGELOG.rst index b05861593a1..d122adadbf4 100644 --- a/Master/texmf-dist/doc/latex/europecv/CHANGELOG.rst +++ b/Master/texmf-dist/doc/latex/europecv/CHANGELOG.rst @@ -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 @@ Changelog for package europecv 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 diff --git a/Master/texmf-dist/doc/latex/europecv/README.md b/Master/texmf-dist/doc/latex/europecv/README.md index e5b0993a339..c3014c26c5d 100644 --- a/Master/texmf-dist/doc/latex/europecv/README.md +++ b/Master/texmf-dist/doc/latex/europecv/README.md @@ -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 @@ I apologize if some translations are wrong, but Italian is my mother tongue. I'm 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 :) diff --git a/Master/texmf-dist/doc/latex/europecv/europecv.pdf b/Master/texmf-dist/doc/latex/europecv/europecv.pdf Binary files differindex f90fbd93d02..9c94b40f61d 100644 --- a/Master/texmf-dist/doc/latex/europecv/europecv.pdf +++ b/Master/texmf-dist/doc/latex/europecv/europecv.pdf diff --git a/Master/texmf-dist/doc/latex/europecv/europecv.tex b/Master/texmf-dist/doc/latex/europecv/europecv.tex index efabb206461..86618697bec 100644 --- a/Master/texmf-dist/doc/latex/europecv/europecv.tex +++ b/Master/texmf-dist/doc/latex/europecv/europecv.tex @@ -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 @@ The following options can be used with the \texttt{\textbackslash documentclass} \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 @@ For example, consider the following document: \ecvname{Alan Touring} \ecvfootername{} \ecvaddress{Wilmslow, Cheshire, England} - \ecvtelephone[1234]{5678}{4321} + \ecvtelephone[1234][5678]{4321} \ecvfax{0055884321} \ecvemail{\href{mailto:alan.touring@alan.turing}{alan.touring@alan.turing}} \ecvprofessional{\href{mailto:alan.touring@alan.touring.work}{alan.touring@alan.touring.work}} @@ -275,7 +274,7 @@ The above will produce the following output: \ecvname{Alan Touring} \ecvfootername{} \ecvaddress{Wilmslow, Cheshire, England} - \ecvtelephone[1234]{5678}{4321} + \ecvtelephone[1234][5678]{4321} \ecvfax{0055884321} \ecvemail{\href{mailto:alan.touring@alan.turing}{alan.touring@alan.turing}} \ecvprofessional{\href{mailto:alan.touring@alan.touring.work}{alan.touring@alan.touring.work}} @@ -302,7 +301,7 @@ If you do not want to use so much space, you may add some negative space with \e \ecvname{Alan Touring} \ecvfootername{} \ecvaddress{Wilmslow, Cheshire, England} - \ecvtelephone[1234]{5678}{4321}{0055884321} + \ecvtelephone[1234][5678]{4321} \ecvfax{0055884321} \ecvemail{\href{mailto:alan.touring@alan.turing}{alan.touring@alan.turing}} \ecvprofessional{\href{mailto:alan.touring@alan.touring.work}{alan.touring@alan.touring.work}} @@ -327,9 +326,9 @@ The output of the above code looks like this: \ecvname{Alan Touring} \ecvfootername{} \ecvaddress{Wilmslow, Cheshire, England} - \ecvtelephone[1234]{5678}{4321} + \ecvtelephone[1234][5678]{4321} \ecvfax{0055884321} - \ecvemail{\href{mailto:alan.touring@alan.turing}{alan.touring@alan.turing}} + \ecvemail{\href{mailto:alan.touring@alan.turing}{alan.touring@alan.turing}} \ecvprofessional{\href{mailto:alan.touring@alan.touring.work}{alan.touring@alan.touring.work}} \ecvpec{\href{mailto:alan.touring@pec.it}{alan.touring@pec.it}} \ecvskype{alan-touring} @@ -518,7 +517,7 @@ Some parameters can be set by using the following commands. 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 @@ the bibliography will flow out if it does not fit in the current page. The reaso 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 @@ The \textsf{europecv} class uses standard \LaTeX\ relative font sizes, so there \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 @@ The following is a short description of the different levels of language assessm \end{description} -\end{document}
\ No newline at end of file +\end{document} diff --git a/Master/texmf-dist/doc/latex/europecv/templates/cv_template_en.pdf b/Master/texmf-dist/doc/latex/europecv/templates/cv_template_en.pdf Binary files differindex 350daaebe28..553285ce4e5 100644 --- a/Master/texmf-dist/doc/latex/europecv/templates/cv_template_en.pdf +++ b/Master/texmf-dist/doc/latex/europecv/templates/cv_template_en.pdf diff --git a/Master/texmf-dist/doc/latex/europecv/templates/cv_template_en.tex b/Master/texmf-dist/doc/latex/europecv/templates/cv_template_en.tex index e0ae56c46b9..f4d9e0ff046 100644 --- a/Master/texmf-dist/doc/latex/europecv/templates/cv_template_en.tex +++ b/Master/texmf-dist/doc/latex/europecv/templates/cv_template_en.tex @@ -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@gemail.com}{email@email.com}} \ecvprofessional{\href{mailto:email@email.it}{email@email.it}} diff --git a/Master/texmf-dist/tex/latex/europecv/europecv.cls b/Master/texmf-dist/tex/latex/europecv/europecv.cls index 359d5e713a7..278e3f30598 100644 --- a/Master/texmf-dist/tex/latex/europecv/europecv.cls +++ b/Master/texmf-dist/tex/latex/europecv/europecv.cls @@ -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@name{#1}} % Replaces the above \newcommand*{\ecvfootername}[1]{\def\ecv@footername{#1}} \newcommand*{\ecvaddress}[1]{\def\ecv@address{#1}} -\newcommand*{\ecvtelephone}[3][]{\def\ecv@telephone{#2}\def\ecv@mobile{#1}\def\ecv@office{#3}} +% \ecvtelephone[mobile][office]{home} +\def\ecvtelephone{% + \@ifnextchar[% + {\ecvtelephone@i} + {\ecvtelephone@i[]}% +} +\def\ecvtelephone@i[#1]{% + \@ifnextchar[% + {\ecvtelephone@ii{#1}} + {\ecvtelephone@ii{#1}[]}% +} +\def\ecvtelephone@ii#1[#2]#3{% + \def\ecv@mobile{#1} + \def\ecv@office{#2} + \def\ecv@telephone{#3} +} \newcommand*{\ecvfax}[1]{\def\ecv@fax{#1}} \newcommand*{\ecvemail}[1]{\def\ecv@email{#1}} \newcommand*{\ecvprofessional}[1]{\def\ecv@professional{#1}} @@ -388,6 +403,8 @@ \ecvname{\ecv@lastname\ \ecv@firstname} \ecvfootername{\ecv@name} \ecvaddress{} +\ecvskype{} +\ecvprofessional{} \ecvtelephone{} \ecvfax{} \ecvemail{} @@ -410,10 +427,15 @@ \ifx\@empty\ecv@address\else \ecv@addresskey &\ecv@address \tabularnewline[5pt] \fi -\ifx\@empty\ecv@telephone \else \ecv@telkey &\ecv@telephone -\ifx\@empty\ecv@mobile \else \qquad \ecv@mobilekey: \ecv@mobile\fi -\ifx\@empty\ecv@office \else \qquad \ecv@officekey: \ecv@office\fi -\tabularnewline[5pt] +\ifx\@empty\ecv@telephone\else + \ecv@telkey &\ecv@telephone + \ifx\@empty\ecv@mobile\else + \qquad \ecv@mobilekey: \ecv@mobile + \fi + \ifx\@empty\ecv@office\else + \qquad \ecv@officekey: \ecv@office + \fi + \tabularnewline[5pt] \fi \ifx\@empty\ecv@fax\else \ecv@faxkey &\ecv@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@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep + \@openbib@code + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand\theenumiv{\@arabic\c@enumiv}}% + \sloppy + \clubpenalty4000 + \@clubpenalty \clubpenalty + \widowpenalty4000% + \sfcode`\.\@m} + {\def\@noitemerr + {\@latex@warning{Empty `thebibliography' environment}}% + \endlist} \newif\if@ecvitemstar \newcommand\ecvitem{\@ifstar{\@ecvitemstartrue \@ecvitem}% |