\documentclass[a4paper, 12pt, openright, french]{scrbook}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{lmodern}
\usepackage{listings}
\usepackage{xcolor}
\usepackage[
  pdftitle={StupidFS},
  pdfauthor={\@author},
]{hyperref}

\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}

\lstdefinestyle{mystyle}{
     belowcaptionskip=1\baselineskip,
    breaklines=true,
    frame=none,
    numbers=none,
    basicstyle=\footnotesize\ttfamily,
    keywordstyle=\bfseries\color{green!40!black},
    commentstyle=\itshape\color{purple!40!black},
    identifierstyle=\color{blue},
    backgroundcolor=\color{gray!10!white},
}

\lstset{style=mystyle}

\date{\today}
\title{Ecrire son propre UNIX}
\author{d0p1}

\lowertitleback{Copyright \copyright{} \the\year{} d0p1
    \medskip\\
    \begin{tabular}{lp{.8\textwidth}}
        \raisebox{-12pt}{\includegraphics[height=18pt]{fig/gfdl}} &
        Permission is granted to copy, distribute and/or modify this document
    under the terms of the GNU Free Documentation License, Version 1.3
    or any later version published by the Free Software Foundation;
    with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. \\
    \end{tabular}
}

\begin{document}
	\frontmatter
	
	\maketitle
	\tableofcontents

	\mainmatter
	

	\include{chapter/00-introduction}
	
	\chapter{Préparer son environment}

	\section{limine}

	\section{cross-compiler}

	\section{Hello, Kernel World}

	\chapter{La gestion de la mémoire}

	\section{Introduction}

	\section{memoire physique}

	\subsection{initialiser notre allocateur}

	\subsection{allouer et desallouer la mémoire}

	\section{memoire virtuel}

	\chapter{Systeme de fichier}

	\section{VFS}

	\section{ext2}

	\chapter{L'userspace}

	\chapter{Porter des logiciel}

	\section{Introduction}

	\section{mlibc}

	\appendix

\end{document}
