Browse Source

progress with table, finished some slides

Simon Hammer 3 năm trước cách đây
mục cha
commit
f545ca8b97
7 tập tin đã thay đổi với 182 bổ sung70 xóa
  1. 1 0
      .gitignore
  2. 65 5
      vortrag/beamerTry/main.nav
  3. 2 2
      vortrag/beamerTry/main.tex
  4. 17 0
      vortrag/code/sentMail.py
  5. 49 36
      vortrag/core.nav
  6. 48 27
      vortrag/core.tex
  7. 0 0
      vortrag/testTable.snm

+ 1 - 0
.gitignore

@@ -21,3 +21,4 @@ Include/
 *.gls
 *.ist
 *.webm
+*.nav

+ 65 - 5
vortrag/beamerTry/main.nav

@@ -51,11 +51,71 @@
 \defcounter {refsection}{0}\relax 
 \headcommand {\beamer@subsectionpages {7}{13}}
 \defcounter {refsection}{0}\relax 
+\headcommand {\sectionentry {3}{Equations and Figure}{14}{Equations and Figure}{0}}
+\defcounter {refsection}{0}\relax 
 \headcommand {\slideentry {3}{0}{1}{14/14}{}{0}}
 \defcounter {refsection}{0}\relax 
 \headcommand {\beamer@framepages {14}{14}}
-\headcommand {\beamer@partpages {1}{14}}
-\headcommand {\beamer@subsectionpages {14}{14}}
-\headcommand {\beamer@sectionpages {14}{14}}
-\headcommand {\beamer@documentpages {14}}
-\headcommand {\gdef \inserttotalframenumber {10}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\slideentry {3}{0}{2}{15/16}{}{0}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\beamer@framepages {15}{16}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\slideentry {3}{0}{3}{17/19}{}{0}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\beamer@framepages {17}{19}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\slideentry {3}{0}{4}{20/20}{}{0}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\beamer@framepages {20}{20}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\slideentry {3}{0}{5}{21/22}{}{0}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\beamer@framepages {21}{22}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\slideentry {3}{0}{6}{23/25}{}{0}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\beamer@framepages {23}{25}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\slideentry {3}{0}{7}{26/28}{}{0}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\beamer@framepages {26}{28}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\slideentry {3}{0}{8}{29/29}{}{0}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\beamer@framepages {29}{29}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\beamer@sectionpages {14}{29}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\beamer@subsectionpages {14}{29}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\sectionentry {4}{graphs and other tikz}{30}{graphs and other tikz}{0}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\slideentry {4}{0}{1}{30/30}{}{0}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\beamer@framepages {30}{30}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\slideentry {4}{0}{2}{31/31}{}{0}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\beamer@framepages {31}{31}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\slideentry {4}{0}{3}{32/32}{}{0}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\beamer@framepages {32}{32}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\slideentry {4}{0}{4}{33/33}{}{0}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\beamer@framepages {33}{33}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\beamer@sectionpages {30}{33}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\beamer@subsectionpages {30}{33}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\slideentry {5}{0}{1}{34/34}{}{0}}
+\defcounter {refsection}{0}\relax 
+\headcommand {\beamer@framepages {34}{34}}
+\headcommand {\beamer@partpages {1}{34}}
+\headcommand {\beamer@subsectionpages {34}{34}}
+\headcommand {\beamer@sectionpages {34}{34}}
+\headcommand {\beamer@documentpages {34}}
+\headcommand {\gdef \inserttotalframenumber {22}}

+ 2 - 2
vortrag/beamerTry/main.tex

@@ -25,9 +25,9 @@
     
     \input{chapters/boxesandcolumns}
     
-%    \input{chapters/equationandfigure} 
+    \input{chapters/equationandfigure} 
     
-%    \input{chapters/graphs and other tikz}
+    \input{chapters/graphs and other tikz}
     
     
  %   \section*{References} %You can remove this if you do not want to use it

+ 17 - 0
vortrag/code/sentMail.py

