texlive[54329] Master/texmf-dist: limecv (15mar20)
commits+karl at tug.org
commits+karl at tug.org
Sun Mar 15 22:32:00 CET 2020
Revision: 54329
http://tug.org/svn/texlive?view=revision&revision=54329
Author: karl
Date: 2020-03-15 22:32:00 +0100 (Sun, 15 Mar 2020)
Log Message:
-----------
limecv (15mar20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/limecv/README.md
trunk/Master/texmf-dist/doc/latex/limecv/examples/mwe-latex.pdf
trunk/Master/texmf-dist/doc/latex/limecv/examples/mwe-lualatex.pdf
trunk/Master/texmf-dist/doc/latex/limecv/examples/mwe-xelatex.pdf
trunk/Master/texmf-dist/doc/latex/limecv/limecv.pdf
trunk/Master/texmf-dist/source/latex/limecv/limecv.dtx
trunk/Master/texmf-dist/tex/latex/limecv/limecv.cls
Modified: trunk/Master/texmf-dist/doc/latex/limecv/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/limecv/README.md 2020-03-15 21:31:46 UTC (rev 54328)
+++ trunk/Master/texmf-dist/doc/latex/limecv/README.md 2020-03-15 21:32:00 UTC (rev 54329)
@@ -47,4 +47,3 @@
[blog]: https://olivierpieters.be/blog/archive/tag/limecv
[FA]: http://fontawesome.io
[fira]: https://github.com/mozilla/Fira
-[docs]: http://ctan.org/tex-archive/macros/generic/limecv/limecv.pdf
Modified: trunk/Master/texmf-dist/doc/latex/limecv/examples/mwe-latex.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/limecv/examples/mwe-lualatex.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/limecv/examples/mwe-xelatex.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/limecv/limecv.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/limecv/limecv.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/limecv/limecv.dtx 2020-03-15 21:31:46 UTC (rev 54328)
+++ trunk/Master/texmf-dist/source/latex/limecv/limecv.dtx 2020-03-15 21:32:00 UTC (rev 54329)
@@ -26,7 +26,7 @@
%<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<class>\ProvidesClass{limecv}
%<*class>
- [2020/02/08 v0.1.7 limecv Document class for CVs.]
+ [2020/03/15 v0.1.8 limecv Document class for CVs.]
%</class>
%
%<*driver>
@@ -69,7 +69,7 @@
%</driver>
% \fi
%
-% \CheckSum{1630}
+% \CheckSum{1632}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -97,13 +97,14 @@
% \changes{v0.1.5}{2018/06/05}{Custom contact fields.}
% \changes{v0.1.6}{2018/06/17}{Added support for French.}
% \changes{v0.1.7}{2020/02/08}{Added support for Italian.}
+% \changes{v0.1.8}{2020/03/15}{Upgrade to Font Awesome 5.}
%
% \DoNotIndex{\NewDocumentCommand,\NewDocumentEnvironment}
%
% \providecommand*{\url}{\texttt}
%
-% \def\fileversion{v0.1.3}
-% \def\filedate{2017/11/25}
+% \def\fileversion{v0.1.8}
+% \def\filedate{2020/03/15}
%
% \GetFileInfo{limecv.dtx}
% \title{The \textsf{limecv} document class\thanks{This document corresponds %
@@ -163,10 +164,10 @@
% and |\cvMainFont| command. The mono spaced font can be changed by means of
% the |monofont| class option.
%
-% \cvRequirement{FontAwesome}\footnote{\url{http://fontawesome.io}} is the
+% \cvRequirement{FontAwesome5}\footnote{\url{http://fontawesome.io}} is the
% icon font used. This font should also be available and cannot be replaced by
% another icon font. Most modern TeX distributions ship with this font since
-% they provide the |fontawesome| package.
+% they provide the |fontawesome5| package.
%
% \section{General Macros and Document Class Options}
%
@@ -968,6 +969,7 @@
\definecolor{cvRed}{HTML}{7f2d35}
\definecolor{cvDark}{HTML}{2F3142}
\definecolor{cvAccent}{HTML}{474A65}
+\definecolor{cvBackground}{HTML}{FFFFFF}
% \end{macrocode}
%
% \subsection{New Column Types}
@@ -1139,7 +1141,7 @@
minimum width=\cvProgressAreaWidth,
minimum height=\cvProgressAreaHeight,
rectangle,
- draw,
+ draw=cvBackground,
cvGreen,
progressArea
},
@@ -1175,7 +1177,7 @@
% \begin{macrocode}
\NewDocumentCommand{\cv at loadFonts}{}{
\RequirePackage{fontspec}
- \RequirePackage{fontawesome}
+ \RequirePackage{fontawesome5}
% \end{macrocode}
%
% Load the fonts. By default Fira will be loaded, but this can be overwritten
@@ -1193,13 +1195,13 @@
% \begin{macrocode}
\ifcv at fontPath
\newfontfamily{\cv at FA}[Path=\limecv at path]%
- {FontAwesome}
+ {Font Awesome 5 Free}
\else
- \newfontfamily{\cv at FA}{FontAwesome}
+ \newfontfamily{\cv at FA}{Font Awesome 5 Free}
\fi
% \end{macrocode}
%
-% The |fontawesome| package does not feature all of the latest icons available,
+% The |fontawesome5| package does not feature all of the latest icons available,
% so we define some of the manually since they are relevant for this CV.
%
% \begin{macro}{\faAddressCard}
@@ -1221,7 +1223,7 @@
% \end{macrocode}
% \end{macro}
%
-% In the future, the |fontawesome| dependency can be dropped if a manually coded
+% In the future, the |fontawesome5| dependency can be dropped if a manually coded
% icon is included, such as those defined in monderncv. Example:
% \url{https://raw.githubusercontent.com/xdanaux/moderncv/%
% master/moderncviconsmarvosym.sty}
@@ -1240,7 +1242,7 @@
\ifluatex
\cv at loadFonts
\else
- \RequirePackage{fontawesome}
+ \RequirePackage{fontawesome5}
\RenewDocumentCommand{\familydefault}{}{\sfdefault}
\fi
\fi
@@ -1397,7 +1399,7 @@
\newlength\cvSkillSep
\setlength\cvSkillSep{1ex}
\newlength\cvHeaderIconWidth
-\setlength\cvHeaderIconWidth{0pt}
+\setlength\cvHeaderIconWidth{10pt}
% \end{macrocode}
%
%
@@ -1416,10 +1418,10 @@
\NewDocumentCommand{\cvSkill}{m}{%
\begingroup
\my at repeat@count=\z@
- \@whilenum\my at repeat@count<#1\do{\faCircle\advance%
+ \@whilenum\my at repeat@count<#1\do{\faCircle[solid]\advance%
\my at repeat@count\@ne}%
\my at repeat@count=\numexpr5-\z@\relax
- \@whilenum\my at repeat@count>#1\do{\faCircleO\advance%
+ \@whilenum\my at repeat@count>#1\do{\faCircle[regular]\advance%
\my at repeat@count\m at ne}%
\endgroup
}
@@ -1449,8 +1451,15 @@
% \begin{macrocode}
\NewDocumentCommand{\cv at Title}{mm}{%
\ifnodedefined{cv at last item \the\value{cv at lastItem}}{%
- \setlength\cvHeaderIconWidth{%
- \maxof{\cvHeaderIconWidth}{\widthof{\Large #2}}}%
+ \setlength\cvHeaderIconWidth\cvHeaderIconWidth%{%
+ %\maxof{\cvHeaderIconWidth}{\widthof{\Large #2}}}%
+% \end{macrocode}
+%
+% \changes{v0.1.8}{2020/03/15}{For now, the |widthof| macro is not used
+% anymore since there is an issue with the latest version of Font Awesome 5
+% (5.7.0).}
+%
+% \begin{macrocode}
\protected at write\@auxout{}{\global\cvHeaderIconWidth=\the\cvHeaderIconWidth}
\node[%
below=\cvSectionSep of cv at last item %
@@ -1858,7 +1867,7 @@
%
% \begin{macrocode}
\NewDocumentEnvironment{cvPublications}{}{%
-\cv at Title{\pgfkeysvalueof{/@cv/names/publications}}{\faNewspaperO}
+\cv at Title{\pgfkeysvalueof{/@cv/names/publications}}{\faNewspaper}
% \end{macrocode}
% insures uniqueness
% \begin{macrocode}
@@ -2176,7 +2185,7 @@
\cv at ContactTemplateLink{\cvContactWebsite}{\faGlobe}
\cv at ContactTemplateLink{\cvContactGithub}{\faGithub}
\cv at ContactTemplateLink{\cvContactGitlab}{\faGitlab}
- \cv at ContactTemplateLink{\cvContactLinkedin}{\faLinkedinSquare}
+ \cv at ContactTemplateLink{\cvContactLinkedin}{\faLinkedin}
\cv at ContactTemplateLink{\cvContactTwitter}{\faTwitter}
\cv at ContactTemplateLink{\cvContactKeybase}{\faKey}
\begin{tikzpicture}[%
Modified: trunk/Master/texmf-dist/tex/latex/limecv/limecv.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/limecv/limecv.cls 2020-03-15 21:31:46 UTC (rev 54328)
+++ trunk/Master/texmf-dist/tex/latex/limecv/limecv.cls 2020-03-15 21:32:00 UTC (rev 54329)
@@ -20,7 +20,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{limecv}
- [2020/02/08 v0.1.7 limecv Document class for CVs.]
+ [2020/03/15 v0.1.8 limecv Document class for CVs.]
\RequirePackage{kvoptions}
\DeclareBoolOption[false]{print}
@@ -52,6 +52,7 @@
\definecolor{cvRed}{HTML}{7f2d35}
\definecolor{cvDark}{HTML}{2F3142}
\definecolor{cvAccent}{HTML}{474A65}
+\definecolor{cvBackground}{HTML}{FFFFFF}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\%
\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\let\newline\\%
@@ -147,7 +148,7 @@
minimum width=\cvProgressAreaWidth,
minimum height=\cvProgressAreaHeight,
rectangle,
- draw,
+ draw=cvBackground,
cvGreen,
progressArea
},
@@ -173,15 +174,15 @@
}
\NewDocumentCommand{\cv at loadFonts}{}{
\RequirePackage{fontspec}
- \RequirePackage{fontawesome}
+ \RequirePackage{fontawesome5}
\setmainfont[Numbers={Monospaced}]{\limecv at sansfont}
\setsansfont{\limecv at sansfont}
\setmonofont{\limecv at monofont}
\ifcv at fontPath
\newfontfamily{\cv at FA}[Path=\limecv at path]%
- {FontAwesome}
+ {Font Awesome 5 Free}
\else
- \newfontfamily{\cv at FA}{FontAwesome}
+ \newfontfamily{\cv at FA}{Font Awesome 5 Free}
\fi
\ProvideDocumentCommand{\faAddressCard}{}{{\cv at FA%
\symbol{"F2B9}}}
@@ -196,7 +197,7 @@
\ifluatex
\cv at loadFonts
\else
- \RequirePackage{fontawesome}
+ \RequirePackage{fontawesome5}
\RenewDocumentCommand{\familydefault}{}{\sfdefault}
\fi
\fi
@@ -278,16 +279,16 @@
\newlength\cvSkillSep
\setlength\cvSkillSep{1ex}
\newlength\cvHeaderIconWidth
-\setlength\cvHeaderIconWidth{0pt}
+\setlength\cvHeaderIconWidth{10pt}
\NewDocumentCommand{\cvSection}{m}{\Large\textbf{#1}}
\newcount\my at repeat@count
\NewDocumentCommand{\cvSkill}{m}{%
\begingroup
\my at repeat@count=\z@
- \@whilenum\my at repeat@count<#1\do{\faCircle\advance%
+ \@whilenum\my at repeat@count<#1\do{\faCircle[solid]\advance%
\my at repeat@count\@ne}%
\my at repeat@count=\numexpr5-\z@\relax
- \@whilenum\my at repeat@count>#1\do{\faCircleO\advance%
+ \@whilenum\my at repeat@count>#1\do{\faCircle[regular]\advance%
\my at repeat@count\m at ne}%
\endgroup
}
@@ -302,8 +303,8 @@
\setcounter{cv at titleNext}{1}
\NewDocumentCommand{\cv at Title}{mm}{%
\ifnodedefined{cv at last item \the\value{cv at lastItem}}{%
- \setlength\cvHeaderIconWidth{%
- \maxof{\cvHeaderIconWidth}{\widthof{\Large #2}}}%
+ \setlength\cvHeaderIconWidth\cvHeaderIconWidth%{%
+ %\maxof{\cvHeaderIconWidth}{\widthof{\Large #2}}}%
\protected at write\@auxout{}{\global\cvHeaderIconWidth=\the\cvHeaderIconWidth}
\node[%
below=\cvSectionSep of cv at last item %
@@ -604,7 +605,7 @@
(cv at last item \the\value{cv at lastItem}) {};
}
\NewDocumentEnvironment{cvPublications}{}{%
-\cv at Title{\pgfkeysvalueof{/@cv/names/publications}}{\faNewspaperO}
+\cv at Title{\pgfkeysvalueof{/@cv/names/publications}}{\faNewspaper}
\stepcounter{cv at itemPrev}
\stepcounter{cv at itemNext}
\cv at definecvItem
@@ -825,7 +826,7 @@
\cv at ContactTemplateLink{\cvContactWebsite}{\faGlobe}
\cv at ContactTemplateLink{\cvContactGithub}{\faGithub}
\cv at ContactTemplateLink{\cvContactGitlab}{\faGitlab}
- \cv at ContactTemplateLink{\cvContactLinkedin}{\faLinkedinSquare}
+ \cv at ContactTemplateLink{\cvContactLinkedin}{\faLinkedin}
\cv at ContactTemplateLink{\cvContactTwitter}{\faTwitter}
\cv at ContactTemplateLink{\cvContactKeybase}{\faKey}
\begin{tikzpicture}[%
More information about the tex-live-commits
mailing list.