Everything is okay except for software listings.
I would like to have software listings like you can see in http://gapil.gnulinux.it/files/2011/12/gapil.pdf at page 641 (number of page, not number of pdf's page)
To do that I downloaded the .tex files of Gapil book at http://gapil.truelite.it/sources/browser/trunk
The software listings of Gapil book are under listati subfolder. I found out that the part of tex file that manages software listings are:
Code: Select all
\begin{figure}[!htb]
\footnotesize \centering
\begin{minipage}[c]{15.6cm}
\includecodesample{cancellami/UDP_daytimed.c}
\end{minipage}
\normalsize
\caption{Sezione principale del server per il servizio \textit{daytime} su UDP.}
\label{fig:UDP_daytime_server}
\end{figure}
LyX version: 2.0.2