@@ -0,0 +1,17 @@
+
+def sendStarttls(host, sendingMail, receivingMail, password, message="",
+                 subject="", port=587, cc=[], bcc=[]):
+    context = ssl.create_default_context()
+
+    if type(cc) is not str:
+        cc = ",".join(cc)
+    if type(bcc) is not str:
+        bcc = ",".join(bcc)
+    utf8Message = ("Subject: " + subject + "\nCC: " + cc + "\nBCC: " + bcc +
+                   "\n\n" + message)
+    decoded = utf8Message.encode('cp1252').decode('utf-8')
+
+    with smtplib.SMTP(host, port) as serverConnection:
+        serverConnection.starttls(context=context)
+        serverConnection.login(sendingMail, password)
+        serverConnection.sendmail(sendingMail, receivingMail, decoded)

+ 49 - 36
vortrag/core.nav

@@ -5,46 +5,59 @@
 \headcommand {\beamer@sectionpages {1}{2}}
 \headcommand {\beamer@subsectionpages {1}{2}}
 \headcommand {\sectionentry {1}{Vorwort}{3}{Vorwort}{0}}
-\headcommand {\slideentry {1}{0}{1}{3/6}{}{0}}
+\headcommand {\beamer@subsectionpages {3}{2}}
+\headcommand {\beamer@subsectionentry {0}{1}{1}{3}{Motivation}}
+\headcommand {\slideentry {1}{1}{1}{3/6}{Motivation}{0}}
 \headcommand {\beamer@framepages {3}{6}}
 \headcommand {\beamer@subsectionpages {3}{6}}
-\headcommand {\beamer@subsectionentry {0}{1}{1}{7}{Ziele}}
-\headcommand {\slideentry {1}{1}{1}{7/13}{Ziele}{0}}
+\headcommand {\beamer@subsectionentry {0}{1}{2}{7}{Ziele}}
+\headcommand {\slideentry {1}{2}{1}{7/13}{Ziele}{0}}
 \headcommand {\beamer@framepages {7}{13}}
-\headcommand {\slideentry {1}{1}{2}{14/17}{Ziele}{0}}
+\headcommand {\beamer@subsectionpages {7}{13}}
+\headcommand {\beamer@subsectionentry {0}{1}{3}{14}{Weshalb Java?}}
+\headcommand {\slideentry {1}{3}{1}{14/17}{Weshalb Java?}{0}}
 \headcommand {\beamer@framepages {14}{17}}
-\headcommand {\slideentry {1}{1}{3}{18/18}{Ziele}{0}}
+\headcommand {\beamer@sectionpages {3}{17}}
+\headcommand {\beamer@subsectionpages {14}{17}}
+\headcommand {\sectionentry {2}{Haupteil}{18}{Haupteil}{0}}
+\headcommand {\beamer@subsectionpages {18}{17}}
+\headcommand {\beamer@subsectionentry {0}{2}{1}{18}{App mit Film}}
+\headcommand {\slideentry {2}{1}{1}{18/18}{App mit Film}{0}}
 \headcommand {\beamer@framepages {18}{18}}
-\headcommand {\slideentry {1}{1}{4}{19/22}{Ziele}{0}}
+\headcommand {\beamer@subsectionpages {18}{18}}
+\headcommand {\beamer@subsectionentry {0}{2}{2}{19}{App Inhalte}}
+\headcommand {\slideentry {2}{2}{1}{19/22}{App Inhalte}{0}}
 \headcommand {\beamer@framepages {19}{22}}
