\newcommand{\listing}[4]{\subsection{#1}\begin{frame}
{\bititle\\Présentation / Fichiers / #1}\centering#4
\lstinputlisting[language={#2}]{#3}\end{frame}}
%⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
\newcommand{\sublistex}[3]{
\listing{#1}{[LaTeX]TeX}{présentation/#2}{#3}}
%⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
\lstdefinelanguage{rst}{keywords={download,literalinclude}}
%⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
\definecolor{bg}{rgb}{.92,.92,.92}
\definecolor{cm}{rgb}{.1,.6,.1}
\definecolor{kw}{rgb}{.8,.1,.1}
\definecolor{str}{rgb}{.1,.1,.8}
\lstset{
basicstyle=\ttfamily\scriptsize,
numbers=left,
numbersep=.5em,
%backgroundcolor=\color{bg},
commentstyle=\color{cm},
keywordstyle=\color{kw},
stringstyle=\color{str},
}
