From 7e5883bbd6e699d1fcee0814c5a172d6348bd63c Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Thu, 27 Jan 2011 00:52:19 +0100 Subject: convert the rest to the new buildsys format Signed-off-by: Manuel Traut --- protocols/Makefile | 2 +- protocols/section.tex | 1 + protocols/socketcan/Makefile | 4 +-- protocols/socketcan/pres_socketcan_de.tex | 57 ++++++------------------------- 4 files changed, 14 insertions(+), 50 deletions(-) create mode 100644 protocols/section.tex (limited to 'protocols') diff --git a/protocols/Makefile b/protocols/Makefile index c0c47ad..0a202ea 100644 --- a/protocols/Makefile +++ b/protocols/Makefile @@ -1,4 +1,4 @@ -SUBDIRS = `ls -1 | grep -v *.tex | grep -v Makefile` +SUBDIRS = `ls -1 | grep -v *.tex | grep -v Makefile | grep -v TODO` all clean:: for dir in $(SUBDIRS) ; do \ diff --git a/protocols/section.tex b/protocols/section.tex new file mode 100644 index 0000000..a3a1c82 --- /dev/null +++ b/protocols/section.tex @@ -0,0 +1 @@ +\section{Protokolle} diff --git a/protocols/socketcan/Makefile b/protocols/socketcan/Makefile index 4663d52..d641258 100644 --- a/protocols/socketcan/Makefile +++ b/protocols/socketcan/Makefile @@ -1,7 +1,7 @@ all: for pdf in `ls -1 *.tex` ; do \ - pdflatex $$pdf; \ - pdflatex $$pdf; \ + TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ + TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ done clean: diff --git a/protocols/socketcan/pres_socketcan_de.tex b/protocols/socketcan/pres_socketcan_de.tex index d57d079..16d0002 100644 --- a/protocols/socketcan/pres_socketcan_de.tex +++ b/protocols/socketcan/pres_socketcan_de.tex @@ -1,57 +1,16 @@ -\documentclass[11pt]{beamer} - -%\usepackage{ngerman} -\usepackage{times} -\usepackage{graphicx} -\usepackage{pgf,pgfarrows,pgfnodes,pgfautomata,pgfheaps} -\usepackage{amsmath,amssymb} -\usepackage[utf8]{inputenc} -\usepackage{listings,color} -\definecolor{lbcolor}{RGB}{255,210,150} -\lstset{ - language=C, - numbers=left, - stepnumber=1, - numbersep=5pt, - numberstyle=\tiny, - breaklines=true, - breakautoindent=true, - postbreak=\space, - tabsize=2, - basicstyle=\ttfamily\fontsize{7}{9}\selectfont, - showspaces=false, - showstringspaces=false, - extendedchars=true, - backgroundcolor=\color{lbcolor}, - keywordstyle=\bf , - commentstyle=\color{green}, - stringstyle=\color{red} -} - -\mode -{ - \usetheme{linutronix} -} - % on the following slides, include icon in the left sidebar \def\lximg{/usr/share/lx/icons/fueller.png} -\title{Can unter Linux: SocketCAN} -\institute{Linutronix GmbH} - -\begin{document} +\input{configpres} -\frame{ \titlepage } +\title{SocketCAN} +\maketitle % stop displaying 'fueller.png' on the following slides \def\lximg{none} -%\AtBeginSection[] -%{ -% \begin{frame} -% \tableofcontents[currentsection,currentsubsection] -% \end{frame} -%} +\subsection{SocketCAN} + \begin{frame} \frametitle{Übersicht} \begin{itemize} @@ -87,6 +46,7 @@ vcan0 Link encap:UNSPEC Hardware Adresse 00-00-00-00-00 \end{verbatim} \end{frame} +\subsubsection{Tools} \begin{frame}[fragile] \frametitle{cansend / candump} cansend: @@ -131,6 +91,7 @@ cansniffer vcan0: \end{verbatim} \end{frame} +\subsubsection{Programmbeispiel} \begin{frame}[fragile] \frametitle{Programmierbeispiel: can example} \begin{lstlisting} @@ -182,6 +143,7 @@ Received -> 22 \end{verbatim} \end{frame} +\subsubsection{Logger} \begin{frame}[fragile] \frametitle{canlogserver} \begin{verbatim} @@ -203,4 +165,5 @@ Escape character is '^]'. (1289664133.692351) vcan0 42A#04 \end{verbatim} \end{frame} -\end{document} + +\input{tailpres} -- cgit v1.2.3