-\headcommand {\slideentry {1}{1}{5}{23/30}{Ziele}{0}}
-\headcommand {\beamer@framepages {23}{30}}
-\headcommand {\slideentry {1}{1}{6}{31/34}{Ziele}{0}}
-\headcommand {\beamer@framepages {31}{34}}
-\headcommand {\slideentry {1}{1}{7}{35/35}{Ziele}{0}}
-\headcommand {\beamer@framepages {35}{35}}
-\headcommand {\slideentry {1}{1}{8}{36/36}{Ziele}{0}}
-\headcommand {\beamer@framepages {36}{36}}
-\headcommand {\slideentry {1}{1}{9}{37/37}{Ziele}{0}}
-\headcommand {\beamer@framepages {37}{37}}
-\headcommand {\slideentry {1}{1}{10}{38/42}{Ziele}{0}}
-\headcommand {\beamer@framepages {38}{42}}
-\headcommand {\slideentry {1}{1}{11}{43/49}{Ziele}{0}}
-\headcommand {\beamer@framepages {43}{49}}
-\headcommand {\slideentry {1}{1}{12}{50/50}{Ziele}{0}}
-\headcommand {\beamer@framepages {50}{50}}
-\headcommand {\slideentry {1}{1}{13}{51/51}{Ziele}{0}}
-\headcommand {\beamer@framepages {51}{51}}
-\headcommand {\slideentry {1}{1}{14}{52/55}{Ziele}{0}}
-\headcommand {\beamer@framepages {52}{55}}
-\headcommand {\slideentry {1}{1}{15}{56/56}{Ziele}{0}}
-\headcommand {\beamer@framepages {56}{56}}
-\headcommand {\slideentry {1}{1}{16}{57/57}{Ziele}{0}}
-\headcommand {\beamer@framepages {57}{57}}
-\headcommand {\slideentry {1}{1}{17}{58/58}{Ziele}{0}}
-\headcommand {\beamer@framepages {58}{58}}
-\headcommand {\beamer@partpages {1}{58}}
-\headcommand {\beamer@subsectionpages {7}{58}}
-\headcommand {\beamer@sectionpages {3}{58}}
-\headcommand {\beamer@documentpages {58}}
+\headcommand {\beamer@subsectionpages {19}{22}}
+\headcommand {\beamer@subsectionentry {0}{2}{3}{23}{App-Struktur}}
+\headcommand {\slideentry {2}{3}{1}{23/28}{App-Struktur}{0}}
+\headcommand {\beamer@framepages {23}{28}}
+\headcommand {\slideentry {2}{3}{2}{29/30}{App-Struktur}{0}}
+\headcommand {\beamer@framepages {29}{30}}
+\headcommand {\slideentry {2}{3}{3}{31/31}{App-Struktur}{0}}
+\headcommand {\beamer@framepages {31}{31}}
+\headcommand {\slideentry {2}{3}{4}{32/32}{App-Struktur}{0}}
+\headcommand {\beamer@framepages {32}{32}}
+\headcommand {\slideentry {2}{3}{5}{33/33}{App-Struktur}{0}}
+\headcommand {\beamer@framepages {33}{33}}
+\headcommand {\slideentry {2}{3}{6}{34/34}{App-Struktur}{0}}
+\headcommand {\beamer@framepages {34}{34}}
+\headcommand {\slideentry {2}{3}{7}{35/38}{App-Struktur}{0}}
+\headcommand {\beamer@framepages {35}{38}}
+\headcommand {\slideentry {2}{3}{8}{39/39}{App-Struktur}{0}}
+\headcommand {\beamer@framepages {39}{39}}
+\headcommand {\slideentry {2}{3}{9}{40/43}{App-Struktur}{0}}
+\headcommand {\beamer@framepages {40}{43}}
+\headcommand {\slideentry {2}{3}{10}{44/48}{App-Struktur}{0}}
+\headcommand {\beamer@framepages {44}{48}}
+\headcommand {\slideentry {2}{3}{11}{49/55}{App-Struktur}{0}}
+\headcommand {\beamer@framepages {49}{55}}
+\headcommand {\slideentry {2}{3}{12}{56/62}{App-Struktur}{0}}
+\headcommand {\beamer@framepages {56}{62}}
+\headcommand {\slideentry {2}{3}{13}{63/63}{App-Struktur}{0}}
+\headcommand {\beamer@framepages {63}{63}}
+\headcommand {\beamer@partpages {1}{63}}
+\headcommand {\beamer@subsectionpages {23}{63}}
+\headcommand {\beamer@sectionpages {18}{63}}
+\headcommand {\beamer@documentpages {63}}
 \headcommand {\gdef \inserttotalframenumber {20}}

