\usepackage{book}
\footerfalse
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Dépendances générales
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Nous écrivons en unicode.
\usepackage[utf8]{inputenc}
% Nous étendons LaTeX avec le symbole €.
\usepackage{eurosym}
% Ainsi que de symboles supplémentaires.
\usepackage{amssymb}
% Le paquet ifthen facilite le contrôle de flux.
\usepackage{ifthen}
% Nous définissons de nouveaux types de flottants en nous appuyant sur le paquet
% float.
\usepackage{float}
% Nous éditons les hyperliens, avec césure, unicode, et sans cadre.
\usepackage[hyphens]{url}
\usepackage[breaklinks=true, unicode=True, pdfborder={0 0 0}]{hyperref}
\def\UrlNoBreaks{\do\(\do\[\do\{\do\<\do\:}%
% Et finalement, nous mettrons en oeuvre les subtilités de la typographie
% française.
\usepackage[french]{babel}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Chemins
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\@includes{../includes/}
\def\@images{\@includes images/}
\def\@screenshots{\@includes screenshots/}
\def\@lowres{vignettes/}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Mise en forme
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\strong}[1]{\begin{rawhtml}\end{rawhtml}#1\begin{rawhtml}\end{rawhtml}}
% Ainsi que pour les exergues, que nous définirons comme un paragraphe centré
% dans la marge.
\newenvironment{exergue}
{\begin{rawhtml}
\end{rawhtml}}
{\begin{rawhtml}
\end{rawhtml}}
%%% Hyperliens %%%
\newcommand{\email}[1]{\href{mailto:#1}{\tech{#1}}}
%\newcommand{\url}[1]{\href{#1}{\tech{#1}}}
%%% Footnotes
\newcounter{footnotenr}[]
\renewcommand{\footnote}[1]{
\refstepcounter{footnotenr}
\begin{rawhtml}
\end{rawhtml}
}
%%% Manchettes
\renewcommand{\manchette}[1]
{\begin{rawhtml}\end{rawhtml}#1\begin{rawhtml}\end{rawhtml}}
%%% Autres interfaces %%%
% Pour l'écrit étranger.
\newcommand{\foreign}[1]{\begin{rawhtml}\end{rawhtml}#1\begin{rawhtml}\end{rawhtml}}
\let\etranger\foreign
% Pour les marques.
\newcommand{\brand}[1]{\begin{rawhtml}\end{rawhtml}#1\begin{rawhtml}\end{rawhtml}}
\let\marque\brand
% Pour les aspects techniques.
\newcommand{\tech}[1]{\begin{rawhtml}\end{rawhtml}#1\begin{rawhtml}\end{rawhtml}}
\let\info\tech
\let\shell\tech
\let\command\tech
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Flottants : captures
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{capture}[2][]{\begin{rawhtml}
\end{rawhtml}}
{\begin{rawhtml}
\end{rawhtml}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Flottants : logiciels
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Déclarons les paramètres qui nous intéressent.
\newcommand{\nom}[1]
{\begin{rawhtml}\end{rawhtml}#1\begin{rawhtml}
\end{rawhtml}}
\newcommand{\logo}[1]{}
\renewcommand{\genre}[1]
{\begin{rawhtml}\end{rawhtml}#1\begin{rawhtml}
\end{rawhtml}}
\newcommand{\apprentissage}[1]
{\begin{rawhtml}\end{rawhtml}#1\begin{rawhtml}
\end{rawhtml}}
\newcommand{\installation}[1]
{\begin{rawhtml}\end{rawhtml}#1\begin{rawhtml}
\end{rawhtml}}
\newcommand{\lien}[1]
{\begin{rawhtml}\end{rawhtml}#1\begin{rawhtml}
\end{rawhtml}}
\newcommand{\equivalent}[1]
{\begin{rawhtml}\end{rawhtml}#1\begin{rawhtml}
\end{rawhtml}}
% L'interface utilisateur est l'environnement "logiciel". Là où le logiciel est
% déclaré, son résumé est inséré en marge et une référence est crée.
\newenvironment{logiciel}
{\begin{rawhtml}\end{rawhtml}}
{\begin{rawhtml}
\end{rawhtml}\par}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Flottants : encarts
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{encart}[2][]
{\begin{rawhtml}\end{rawhtml}}
{\begin{rawhtml}
\end{rawhtml}\par}
\newenvironment{ressource}[1]
{\begin{rawhtml}
\end{rawhtml}}
{\begin{rawhtml}
\end{rawhtml}\par}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Glossaire(s)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Entree de glossaire
\newenvironment{Glossaire}[1]{
\begin{rawhtml}\end{rawhtml}
\begin{rawhtml}\end{rawhtml}
#1
\begin{rawhtml}\end{rawhtml}
}{
\begin{rawhtml}\end{rawhtml}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Couvertures
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Commençons par écrire un constructeur pour les parametres à déclarer.
\def\lolipop@declare#1{%
\long\expandafter%
\def \csname lolipop@#1\endcsname {}%
\long\expandafter%
\def \csname #1\endcsname ##1{%
\long\expandafter%
\def \csname lolipop@#1\endcsname{##1}%
}%
}
% Déclarons les paramètres qui nous intéressent
\lolipop@declare{title}
\lolipop@declare{subject}
\lolipop@declare{keywords}
\lolipop@declare{version}
\lolipop@declare{date}
\lolipop@declare{organisation}
\lolipop@declare{orgwebsite}
\lolipop@declare{orgcontact}
\lolipop@declare{orgaddress}
\lolipop@declare{sourcesaddress}
% Page de titre
\def\maketitle{\makeours}
\def\makecouv{}
\def\makeours{
\begin{rawhtml}\end{rawhtml}
\lolipop@title
\begin{rawhtml}
\end{rawhtml}
\reflectbox{\copyright} \lolipop@organisation
\begin{rawhtml}
\end{rawhtml}
Version \lolipop@version\ du \lolipop@date
\begin{rawhtml}
\end{rawhtml}
\lolipop@orgaddress
\begin{rawhtml}
\end{rawhtml}
\hyperlink{licence}{Licence de ce document}
\begin{rawhtml}
\end{rawhtml}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Table des matières
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setcounter{tocdepth}{2}
\renewcommand{\tableofcontents}{
\begin{rawhtml}\end{rawhtml}
{\@readtoc{htoc}{\contentsname}}
\begin{rawhtml}
\end{rawhtml}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Signature
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{multicol}
\newenvironment{signature}
{\begin{rawhtml}\end{rawhtml}
\begin{center}\begin{tabular}{lll}}
{\begin{rawhtml}
\end{rawhtml}
\end{tabular}\end{center}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Divers
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\@makesection}[7]{%
\renewcommand{\csname @#3@level\endcsname}{#2}%
\renewcommand{#1}[2][]{%
\@secbegin\@checkdepth{#2}{\refstepcounter{#3}}%
\ifoptarg\@checktocdepth{#2}{\@doaddtoc{#2}{#5}{##1}}\else
\@checktocdepth{#2}{\@doaddtoc{#2}{#5}{##2{}}}\fi
\ifoptarg\cuthere{#3}{\@addsecnumber{#2}{#5}{##1}}\else
\cuthere{#3}{\@addsecnumber{#2}{#5}{\begin{@norefs}##2{}\end{@norefs}}}\fi
#4\@secanchor%
\@altdepth{#2}
{\@alttocdepth{#2}{\@locname{htoc\thetocanchor}{#5}#6}{#5#6}}
{\@checktocdepth{#2}{\@locname{htoc\thetocanchor}{}}}%
##2{}#7\@secend}%
\renewcommand{#1*}[1]{%
\@secbegin\cuthere{#3}{##1}%
#4\@secanchor{}##1{}#7\@secend}}%
\def\frontmatter{%
\@makesection
{\chapter}{-1}{chapter}
{\@open{H1}{\envclass@attr{chapter}}}{}{}{\@close{H1}}
}
\def\mainmatter{
\setcounter{chapter}{0}
\@makesection
{\chapter}{-1}{chapter}
{\@open{H1}{\envclass@attr{chapter}}}{\thechapter.}{\quad}{\@close{H1}}
}
\def\backmatter{}
\renewcommand{\large}{\@insert{DIV}{class="guide_large_font"}}