diff --git a/.gitignore b/.gitignore index 384dd31..5ecaf27 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,12 @@ Output/CV-Amin-Kasrou-Aouam-en.tex Output/CV-Amin-Kasrou-Aouam-es.tex Output/CV-Amin-Kasrou-Aouam-en.xdv Output/CV-Amin-Kasrou-Aouam-es.xdv +Output/CV-Amin-Kasrou-Aouam-en.aux +Output/CV-Amin-Kasrou-Aouam-en.fdb_latexmk +Output/CV-Amin-Kasrou-Aouam-en.fls +Output/CV-Amin-Kasrou-Aouam-en.log +Output/CV-Amin-Kasrou-Aouam-es.aux +Output/CV-Amin-Kasrou-Aouam-es.fdb_latexmk +Output/CV-Amin-Kasrou-Aouam-es.fls +Output/CV-Amin-Kasrou-Aouam-es.log Output/auto diff --git a/Assets/template-es.latex b/Assets/template-es.latex deleted file mode 100644 index 9a4b905..0000000 --- a/Assets/template-es.latex +++ /dev/null @@ -1,354 +0,0 @@ -% !TEX encoding = UTF-8 Unicode - -\documentclass[letterpaper,12pt]{article} - -%A Few Useful Packages -%\usepackage{marvosym} -\usepackage{fontspec} %for loading fonts -\usepackage{xunicode,xltxtra,url,parskip} %other packages for formatting -\usepackage{graphicx} -\usepackage[usenames,dvipsnames]{xcolor} -\usepackage[left=1.3cm, - top=1.2cm, - right=1.3cm, - bottom=1.2cm, - nohead, - nofoot - ]{geometry} -\usepackage{tabularx} -\usepackage{titlesec} -%\usepackage{tabto} % tab spacing - -\usepackage{setspace} % line spacing -\usepackage{booktabs,colortbl} % thicker rules between table cells -\usepackage{bibentry} % bibliography - -% SORTED LISTS -\usepackage{paralist} -\usepackage{datatool}% http://ctan.org/pkg/datatool -\newcommand{\sortitem}[1]{% - \DTLnewrow{list}% Create a new entry - \DTLnewdbentry{list}{description}{#1}% Add entry as description -} -\newenvironment{sortedlist}{% - \DTLifdbexists{list}{\DTLcleardb{list}}{\DTLnewdb{list}}% Create new/discard old list -}{% - \DTLsort{description}{list}% Sort list - \begin{inparaitem}[]% - \DTLforeach*{list}{\theDesc=description}{% - \item \theDesc, }% Print each item - \end{inparaitem}% -} - -%Setup hyperref package, and colours for links -\usepackage[colorlinks, - breaklinks, - pagebackref=false, - debug=true, - xetex, - bookmarks=false, - pdfpagelabels=false, - hyperfootnotes=false, - hyperindex=false, - pageanchor=false]{hyperref} -\definecolor{linkcolor}{gray}{0.2} -\hypersetup{ - pdfauthor={$name$}, - pdfsubject={$name$ - Resume}, - pdftitle={$name$ - Resume}, - urlcolor=linkcolor, - linkcolor=linkcolor -} - -% colors -\definecolor{dark-gray}{gray}{0.15} -\definecolor{light-gray}{gray}{0.55} - -%FONTS -\setmainfont{Cormorant Garamond} -\newfontfamily{\hlight}[UprightFont={* Light}]{Cormorant Garamond} -%\defaultfontfeatures{Mapping=tex-text} % converts LaTeX specials (``quotes'' --- dashes etc.) to unicode -\defaultfontfeatures{ - Path = /opt/texlive/2019/texmf-dist/fonts/opentype/public/fontawesome5/ } -\usepackage{fontawesome5} % glyphs for contact info - -% CUSTOM COMMANDS - \newcommand{\titlerulethick}{{% - {\color{dark-gray} \titlerule[0.7mm] }% - }} - - % old section title format - \titleformat{\section}{\fontsize{28pt}{40pt}\color{dark-gray}\normalfont}{}{0mm}{}[\titlerulethick] - %\titlespacing{\section}{0pt}{3pt}{3pt} - - \newcommand{\namefont}[1]{{% - \fontsize{42pt}{50pt}\normalfont\textbf{#1}% - }} - - \newcommand{\spacerule}{ - \addlinespace[0.5em] - \midrule[0.5mm] - \addlinespace[0.5em] - } - - \newcommand{\bigfont}[1]{{% - \fontsize{32pt}{38pt}\normalfont{#1} % - }} - - \newcommand{\lightfont}[1]{{% - {\hlight\color{light-gray}#1} - }} - - \newcommand{\contactinfo}{% - {\hlight\color{dark-gray}} - } - - \newcommand{\lightsmall}[1]{{% - {\fontsize{11pt}{14pt}\hlight\color{light-gray}#1} - }} - - \newcommand{\pubstyle}[1]{{% - {\fontsize{10pt}{13pt}\hlight\color{light-gray}#1} - }} - - \newcommand{\lightbf}[1]{{% - \textbf{\lightfont{#1}} - }} - - \newcommand{\emphasized}[1]{{% - {\fontsize{14pt}{18pt}\textbf{#1}} - }} - - \newcommand{\position}[1]{{% - {\fontsize{14pt}{18pt} \hlight{#1}} - }} - - \newcommand{\company}[1]{{% - {\fontsize{14pt}{18pt} \textbf{#1}} - }} - - \newcommand{\headline}{ - {\fontsize{14pt}{17pt}\bfseries\color{dark-gray}$headline$} - } - - \newcommand{\name}{ - \raggedright\fontsize{42pt}{42pt}\bfseries\flushleft\color{dark-gray}{$name$} - } - - \newcommand{\lighthrule}{ - {\color{light-gray}\par\rule[0mm]{\hsize}{0.5mm}\par\vspace{0.5em}} - } - - \newcommand\Mybox[1]{% - \setlength\fboxsep{0pt}\fcolorbox{red}{white}{#1} - } - -% hack to remove bibliography numbering -\makeatletter -\renewcommand\@biblabel[1]{} -\renewenvironment{thebibliography}[1] - {\section*{\refname}% - \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}% - \list{}% - {\leftmargin0pt - \@openbib@code - \usecounter{enumiv}}% - \sloppy - \clubpenalty4000 - \@clubpenalty \clubpenalty - \widowpenalty4000% - \sfcode`\.\@m} - {\def\@noitemerr - {\@latex@warning{Empty `thebibliography' environment}}% - \endlist} -\makeatother -% -% -% -% -% -% -% -% -% -%-------------------- BEGIN DOCUMENT ---------------------- -\begin{document} -%\nocite{$publications$} -\pagestyle{empty} % non-numbered pages -\font\fb=''[cmr10]'' %for use with \LaTeX command -%---------- SPECIFY LENGTHS ---------- -\newlength{\leftwide} -\setlength{\leftwide}{0.34\textwidth} -% -\newlength{\centerwide} -\setlength{\centerwide}{0.33\textwidth} -% -\newlength{\rightwide} -\setlength{\rightwide}{0.28\textwidth} -%---------- TOP SECTION ---------- -\begin{tabular}[b]{@{}p{\leftwide}@{}p{\centerwide}@{}p{\rightwide}@{}} - % NAME (left) - \noindent - \begin{minipage}[b]{\leftwide} - \name - \end{minipage} & % - % - % HEADLINE (middle) - %\begin{minipage}[b]{\centerwide} - %\parbox[b][][b]{4.5cm}{\raggedright\headline} - %\end{minipage} & % - % - % CONTACT INFO (middle) - \begin{minipage}[b]{\centerwide} - \renewcommand\arraystretch{1.25} - \contactinfo - \begin{tabular}[b]{@{}cl@{}} - \faEnvelope & \href{mailto:$email$}{$email$}\\ %{} - \faPhone & $phone$\\ - \faGitlab & gitlab.com/$gitlab$\\ - \end{tabular} - \end{minipage} & % -% PHOTO (right) - \begin{minipage}[b]{\rightwide} - \includegraphics[width=7em]{Assets/photo.png} - \end{minipage} -\end{tabular} -\lighthrule -%---------- MAIN BODY ---------- -% EXTRACTO -\section{extracto} -\parbox[t][][t]{\textwidth}{ - $about$ -} -%---------- LEFT SIDE ---------- -%\Mybox{ -\begin{minipage}[t]{0.31\textwidth} - \raggedright - %\begin{flushleft} - % PROGRAMACIÓN - \section{programación} - \hlight - \begin{sortedlist} - $for(programming)$ - \sortitem{$programming$} - $endfor$ - \end{sortedlist} - - % SOFTWARE - % - \section{software} - \hlight - \begin{sortedlist} - $for(technologies)$ - \sortitem{$technologies$} - $endfor$ - \end{sortedlist} - - % CURSOS - % - \section{cursos} - \hlight - $for(courses)$ - \emphasized{$courses.name$} \\ - \lightfont{\textbf{$courses.institution$}} \\ - $endfor$ - %\end{flushleft} -\end{minipage}% -% -%---------- RIGHT SIDE ---------- -\newlength{\hwide} -\newlength{\hwideright} -\newlength{\buffer} -\setlength{\buffer}{4pt plus 1pt minus 1pt} -% -% -\begin{minipage}[t]{0.64\textwidth} - % FORMACIÓN ACADÉMICA - \section{formación académica} - \setlength{\hwide}{\dimexpr.5\hsize-4\tabcolsep} - \setlength{\hwideright}{\dimexpr\hwide+5\tabcolsep} - % - \setlength{\parskip}{1mm} - \begin{tabular}{@{}p{\hwide}p{\rightwide}} - $for(education)$ - \parbox[t][][t]{\hwide}{% - \lightfont{$education.years.start$ \textendash{} $education.years.end$} \\ - \smallskip - \emphasized{$education.degree$} \\ - \smallskip - \emphasized{$education.focus$} \\ - } & % - \parbox[t][][t]{\rightwide}{% - \lightfont{\textbf{$education.institution$} \\ - \emph{$education.campus$}} \\ % - \bigskip % - } \\ - $endfor$ - \end{tabular} - % - %\section{experience} - %% - %\setlength{\hwide}{\dimexpr.5\hsize-4\tabcolsep} - %\setlength{\hwideright}{\dimexpr\hwide+5\tabcolsep} - %% - %% POSITIONS - %\begin{tabular}{@{}p{\hwide}p{\hwideright}} - %\arrayrulecolor{light-gray} - %$for(experience)$ - %\parbox[t][][t]{\hwide}{% - %\raggedright - %\company{$experience.company$}\\ - %\vspace{\buffer} - %\lightfont{% - %$experience.years.start$ \textendash{} $experience.years.end$\\ - %$if(experience.location)$ - %$experience.location$\\ - %$endif$ - %\vspace{\buffer}} - %$if(experience.group)$ - %\lightsmall{\emph{$experience.group$}}% - %$endif$ - %} & % - %\parbox[t][][t]{\hwideright}{% - %\raggedright - %\position{$experience.position$}\\ - %\vspace{\buffer} - %\lightsmall{$experience.description$} - %}\\ - %\spacerule - %$endfor$ - %\end{tabular} - - % LANGUAGES - \section{idiomas} - % - \setlength{\parskip}{1mm} - \setlength{\hwide}{\dimexpr.5\hsize-4\tabcolsep} - \setlength{\hwideright}{\dimexpr\hwide+5\tabcolsep} - - \begin{tabular}{@{}p{\hwide}p{\rightwide}} - $for(languages)$ - \parbox[t][][t]{\hwide}{% - \emphasized{$languages.language$} - \medskip - } & % - \parbox[t][][t]{\rightwide}{% - \lightbf{$languages.proficiency$} - \medskip - } \\ % - $endfor$ - \end{tabular} -% -%\section{publications} -%\vspace{-0.5em} -%\begingroup -%\renewcommand{\section}[2]{}% -%\pubstyle{ -% \bibliography{pubs} -% \bibliographystyle{cvbib} -%} -%\endgroup -\end{minipage} -% ========================================================== -%-------------------- END OF DOCUMENT ---------------------- -\end{document} diff --git a/Assets/template-en.latex b/Assets/template.latex similarity index 93% rename from Assets/template-en.latex rename to Assets/template.latex index c5965d1..c840d45 100644 --- a/Assets/template-en.latex +++ b/Assets/template.latex @@ -216,7 +216,9 @@ \lighthrule %---------- MAIN BODY ---------- % ABOUT -\section{about} +\ifthenelse{\equal{$lang$}{en}} + {\section{about}} + {\section{extracto}}% \parbox[t][][t]{\textwidth}{ $about$ } @@ -226,7 +228,9 @@ \raggedright %\begin{flushleft} % PROGRAMMING - \section{programming} + \ifthenelse{\equal{$lang$}{en}} + {\section{programming}} + {\section{programación}}% \hlight \begin{sortedlist} $for(programming)$ @@ -236,7 +240,9 @@ % TECHNOLOGIES % - \section{technologies} + \ifthenelse{\equal{$lang$}{en}} + {\section{technologies}} + {\section{software}}% \hlight \begin{sortedlist} $for(technologies)$ @@ -246,7 +252,9 @@ % COURSES % - \section{courses} + \ifthenelse{\equal{$lang$}{en}} + {\section{courses}} + {\section{cursos}}% \hlight $for(courses)$ \emphasized{$courses.name$} \\ @@ -264,7 +272,9 @@ % \begin{minipage}[t]{0.64\textwidth} % EDUCATION - \section{education} + \ifthenelse{\equal{$lang$}{en}} + {\section{education}} + {\section{formación académica}}% \setlength{\hwide}{\dimexpr.5\hsize-4\tabcolsep} \setlength{\hwideright}{\dimexpr\hwide+5\tabcolsep} % @@ -320,8 +330,10 @@ %\end{tabular} % LANGUAGES - \section{languages} - % + \ifthenelse{\equal{$lang$}{en}} + {\section{languages}} + {\section{idiomas}}% + % \setlength{\parskip}{1mm} \setlength{\hwide}{\dimexpr.5\hsize-4\tabcolsep} \setlength{\hwideright}{\dimexpr\hwide+5\tabcolsep} diff --git a/Input/CV-Amin-Kasrou-Aouam-en.yml b/Input/CV-Amin-Kasrou-Aouam-en.yml index 75bedc5..6096f12 100644 --- a/Input/CV-Amin-Kasrou-Aouam-en.yml +++ b/Input/CV-Amin-Kasrou-Aouam-en.yml @@ -4,6 +4,7 @@ name: Amin Kasrou Aouam phone: +34 658591161 email: akasroua@gmail.com gitlab: akasroua +lang: en #publications: '\*' #headline: | diff --git a/Input/CV-Amin-Kasrou-Aouam-es.yml b/Input/CV-Amin-Kasrou-Aouam-es.yml index 275fe52..7624e7c 100644 --- a/Input/CV-Amin-Kasrou-Aouam-es.yml +++ b/Input/CV-Amin-Kasrou-Aouam-es.yml @@ -4,6 +4,7 @@ name: Amin Kasrou Aouam phone: +34 658591161 email: akasroua@gmail.com gitlab: akasroua +lang: es #publications: '\*' #headline: | diff --git a/Output/CV-Amin-Kasrou-Aouam-en.pdf b/Output/CV-Amin-Kasrou-Aouam-en.pdf index e1e3482..9ddaf8f 100644 Binary files a/Output/CV-Amin-Kasrou-Aouam-en.pdf and b/Output/CV-Amin-Kasrou-Aouam-en.pdf differ diff --git a/Output/CV-Amin-Kasrou-Aouam-es.pdf b/Output/CV-Amin-Kasrou-Aouam-es.pdf index 44616c7..34b3a96 100644 Binary files a/Output/CV-Amin-Kasrou-Aouam-es.pdf and b/Output/CV-Amin-Kasrou-Aouam-es.pdf differ