|
| 1 | +%\documentclass[11pt]{report} |
| 2 | +\documentclass[11pt,twoside,openright]{report} |
| 3 | + |
| 4 | +%\usepackage[screen]{python} |
| 5 | +\usepackage[print]{python} |
| 6 | + |
| 7 | +\begin{document} |
| 8 | + |
| 9 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 10 | +% Titre + préface + sommaire |
| 11 | +\renewcommand{\contentsname}{Sommaire} |
| 12 | + |
| 13 | +% Préface |
| 14 | +\pagenumbering{roman} |
| 15 | +\import{divers/}{preface_livre_python.tex} |
| 16 | +\debutchapitres |
| 17 | +\pagenumbering{arabic} |
| 18 | + |
| 19 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 20 | +% Les feuilles |
| 21 | + |
| 22 | +\clearemptydoublepage |
| 23 | + |
| 24 | + |
| 25 | +%====================================== |
| 26 | +% Introduction |
| 27 | +%====================================== |
| 28 | + |
| 29 | +\part{Mise en route} |
| 30 | + |
| 31 | +% 1 - Hello world! |
| 32 | +\import{premiers_pas/}{premiers_pas.tex} |
| 33 | + |
| 34 | +% 2 - Tortue (Scratch avec Python) |
| 35 | +\import{tortue/}{tortue.tex} |
| 36 | + |
| 37 | + |
| 38 | +%====================================== |
| 39 | +% Fondamentaux |
| 40 | +%====================================== |
| 41 | + |
| 42 | +\part{Fondamentaux} |
| 43 | + |
| 44 | +% 1 - Si-alors |
| 45 | +\import{sialors/}{sialors.tex} |
| 46 | + |
| 47 | +% 2 - Fonctions |
| 48 | +\import{fonctions/}{fonctions.tex} |
| 49 | + |
| 50 | +% 3 - Tant que - Arithmétique - I |
| 51 | +\import{tantque/}{tantque-1.tex} |
| 52 | + |
| 53 | +% 4 - Chaînes de caractères |
| 54 | +\import{chaines/}{chaines.tex} |
| 55 | + |
| 56 | +% 5 - Listes I |
| 57 | +\import{listes/}{listes-1.tex} |
| 58 | + |
| 59 | + |
| 60 | +%====================================== |
| 61 | +% Avancé |
| 62 | +%====================================== |
| 63 | + |
| 64 | +\part{Notions avancées} |
| 65 | + |
| 66 | +% 1 - Statistique |
| 67 | +\import{statistique/}{statistique.tex} |
| 68 | + |
| 69 | +% 2 - Fichiers |
| 70 | +\import{fichiers/}{fichiers.tex} |
| 71 | + |
| 72 | +% 3 - Tant que - Arithmétique - II |
| 73 | +\import{tantque/}{tantque-2.tex} |
| 74 | + |
| 75 | +% 4 - Binaire I |
| 76 | +\import{binaire/}{binaire-1.tex} |
| 77 | + |
| 78 | +% 5 - Listes II |
| 79 | +\import{listes/}{listes-2.tex} |
| 80 | + |
| 81 | +% 6 - Binaire II |
| 82 | +\import{binaire/}{binaire-2.tex} |
| 83 | + |
| 84 | + |
| 85 | +%====================================== |
| 86 | +% Projets |
| 87 | +%====================================== |
| 88 | + |
| 89 | +\part{Projets} |
| 90 | + |
| 91 | +% 1 - Probabilités |
| 92 | +\import{proba/}{proba.tex} |
| 93 | + |
| 94 | +% 2 - Chercher |
| 95 | +\import{chercher/}{chercher.tex} |
| 96 | + |
| 97 | +% 3 - Piles |
| 98 | +\import{piles/}{piles.tex} |
| 99 | + |
| 100 | +% 4 - Markdown |
| 101 | +\import{markdown/}{markdown.tex} |
| 102 | + |
| 103 | +% 5 - L-systèmes |
| 104 | +\import{lsysteme/}{lsysteme.tex} |
| 105 | + |
| 106 | +% 6 - Images dynamiques |
| 107 | +\import{images/}{images.tex} |
| 108 | + |
| 109 | +% 7 - Jeu de la vie |
| 110 | +\import{vie/}{vie.tex} |
| 111 | + |
| 112 | +% 8 - Graphes et combinatoire de Ramsey |
| 113 | +\import{ramsey/}{ramsey.tex} |
| 114 | + |
| 115 | +% 9 - Bitcoin |
| 116 | +\import{bitcoin/}{bitcoin.tex} |
| 117 | + |
| 118 | +% 10 - Constructionss aléatoires |
| 119 | +\import{aleatoire/}{aleatoire.tex} |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | +%====================================== |
| 124 | +% Codes |
| 125 | +%====================================== |
| 126 | +% \part{Codes} |
| 127 | + |
| 128 | +% Codes de toutes les activités |
| 129 | +% \import{code/}{code.tex} |
| 130 | + |
| 131 | + |
| 132 | +%====================================== |
| 133 | +% Guide de survie |
| 134 | +%====================================== |
| 135 | +\part{Guides} |
| 136 | + |
| 137 | +% 1 - Python |
| 138 | +\import{guide/}{guide-python.tex} |
| 139 | + |
| 140 | +% 2 - Principales fonctions |
| 141 | +\import{guide/}{guide-fonctions.tex} |
| 142 | + |
| 143 | +% 2 - Notes et références |
| 144 | +\import{guide/}{guide-biblio.tex} |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | +\clearemptydoublepage |
| 149 | + |
| 150 | +%====================================== |
| 151 | +% Postface et index |
| 152 | +%====================================== |
| 153 | + |
| 154 | +\import{divers/}{postface_livre_python.tex} |
| 155 | + |
| 156 | +\vfill |
| 157 | +\bigskip |
| 158 | +\bigskip |
| 159 | + |
| 160 | +\centerline{Version 0.06 -- Février 2018} |
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | +\end{document} |
| 165 | + |
0 commit comments