From 8833c6b49de31954277808a5f65025ff1278e1cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Robert=20J=C3=A4schke?= <jaeschke@l3s.de>
Date: Mon, 6 Nov 2017 14:33:52 +0000
Subject: [PATCH] PNG->SVG

---
 img/funktionsaufruf.svg   | 23 ++++++++++++++---------
 notebooks/seminar01.ipynb |  2 +-
 notebooks/seminar03.ipynb |  4 ++--
 3 files changed, 17 insertions(+), 12 deletions(-)

diff --git a/img/funktionsaufruf.svg b/img/funktionsaufruf.svg
index f286731..b2fd910 100644
--- a/img/funktionsaufruf.svg
+++ b/img/funktionsaufruf.svg
@@ -9,9 +9,9 @@
    xmlns="http://www.w3.org/2000/svg"
    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   width="210mm"
-   height="297mm"
-   viewBox="0 0 210 297"
+   width="52.234306mm"
+   height="30.257969mm"
+   viewBox="0 0 52.234306 30.257969"
    version="1.1"
    id="svg8"
    inkscape:version="0.92.1 r15371"
@@ -26,8 +26,8 @@
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
      inkscape:zoom="3.2975216"
-     inkscape:cx="140.70878"
-     inkscape:cy="832.00827"
+     inkscape:cx="5.4586498"
+     inkscape:cy="55.967384"
      inkscape:document-units="mm"
      inkscape:current-layer="layer1"
      showgrid="false"
@@ -35,7 +35,11 @@
      inkscape:window-height="1010"
      inkscape:window-x="0"
      inkscape:window-y="33"
-     inkscape:window-maximized="1" />
+     inkscape:window-maximized="1"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0" />
   <metadata
      id="metadata5">
     <rdf:RDF>
@@ -51,7 +55,8 @@
   <g
      inkscape:label="Ebene 1"
      inkscape:groupmode="layer"
-     id="layer1">
+     id="layer1"
+     transform="translate(-11.112044,-61.735495)">
     <text
        xml:space="preserve"
        style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:100%;font-family:arial;-inkscape-font-specification:arial;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
@@ -106,7 +111,7 @@
          id="tspan4515"
          x="25.250715"
          y="87.029861"
-         style="stroke-width:0.26458332px;fill:#008000;fill-opacity:1">Funktionsname</tspan></text>
+         style="fill:#008000;fill-opacity:1;stroke-width:0.26458332px">Funktionsname</tspan></text>
     <text
        xml:space="preserve"
        style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:100%;font-family:arial;-inkscape-font-specification:arial;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
@@ -117,7 +122,7 @@
          id="tspan4519"
          x="52.854553"
          y="91.102562"
-         style="stroke-width:0.26458332px;fill:#ba2121;fill-opacity:1">Argument</tspan></text>
+         style="fill:#ba2121;fill-opacity:1;stroke-width:0.26458332px">Argument</tspan></text>
     <path
        style="fill:none;fill-rule:evenodd;stroke:#ba2121;stroke-width:0.16500001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
        d="M 47.709111,88.015152 43.080077,79.699"
diff --git a/notebooks/seminar01.ipynb b/notebooks/seminar01.ipynb
index abf395f..11ef70d 100644
--- a/notebooks/seminar01.ipynb
+++ b/notebooks/seminar01.ipynb
@@ -99,7 +99,7 @@
     "\n",
     "Diese Anweisung ruft die **Funktion** `print` auf und übergibt ihr das **Argument** \"Hello World!\", was in diesem Fall eine **Zeichenkette** ist (das erkennen wir an den Gänsefüßchen). Die Argumente einer Funktion werden immer nach dem Namen der Funktion in Klammern übergeben.  \n",
     "\n",
-    "![Funktionsaufruf](https://amor.cms.hu-berlin.de/~jaeschkr/teaching/spp/funktionsaufruf.png)\n",
+    "![Funktionsaufruf](https://amor.cms.hu-berlin.de/~jaeschkr/teaching/spp/funktionsaufruf.svg)\n",
     "\n",
     "Das Ergebnis dieses Funktionsaufrufs ist, dass die Zeichenkette auf dem Bildschirm ausgegeben wird.\n",
     "\n",
diff --git a/notebooks/seminar03.ipynb b/notebooks/seminar03.ipynb
index ed563c8..fcab9d0 100644
--- a/notebooks/seminar03.ipynb
+++ b/notebooks/seminar03.ipynb
@@ -534,7 +534,7 @@
     "\n",
     "Ein Funktionsaufruf ist wie eine Umleitung im Kontrollfluss: Anstatt zur nächsten Anweisung zu springen, springt Python zum Rumpf der Funktion, führt die Anweisungen dort aus und springt dann zurück zum Ausgangspunkt:\n",
     "\n",
-    "![Kontrollfluss](https://amor.cms.hu-berlin.de/~jaeschkr/teaching/spp/control_flow_function.png)\n",
+    "![Kontrollfluss](https://amor.cms.hu-berlin.de/~jaeschkr/teaching/spp/control_flow_function.svg)\n",
     "\n",
     "(Quelle: Brookshear & Brylow, 2015: Computer Science: An Introduction)\n",
     "\n",
@@ -706,7 +706,7 @@
     "\n",
     "Um den Überblick zu behalten, wo welche Variable genutzt werden kann, ist es manchmal hilfreich, ein sogenanntes **Stapel-Diagramm** (Englisch: *stack diagram*) zu zeichnen:\n",
     "\n",
-    "![Stapel-Diagramm](https://amor.cms.hu-berlin.de/~jaeschkr/teaching/spp/stack_diagram.png)\n",
+    "![Stapel-Diagramm](https://amor.cms.hu-berlin.de/~jaeschkr/teaching/spp/stack_diagram.svg)\n",
     "\n",
     "Das Diagramm zeigt uns den Wert jeder Variablen und auch die Funktion zu der jede Variable gehört.\n",
     "\n",
-- 
GitLab