Matthias Vogelgesang 10 лет назад
Родитель
Сommit
997b869ab2
3 измененных файлов с 48 добавлено и 6 удалено
  1. 6 2
      convert.py
  2. 17 1
      cv.tex.in
  3. 25 3
      resume.de.json

+ 6 - 2
convert.py

@@ -24,8 +24,12 @@ def create_template(args):
 
 
 def fix_date(date_string):
-    d = datetime.datetime.strptime(date_string, '%Y-%M-%d')
-    return d.strftime('%M/%Y')
+    try:
+        d = datetime.datetime.strptime(date_string, '%Y-%M-%d')
+        return d.strftime('%M/%Y')
+    except ValueError:
+        # in case this is not a date, we return it verbatim
+        return date_string
 
 
 def preprocess(data):

+ 17 - 1
cv.tex.in

@@ -18,6 +18,10 @@
   itemsep=0.2em
 }
 
+\setlist[itemize]{%
+  topsep=0.8em,
+  itemsep=0.15em,
+}
 
 % --- Commands
 \newcommand*{\textlight}[1]{{\light #1}}
@@ -63,12 +67,21 @@
   \begin{cvsection}{Ausbildung}
     ((* for stage in resume.education *))
     \cvperiod{((( stage.startDate )))--((( stage.endDate )))}{\emph{((( stage.studyType )))}, ((( stage.institution )))}
+    ((* if stage.highlights *))
+      \vspace{-1.8em}
+      \begin{itemize}
+      ((* for highlight in stage.highlights *))
+        \item ((( highlight )))
+      ((* endfor *))
+      \end{itemize}
+    ((* endif *))
     ((* endfor *))
   \end{cvsection}
 
   \begin{cvsection}{Berufserfahrung}
     ((* for work in resume.work *))
-    \cvperiod{((( work.startDate )))--((( work.endDate )))}{\emph{((( work.position )))}, ((( work.company )))}
+    \cvperiod{((( work.startDate )))--((( work.endDate )))}{((( work.company))), \emph{((( work.position )))}}
+    \vspace{0.8em}
     ((* endfor *))
   \end{cvsection}
 
@@ -105,4 +118,7 @@
       ((* endfor *))
     \end{description}
   \end{cvsection}
+
+  \begin{cvsection}{Interessen}
+  \end{cvsection}
 \end{document}

+ 25 - 3
resume.de.json

@@ -30,23 +30,41 @@
         "area": "Informatik",
         "studyType": "Promotion",
         "startDate": "2011-01-01",
-        "endDate": "2014-11-01"
+        "endDate": "2014-11-01",
+        "highlights": [
+            "Abschluss als Dr.-Ing., \\emph{magna cum laude} (1,0)",
+            "Thema: \\emph{An Extensible Parallel Computing Framework for Ultra-Fast X-Ray Imaging}"
+        ]
     },
     {
         "institution": "Karlsruher Institut für Technologie",
         "area": "Informatik",
         "studyType": "Diplom",
         "startDate": "2005-10-01",
-        "endDate": "2010-09-01"
+        "endDate": "2010-09-01",
+        "highlights": [
+            "Abschluss als Dipl.-Inform., (1,3)",
+            "Diplomarbeit an der Carnegie Mellon University (CMU), Pittsburgh, PA."
+        ]
     },
     {
         "institution": "Pestalozzi Gymnasium Guben",
         "area": "Abitur",
         "studyType": "Abitur",
         "startDate": "1997-07-01",
-        "endDate": "2004-05-01"
+        "endDate": "2004-05-01",
+        "highlights": [
+            "Allgemeine Hochschulreife, (1,6)"
+        ]
     }],
     "work": [{
+        "company": "Institut für Prozessdatenverarbeitung und Elektronik",
+        "position": "Wissenschaftlicher Mitarbeiter",
+        "startDate": "2011-01-01",
+        "endDate": "",
+        "summary": "foo"
+    },
+    {
         "company": "Fraunhofer IOSB",
         "position": "Wissenschaftliche Hilfskraft",
         "startDate": "2006-08-01",
@@ -73,6 +91,10 @@
     {
         "name": "Software",
         "keywords": ["Linux", "Git", "\\LaTeX", "Autotools", "CMake"]
+    },
+    {
+        "name": "APIs",
+        "keywords": ["OpenCL", "CUDA", "GLib", "HDF5"]
     }],
     "interests": [{
         "name": "Bass"