% 224 pages (x32) + 32 (2025) = 256 pages
\documentclass[utf8,crop,realfonts,pdg]{prepamath} %,hyperref
\usepackage{listingsutf8}
\usepackage{multirow,diagbox,stmaryrd,xlop}
\graphicspath{{../095050177_IMAGES/}}
\title{IL1NSI}
\author{Stéphane Pasquet}
\def\ISBN{9782095050177}

%\newcommand{\newexo}{\hfill\textcolor{DB}{~(NEW 2025)}}
\newcommand{\newexo}{}

%%% Ecriture en base b
\newcommand{\base}[2]{\overline{\rm #1}^{\;#2}}

%%% Codes
\renewcommand{\DirListing}{src/scripts/}
\lstset{tabsize=2}

%%%

\usepackage{qrcode}
%%% Patch de \qrcode pour gérer les caractères actifs du français
\let\qrcodeORI\qrcode
\renewcommand\qrcode[1]{%
  \begingroup
    \catcode`\:=12
    \catcode`\;=12
    \catcode`\?=12
    \catcode`\!=12
    \catcode`\~=12
    \scantokens{\qrcodeORI{#1}}%
  \endgroup
}
%%% Fin du patch 

\lstdefinelanguage{JavaScript}{
  keywords={typeof, new, true, false, catch, function, return, null, catch, switch, var, if, in, while, do, else, case, break, class, let, console, log},
  keywordstyle=\color{DO}\bfseries,
  ndkeywords={class, export, boolean, throw, implements, import, this},
  ndkeywordstyle=\color{DO}\bfseries,
  comment=[l]{//},
  morestring=[b]',
  morestring=[b]"
}

\lstdefinelanguage{php}{
  morekeywords={function, echo},
  keywordstyle=\color{DO}\bfseries,
  comment=[l]{//}
}

\begin{document}

\frontmatter

\input{src/00-avant-propos} 

\tableofcontents 

\input{src/00-Conseils}

\newpage

\includegraphics[trim={24mm 0 0 33mm}]{0_ILPubECE_tmp2}

\mainmatter
\DecimalMathComma 


\input{src/01-Encodages-Cours}\input{src/01-Encodages-Enonces}
\input{src/02-Types_valeurs_bases-Cours}\input{src/02-Types_valeurs_bases-Enonces}
\input{src/03-Types_construits-Cours}\input{src/03-Types_construits-Enonces}
\input{src/04-Langages-Cours}\input{src/04-Langages-Enonces}
\input{src/05-IHM-Cours}\input{src/05-IHM-Enonces}
\input{src/06-Architectures-Cours}\input{src/06-Architectures-Enonces} 
\input{src/07-Algorithmique-Cours}\input{src/07-Algorithmique-Enonces}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\appendix
\ListOfVideo{}
\newpage~\thispagestyle{empty}
%\printNL
\end{document}