+ 48 - 27
vortrag/core.tex

@@ -62,6 +62,10 @@
 % Package to use videos
 \usepackage{movie15}
 
+%for table
+\usepackage{array}
+\newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}}
+
 %% Putting the background image in the frames
 \usebackgroundtemplate{%
     %\vbox to \paperheight{\hfil\hbox to \paperwidth{\hfil\includegraphics[width=1\paperwidth]{../../logo/version2grey.pdf}\hfil}\vfil}
@@ -71,12 +75,13 @@
 \begin{document}
 \maketitle
 
-\begin{frame}{Inhaltsverzeichniss}
-INSERT TOC HERE
+\begin{frame}[plain]{Inhaltsverzeichniss}
+    \tableofcontents
 \end{frame}
 
-%\section{Vorwort}
-\begin{frame}{Motivation}
+\section{Vorwort}
+\subsection{Motivation}
+\begin{frame}[plain]{Motivation}
 \begin{varwidth}{.5\textwidth}
         \begin{figure}
             \centering
@@ -94,8 +99,8 @@ INSERT TOC HERE
     \end{varwidth} 
 \end{frame}
 
-%\subsection{Ziele}
-\begin{frame}{Ziele}
+\subsection{Ziele}
+\begin{frame}[plain]{Ziele}
 \begin{varwidth}{.5\textwidth}
         \begin{figure}
             \centering
@@ -116,7 +121,8 @@ INSERT TOC HERE
     \end{varwidth} 
 \end{frame}
 
-\begin{frame}{Warum Java}
+\subsection{Weshalb Java?}
+\begin{frame}[plain]{Weshalb Java?}
 \begin{varwidth}{.3\textwidth}
         \begin{figure}
             \centering
@@ -134,7 +140,9 @@ INSERT TOC HERE
 \end{frame}
 
 % TODO: consider using external player
-\begin{frame}{Demo}
+\section{Haupteil}
+\subsection{App mit Film}
+\begin{frame}[plain]{Demo}
     \begin{figure}[h]
         \centering
         \includemovie[toolbar]{120pt}{190pt}{media/cutaccountViewer.mp4}
@@ -142,7 +150,8 @@ INSERT TOC HERE
     \end{figure}
 \end{frame}
 
-\begin{frame}{Was alles drin ist}
+\subsection{App Inhalte}
+\begin{frame}[plain]{Was alles drin ist}
 
     \begin{figure}[h]
 
@@ -158,12 +167,13 @@ INSERT TOC HERE
 
 \end{frame}
 
-\begin{frame}{Allgemeine App-Struktur}
+\subsection{App-Struktur}
+\begin{frame}[plain]{Allgemeine App-Struktur}
 \begin{varwidth}{.3\textwidth}
     \pause
         \begin{figure}
             \centering
-            \includegraphics[height=.7\textheight]{../maturText/media/AppStructure.png}
+            \includegraphics[height=.7\textheight]{../maturText/media/AppStructureFull.png}
         \end{figure}
     \end{varwidth}
     \hfill
@@ -172,22 +182,31 @@ INSERT TOC HERE
             \item Das User Interface \pause
             \item Die Server Connection \pause
             \item Die Database \pause
-            \item Schnelligkeit\inlinegraphics{media/run.png}\pause
-            \item Mobil und Modern\inlinegraphics{media/mobile.png}\pause
-            \item Einstellungen\inlinegraphics{media/settings.png}
         \end{itemize}
     \end{varwidth} 
 \end{frame}
 
-\begin{frame}{Database}
+\begin{frame}[plain]{Database}
 \begin{block}{allgemein}
 \end{block}
 
 \begin{block}{in der app}
+%:TODO finish this simon
+\begin{tabular}{ |C{1.4Cm}  |C{0.9Cm} |C{0.5Cm} |C{0.65Cm} |C{0.95Cm} |C{0.85Cm} |C{1.05Cm} |C{1.55Cm} |C{1.05Cm} |C{0.9Cm}|}
+%\begin{tabular}{ c c c c c c c c c c}
+ \hline
+ \multicolumn{10}{|c|}{Database Table} \\
+ \hline
+    \small{ObejctKey} &To & cc & bcc & from & date & subject & \small{textContent} & folder & seen  \\
+    \hline
+    \pause
+     01    & \small{Valentin} & null & null & \small{Lennard} & \small{01.03.13} & Schule &  Hallo Herr & Draft & true \\
+ \hline
+\end{tabular} 
 \end{block}
 \end{frame}
 
-\begin{frame}{Email Connection}
+\begin{frame}[plain]{Email Connection}
 \centering
 \includegraphics[width=.8\textwidth]{../maturText/media/connection-diagram.png}
 \end{frame}
@@ -214,20 +233,22 @@ def sendStarttls(host, sendingMail, receivingMail, password, message="",
 \end{lstlisting}
 }
 
-\begin{frame}{Sendung einer Email}
-\makeset
+\begin{frame}[plain]{Senden einer Email}
+%\makeset
+    \lstset{language=Python}
+    \lstinputlisting[language=Python]{code/sentMail.py}
 \end{frame}
 
-\begin{frame}{Was haben wir wirklich selber gemacht?}
+\begin{frame}[plain]{Was haben wir wirklich selber gemacht?}
 \centering
 \includegraphics[height=.8\textheight]{media/self.jpeg}
 \end{frame}
 
-\begin{frame}{Room}
+\begin{frame}[plain]{Room}
 INSERT ABSTRACTION LAYERS
 \end{frame}
 
-\begin{frame}{Material Design}
+\begin{frame}[plain]{Material Design}
 \begin{varwidth}{.5\textwidth}
         \begin{figure}
             \centering
@@ -245,12 +266,12 @@ INSERT ABSTRACTION LAYERS
     \end{varwidth}
 \end{frame}
 
-\begin{frame}{Bugs}
+\begin{frame}[plain]{Bugs}
 INSERT BUGS HERE
 \end{frame}
 
 %:TODO Ich han eig gmeint Bilder us de Apps. Also wenn du seisch es isch zu überlade das me das in de Apps seht und ned s Logo fo de App
-\begin{frame}{Inspiration Design}
+\begin{frame}[plain]{Inspiration Design}
 \begin{varwidth}{.3\textwidth}\pause
         \begin{figure}
             \centering
@@ -273,7 +294,7 @@ INSERT BUGS HERE
 \end{varwidth}
 \end{frame}
 
-\begin{frame}{Resultate}
+\begin{frame}[plain]{Resultate}
 \begin{itemize}\pause
     \item User Interface\pause
     \item chaquopy\pause
@@ -282,7 +303,7 @@ INSERT BUGS HERE
 \end{itemize}
 \end{frame}
 
-\begin{frame}{Was wir gelernt haben}
+\begin{frame}[plain]{Was wir gelernt haben}
 \begin{varwidth}{.5\textwidth}
         \begin{figure}
             \centering
@@ -303,7 +324,7 @@ INSERT BUGS HERE
 \end{frame}
 
 % TODO: WAS GUT / SCHLECHT LIEF
-\begin{frame}{persönliche Meinung}
+\begin{frame}[plain]{persönliche Meinung}
 \begin{varwidth}{.4\textwidth}
         \begin{itemize}\pause
             \item VCS $\rightarrow$ Git $\rightarrow$ GitHub\pause
@@ -321,7 +342,7 @@ INSERT BUGS HERE
     \end{varwidth} 
 \end{frame}
 
-\begin{frame}{Zukunft: Wie geht es weiter?}
+\begin{frame}[plain]{Zukunft: Wie geht es weiter?}
     \begin{figure}
         \centering
         \includegraphics[height=.7\textheight]{media/github-repo.jpg}

+ 0 - 0
vortrag/testTable.snm