Commit 8eb275f6 authored by Jens Dieskau's avatar Jens Dieskau
Browse files

Reformat to display all information on three instead two pages

parent 5d14f7db
Pipeline #3454 failed with stages
in 32 seconds
[submodule "metadata"]
path = metadata
url = https://git.jdsoft.de/cv/cv-metadata
url = git@git.jdsoft.de:cv/cv-metadata.git
#url = https://jens@git.jdsoft.de/cv/cv-metadata
......@@ -125,8 +125,19 @@ function cveducation()
end
function cvprojects()
function cvprojects(start, stop)
if start == nil then
start = 0
end
if stop == nil then
stop = 99999
end
for i, entry in ipairs(jsoncv['projects']) do
if i < start or i > stop then
goto continue
end
local date = entry['startDate']
if entry['endDate'] ~= nil then
date = string.format([[ %s -- %s ]], entry['startDate'], entry['endDate'])
......@@ -152,5 +163,7 @@ function cvprojects()
tex.print([[ \end{flushright} ]], "")
tex.print(string.format([[ }{%s} ]], date))
::continue::
end
end
......@@ -185,30 +185,6 @@
}
%-------------------------------------------------------------------------------
% SIDEBAR 2nd PAGE
%-------------------------------------------------------------------------------
\addtobacksidebar{
%\vspace{60em}
%\sidesection{Alternative Formate}
\vspace{63.0em}
\skill{\faTerminal}{\href{ssh://cv.jens-dieskau.de}{\{ssh,\,telnet\}://jens-dieskau.de}}
\vspace{0.5em}
\skill{\faGlobeEurope}{\href{https://cv.jens-dieskau.de}{\{http\lbrack{}s\rbrack{},\,dat\}://jens-dieskau.de}}
\vspace{0.5em}
\skill{\faFilePdf}{\href{https://cv.jens-dieskau.de}{\{http\lbrack{}s\rbrack{},\,ftp,\,smb,\,sftp\}://\newline jens-dieskau.de\lbrack{}:\rbrack{}/cv.pdf}}
\vspace{0.5em}
\skill{\faAt}{\href{mailto:cv@jens-dieskau.de}{\{imap,\,pop3\}://jens-dieskau.de}}
\vspace{0.5em}
\skill{\faNetworkWired}{\href{mailto:cv@jens-dieskau.de?subject=CV\%20\%C3\%BCber\%20DNS\%3F\&body=Nutze\%20den\%20Befehl \%60dig\%20cv.jens-dieskau.de\%60}{dns @ cv.jens-dieskau.de}}
}
%-------------------------------------------------------------------------------
% TABLE ENTRIES RIGHT COLUMN
%-------------------------------------------------------------------------------
......@@ -242,7 +218,7 @@
\vspace{-1.8em}
\cvsubsection{\luadirect{i18n('freelance')}}
\begin{cvtable}[1.2]
\luadirect{cvitems("freelance", 0, 2)}
\luadirect{cvitems("freelance", 0, 1)}
\end{cvtable}
\newpage
......@@ -250,7 +226,7 @@
\begin{cvtable}[1.2]
\luadirect{cvitems("freelance", 3)}
\luadirect{cvitems("freelance", 2, 3)}
\end{cvtable}
%--------------------
......@@ -266,7 +242,38 @@
\cvsection{\MakeUppercase{\luadirect{i18n('selected_projects')}}}%py:ignore
\begin{cvtable}
\luadirect{cvprojects()}
\luadirect{cvprojects(0, 2)}
\end{cvtable}
%\renewcommand{\backsidebar}{}
%-------------------------------------------------------------------------------
% SIDEBAR LAST PAGE
%-------------------------------------------------------------------------------
\addtobacksidebar{
%\vspace{60em}
%\sidesection{Alternative Formate}
\vspace{63.0em}
\skill{\faTerminal}{\href{ssh://cv.jens-dieskau.de}{\{ssh,\,telnet\}://jens-dieskau.de}}
\vspace{0.5em}
\skill{\faGlobeEurope}{\href{https://cv.jens-dieskau.de}{\{http\lbrack{}s\rbrack{},\,dat\}://jens-dieskau.de}}
\vspace{0.5em}
\skill{\faFilePdf}{\href{https://cv.jens-dieskau.de}{\{http\lbrack{}s\rbrack{},\,ftp,\,smb,\,sftp\}://\newline jens-dieskau.de\lbrack{}:\rbrack{}/cv.pdf}}
\vspace{0.5em}
\skill{\faAt}{\href{mailto:cv@jens-dieskau.de}{\{imap,\,pop3\}://jens-dieskau.de}}
\vspace{0.5em}
\skill{\faNetworkWired}{\href{mailto:cv@jens-dieskau.de?subject=CV\%20\%C3\%BCber\%20DNS\%3F\&body=Nutze\%20den\%20Befehl \%60dig\%20cv.jens-dieskau.de\%60}{dns @ cv.jens-dieskau.de}}
}
\newpage
\makebacksidebar
\begin{cvtable}
\luadirect{cvprojects(3, 4)}
\end{cvtable}
%\cvsignature
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment