]> rtime.felk.cvut.cz Git - pes-rpp/rpp-simulink.git/blobdiff - doc/rpp_simulink.tex
doc: Replace deprecated \tt with \texttt
[pes-rpp/rpp-simulink.git] / doc / rpp_simulink.tex
index e7318d918acedc974bb92137a746f5dabc2ee117..d01a1a4cfd0dc2f8c3de93c5169c55795a6e5110 100644 (file)
@@ -138,6 +138,7 @@ Michal \textsc{Sojka}\\[\baselineskip]
 
 \section*{Revision history}
 
+{\small
 \noindent\begin{tabularx}{\linewidth}{|l|l|l|X|}
   \rowcolor[gray]{0.9}\hline
   Revision     & Date      & Author(s) & Comments \\ \hline
@@ -198,7 +199,7 @@ Michal \textsc{Sojka}\\[\baselineskip]
                                       initialization demo''.
            \\\hline
 \end{tabularx}
-
+}
 \tableofcontents
 
 \newpage
@@ -1131,7 +1132,7 @@ of the blocks have to be compiled by the mex tool.
   use. In the Matlab command window run the \texttt{mex -setup}
   command and select the native C compiler.
 
-\begin{lstlisting}[basicstyle=\tt\footnotesize]
+\begin{lstlisting}[basicstyle=\texttt\footnotesize]
 >> mex -setup
 
 Welcome to mex -setup.  This utility will help you set up
@@ -2066,6 +2067,7 @@ RPP block library, shown in Figure \ref{fig-block-library}.
 \clearpage
 \input{block_desc.tex}
 
+\newpage
 \section{Compilation}
 \label{sec-simulink-compilation}
 The first step, before any attempt to compile demo or other models, is to compile the S-Functions of the RPP blocks. The S-Functions are compiled during the Configuring Simulink for RPP, described in Section \ref{sec-configuration-simulink-for-rpp}. If you want to recompile the S-Functions without reconfiguring the Simulink, open the Matlab and run those commands in the Matlab commad line:
@@ -2145,7 +2147,7 @@ recommended, as it helps keeping the documentation consistent and
 up-to-date.
 
 The YAML documentation block may look like this:
-\begin{lstlisting}[language=c,basicstyle=\tt\footnotesize]
+\begin{lstlisting}[language=c,basicstyle=\texttt\footnotesize]
 /*
 %YAML 1.2
 ---
@@ -2595,23 +2597,23 @@ The application enables a command processor using the SCI at
 \textbf{115200-8-N-1}. When the software starts, the received welcome message
 and prompt should look like:
 
-
+\bigskip
 \ifx\tgtId\tgtIdTMSRPP
-\begin{verbatim}
-Rapid Prototyping Platform v00.01-001
-Test Software version v0.2-261-gb6361ca
-CTU in Prague 2014
---> 
-\end{verbatim}
+\noindent\texttt{Rapid Prototyping Platform v00.01-001\\
+Test Software version \input{version.tex}\\
+CTU in Prague 2014\\
+-->
+}
 \else
-\begin{verbatim}
-Ti HDK \mcuname, FreeRTOS 7.0.2
-Test Software version eaton-0.1-beta-8-g91419f5
-CTU in Prague 10/2014
---> 
-\end{verbatim}
+\noindent\texttt{Ti HDK \mcuname, FreeRTOS 7.0.2\\
+Test Software version \input{version.tex}\\
+CTU in Prague 10/2014\\
+-->
+}
 \fi
 
+\bigskip
+
 Type in command help for a complete list of available command, or help command
 for a description of concrete command.
 
@@ -2645,6 +2647,11 @@ This section contains the description of the available commands. The
 same description is also available in the program itself via the
 \texttt{help} command.
 
+% Pandoc generates \tightlist in its output. Since we don't use pandoc
+% template, we have put its definition here.
+\providecommand{\tightlist}{%
+  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
+
 \input{rpp-test-sw-cmds.tex}
 
 \chapter{Glossary}