From e6ac85bdb3db81e29107d2f57ad468172bca13dc Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 5 May 2020 06:35:15 +0200 Subject: [PATCH] produire --- cnam/travaux/blanc/produire.sh | 4 ++-- cnam/travaux/blanc/présentation.tex | 18 +++++++++++++++--- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/cnam/travaux/blanc/produire.sh b/cnam/travaux/blanc/produire.sh index 81b69dc..fafc322 100755 --- a/cnam/travaux/blanc/produire.sh +++ b/cnam/travaux/blanc/produire.sh @@ -14,8 +14,8 @@ xelatex -output-directory "${DOSSIER}" "${FICHIER}.tex" # gpg --armor --detach-sign "${DOSSIER}/${FICHIER}.pdf" # -mv "${DOSSIER}/${FICHIER}.pdf" "${DOSSIER}/${FICHIER}.pdf.asc" '.' +mv "${DOSSIER}/${FICHIER}".{pdf,pdf.asc} '.' # rm --force --recursive "${DOSSIER}" # -gpg --verify "${FICHIER}.pdf.asc" "${FICHIER}.pdf" 2> "${FICHIER}.pdf.vrf" +gpg --verify "${FICHIER}.pdf.asc" 2> "${FICHIER}.pdf.vrf" diff --git a/cnam/travaux/blanc/présentation.tex b/cnam/travaux/blanc/présentation.tex index 1598011..a335c15 100644 --- a/cnam/travaux/blanc/présentation.tex +++ b/cnam/travaux/blanc/présentation.tex @@ -2,6 +2,7 @@ \newcommand{\import}[1]{\input{présentation/#1}} %––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– \usepackage{multicol} +\usepackage{listings} \usetheme{Berkeley} \usecolortheme{seahorse} %––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– @@ -136,13 +137,24 @@ \end{frame} %––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– \section{Présentation} +\definecolor{bg}{rgb}{0.92,0.92,0.92} +\definecolor{cm}{rgb}{0.1,0.6,0.1} +\definecolor{kw}{rgb}{0.8,0.1,0.1} +\definecolor{str}{rgb}{0.1,0.1,0.8} +\lstset{ +basicstyle=\ttfamily\scriptsize, +numbers=left, +numbersep=0.25em, +backgroundcolor=\color{bg}, +commentstyle=\color{cm}, +keywordstyle=\color{kw}, +stringstyle=\color{str}, +} %⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅ \subsection{truc} \begin{frame} \frametitle{\fulltitle\\Moyens / Opérations} -\begin{itemize} -\item<1-> ? -\end{itemize} +\lstinputlisting[language=bash]{produire.sh} \end{frame} %⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅ \subsection{machin}