diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f5e788421b8fb98d9ecf23a411e9da801446dc2a..f020b4113be16da723bd74282a981f7379adcf29 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,7 +12,12 @@ before_script:
   - curl -sSL https://github.com/ferrous-systems/mdslides/releases/download/v0.3.0/mdslides-v0.3.0-x86_64-unknown-linux-gnu.tar.xz | tar -xJ "mdslides-v0.3.0-x86_64-unknown-linux-gnu/mdslides" && mv mdslides-v0.3.0-x86_64-unknown-linux-gnu/mdslides $HOME/.cargo/bin/ && rm -r mdslides-v0.3.0-x86_64-unknown-linux-gnu
   - rustup component add rustfmt
   - rustup component add clippy
-  - export PATH=$PATH:$HOME/.cargo/bin
+  - curl -L https://github.com/HollowMan6/mdbook-pdf/releases/download/v0.1.8/mdbook-pdf-v0.1.8-x86_64-unknown-linux-gnu -o $HOME/.cargo/bin/mdbook-pdf
+  - chmod +x $HOME/.cargo/bin/mdbook-pdf
+  - mkdir -p $HOME/bin
+  - curl -L https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o $HOME/bin/chrome.deb
+  - apt-get install -y $HOME/bin/chrome.deb
+  - export PATH=$PATH:$HOME/.cargo/bin:$HOME/bin
   ##
   ## Install ssh-agent if not already installed, it is required by Docker.
   ##
diff --git a/README.md b/README.md
index 735cbec1c366e0e117066bd2b3de24eeef1eb9dd..4c3096d1fc14aad6f24c340a3ba46d03d4ba93af 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,7 @@ Pour ce faire il faut installer plusieurs programmes:
 * [mdbook](https://rust-lang.github.io/mdBook/) pour le livre et les slides,
 * [modbook-linkcheck](https://github.com/Michael-F-Bryan/mdbook-linkcheck) pour la vérification des liens su livre,
 * [mdslides](https://github.com/ferrous-systems/mdslides/), uniquement pour les slides.
+* [mdbook-pdf](https://github.com/HollowMan6/mdbook-pdf), pour générer le cours au format pdf.
 
 ### Installation de `mdbook`
 
@@ -80,6 +81,15 @@ $ ./build_slides.sh
 ```
 L'index des slides se trouve ensuite dans `slides/index.html`.
 
+### Installation de `mdbook-pdf`
+
+Pour installer `mdbook-pdf` depuis la dernière version de <https://crates.io/>
+```bash
+cargo install mdbook-pdf
+```
+
+`mdbook-pdf` nécessite un navigateur de type chromium (Google Chrome / Chromium / Microsoft Edge) installé.
+
 ## Inspiration
 
 L'inspiration de ce cours est tirée de trois cours qui ont l'air très bons:
diff --git a/book/book.toml b/book/book.toml
index 767af31f2e9bf7eec1efa6f47bd121ed1e1efb36..b102e6598cf96f08890b48a4f05655d85795d410 100644
--- a/book/book.toml
+++ b/book/book.toml
@@ -11,6 +11,11 @@ mathjax-support = true
 [output.html.playground]
 editable = true
 
+[output.html.print]
+enable = true
+
+[output.pdf]
+
 [output.linkcheck]
 # Should we check links on the internet? Enabling this option adds a
 # non-negligible performance impact