From 5363be1f95d0f6445bc977b424c72f5eae3547dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9o=20Baras?= Date: Sat, 10 Apr 2021 10:05:59 +0200 Subject: [PATCH] =?UTF-8?q?Finalisation=20avec=20abbr=C3=A9viations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- latex/pn_formation.tex | 6 + latex/synthese/S1_acs_vs_saes_ressources.tex | 36 ++-- latex/synthese/S1_coeffs_saes_ressources.tex | 4 +- latex/synthese/S2_acs_vs_saes_ressources.tex | 36 ++-- latex/synthese/S2_coeffs_saes_ressources.tex | 4 +- latex/synthese/abbreviations.tex | 190 +++++++++++++++++++ python/export_yaml_to_latex.py | 10 +- python/ressource.py | 75 ++++++-- 8 files changed, 308 insertions(+), 53 deletions(-) create mode 100644 latex/synthese/abbreviations.tex diff --git a/latex/pn_formation.tex b/latex/pn_formation.tex index 9b01f28..b843601 100644 --- a/latex/pn_formation.tex +++ b/latex/pn_formation.tex @@ -112,6 +112,8 @@ % \newpage %} + + \section{Compétences du tronc commun} \foreach \CNOM/\CTYPE/\CLETTRE [count=\COUXX] in {CCA/C/A, CCB/C/B, CCC/C/C} { @@ -188,4 +190,8 @@ \subsection{Fiches ressources} \affichageRessource{\sem} +\section{Abbréviations} + +\input{synthese/abbreviations.tex} + \end{document} diff --git a/latex/synthese/S1_acs_vs_saes_ressources.tex b/latex/synthese/S1_acs_vs_saes_ressources.tex index ffe7922..fbd34b2 100644 --- a/latex/synthese/S1_acs_vs_saes_ressources.tex +++ b/latex/synthese/S1_acs_vs_saes_ressources.tex @@ -1,4 +1,4 @@ -\begin{tabular}[c]{|lp{3.5cm}||c|c|c|c|c|c||c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|} +\begin{tabular}[c]{|lp{4cm}||c|c|c|c|c|c||c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|} \hline & & \multicolumn{6}{c||}{\textcolor{saeC}{\bfseries SAÉs}} & \multicolumn{15}{c|}{\textcolor{ressourceC}{\bfseries Ressources}}\\ @@ -54,91 +54,91 @@ \hline \multicolumn{23}{|l|}{\hyperlink{comp:RT1}{\textcolor{compCA}{\bfseries RT1 - Administrer les réseaux et l'Internet }}} \\\multicolumn{23}{|l|}{\small Niveau 1 - Assister l'administrateur du réseau} \\\hline \textcolor{compCA}{AC0111} | & -\begin{tabular}{p{3.2cm}} \tiny{Maîtriser les lois fondamentales de l'électricité afin d'intervenir sur des équipements de réseaux et télécommunications}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Maîtriser les lois fondamentales de l'électricité afin d'intervenir sur des équipements de réseaux et télécommunications}\end{tabular} & & $\times$ & & & & $\times$ & & & & $\times$ & & & & & & & & & $\times$ & $\times$ & \\ \hline \textcolor{compCA}{AC0112} | & -\begin{tabular}{p{3.2cm}} \tiny{Comprendre l'architecture des systèmes numériques et les principes du codage de l'information}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Comprendre l'architecture des systèmes numériques et les principes du codage de l'information}\end{tabular} & $\times$ & $\times$ & & & & $\times$ & & & & & & $\times$ & & & & & & $\times$ & & & \\ \hline \textcolor{compCA}{AC0113} | & -\begin{tabular}{p{3.2cm}} \tiny{Configurer les fonctions de base du réseau local}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Configurer les fonctions de base du réseau local}\end{tabular} & & $\times$ & & & & $\times$ & $\times$ & & $\times$ & & & & & & & & & & & & \\ \hline \textcolor{compCA}{AC0114} | & -\begin{tabular}{p{3.2cm}} \tiny{Maîtriser les rôles et les principes fondamentaux des systèmes d'exploitation afin d'interagir avec ceux-ci pour la configuration et administration des réseaux et services fournis}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Maîtriser les rôles et les principes fondamentaux des systèmes d'exploitation afin d'interagir avec ceux-ci pour la configuration et administration des réseaux et services fournis}\end{tabular} & $\times$ & $\times$ & & & & $\times$ & & $\times$ & & & & & & $\times$ & & & & & & & \\ \hline \textcolor{compCA}{AC0115} | & -\begin{tabular}{p{3.2cm}} \tiny{Identifier les dysfonctionnements du réseau local}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Identifier les dysfonctionnements du réseau local}\end{tabular} & $\times$ & $\times$ & & & & $\times$ & $\times$ & $\times$ & $\times$ & & & & & & & $\times$ & & & & & \\ \hline \textcolor{compCA}{AC0116} | & -\begin{tabular}{p{3.2cm}} \tiny{Installer un poste client}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Installer un poste client}\end{tabular} & & $\times$ & & & & $\times$ & $\times$ & & $\times$ & & & & & $\times$ & & & $\times$ & & & & \\ \hline \hline \multicolumn{23}{|l|}{\hyperlink{comp:RT2}{\textcolor{compCB}{\bfseries RT2 - Connecter les entreprises et les usagers }}} \\\multicolumn{23}{|l|}{\small Niveau 1 - Découvrir les transmissions et la ToIP} \\\hline \textcolor{compCB}{AC0211} | & -\begin{tabular}{p{3.2cm}} \tiny{Mesurer et analyser les signaux}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Mesurer et analyser les signaux}\end{tabular} & & & $\times$ & & & $\times$ & & & & $\times$ & $\times$ & & & & & & & & $\times$ & $\times$ & \\ \hline \textcolor{compCB}{AC0212} | & -\begin{tabular}{p{3.2cm}} \tiny{Caractériser des systèmes de transmissions élémentaires et découvrir la modélisation mathématique de leur fonctionnement}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Caractériser des systèmes de transmissions élémentaires et découvrir la modélisation mathématique de leur fonctionnement}\end{tabular} & & & & & & $\times$ & & & & & & & & & & & & $\times$ & $\times$ & $\times$ & \\ \hline \textcolor{compCB}{AC0213} | & -\begin{tabular}{p{3.2cm}} \tiny{Déployer des supports de transmission}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Déployer des supports de transmission}\end{tabular} & & & $\times$ & & & $\times$ & $\times$ & & $\times$ & & $\times$ & & & & & & & & & & \\ \hline \textcolor{compCB}{AC0214} | & -\begin{tabular}{p{3.2cm}} \tiny{Connecter les systèmes de ToIP}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Connecter les systèmes de ToIP}\end{tabular} & & & & & & $\times$ & & & & & & & & & & & & & & & \\ \hline \textcolor{compCB}{AC0215} | & -\begin{tabular}{p{3.2cm}} \tiny{Communiquer avec un client ou un collaborateur}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Communiquer avec un client ou un collaborateur}\end{tabular} & & & $\times$ & & & $\times$ & & & & & & & & & & $\times$ & $\times$ & & & & $\times$\\ \hline \hline \multicolumn{23}{|l|}{\hyperlink{comp:RT3}{\textcolor{compCC}{\bfseries RT3 - Créer des outils et applications informatiques pour les R\&T }}} \\\multicolumn{23}{|l|}{\small Niveau 1 - S'intégrer dans un service informatique} \\\hline \textcolor{compCC}{AC0311} | & -\begin{tabular}{p{3.2cm}} \tiny{Utiliser un système informatique et ses outils}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Utiliser un système informatique et ses outils}\end{tabular} & & & & $\times$ & $\times$ & $\times$ & $\times$ & & $\times$ & & & $\times$ & $\times$ & $\times$ & & & & $\times$ & & & \\ \hline \textcolor{compCC}{AC0312} | & -\begin{tabular}{p{3.2cm}} \tiny{Lire, exécuter, corriger et modifier un programme}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Lire, exécuter, corriger et modifier un programme}\end{tabular} & & & & & $\times$ & $\times$ & & & & & & & $\times$ & $\times$ & & & & & & & \\ \hline \textcolor{compCC}{AC0313} | & -\begin{tabular}{p{3.2cm}} \tiny{Traduire un algorithme, dans un langage et pour un environnement donné}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Traduire un algorithme, dans un langage et pour un environnement donné}\end{tabular} & & & & & $\times$ & $\times$ & & & & & & & $\times$ & & & & & & & & \\ \hline \textcolor{compCC}{AC0314} | & -\begin{tabular}{p{3.2cm}} \tiny{Connaître l'architecture et les technologies d'un site Web}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Connaître l'architecture et les technologies d'un site Web}\end{tabular} & & & & $\times$ & $\times$ & $\times$ & & & & & & & & & $\times$ & & & & & & \\ \hline \textcolor{compCC}{AC0315} | & -\begin{tabular}{p{3.2cm}} \tiny{Choisir les mécanismes de gestion de données adaptés au développement de l'outil}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Choisir les mécanismes de gestion de données adaptés au développement de l'outil}\end{tabular} & & & & & $\times$ & $\times$ & & & & & & & & & & & & & & & \\ \hline \textcolor{compCC}{AC0316} | & -\begin{tabular}{p{3.2cm}} \tiny{S'intégrer dans un environnement propice au développement et au travail collaboratif}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{S'intégrer dans un environnement propice au développement et au travail collaboratif}\end{tabular} & & & & & $\times$ & $\times$ & & & & & & & $\times$ & & & $\times$ & $\times$ & & & & $\times$\\ \hline diff --git a/latex/synthese/S1_coeffs_saes_ressources.tex b/latex/synthese/S1_coeffs_saes_ressources.tex index 22254e9..60dc5a7 100644 --- a/latex/synthese/S1_coeffs_saes_ressources.tex +++ b/latex/synthese/S1_coeffs_saes_ressources.tex @@ -40,7 +40,7 @@ \hline \textcolor{saeC}{SAÉ16} & | & \begin{tabular}{p{5.7cm}} \tiny{Portfolio} \end{tabular} & & 3h & & 0 & 0 & 0\\ -\hline \hline \multicolumn{6}{|l}{\textcolor{ressourceC}{\bfseries Ressources}} +\hline \multicolumn{6}{|l}{\textcolor{ressourceC}{\bfseries Ressources}} \\ \hline \textcolor{ressourceC}{R101} & | & \begin{tabular}{p{5.7cm}}\tiny{Initiation aux réseaux informatiques} \end{tabular} & @@ -89,4 +89,4 @@ 8h & 4h & & & 2 & 4\\ \hline \hline \multicolumn{6}{|l}{\bfseries Total} \\ -\hline & & & {\bfseries 188h} & {\bfseries 252h} & {\bfseries 80h} & {\bfseries 124} & {\bfseries 81} & {\bfseries 95}\\ \hline\end{tabular} \ No newline at end of file +\hline \multicolumn{3}{|r|}{\textit{SAÉs}} & \textit{11h} & \textit{36h} & \textit{80h} & \textit{48h} & \textit{33h} & \textit{42h}\\ \hline \multicolumn{3}{|r|}{\textit{Ressources}} & \textit{177h} & \textit{216h} & \textit{0h} & \textit{76} & \textit{48} & \textit{53}\\ \hline \multicolumn{3}{|r|}{\bfseries SAÉs + Ressources} & {\bfseries 188h} & {\bfseries 252h} & {\bfseries 80h} & {\bfseries 124} & {\bfseries 81} & {\bfseries 95}\\ \hline\end{tabular} \ No newline at end of file diff --git a/latex/synthese/S2_acs_vs_saes_ressources.tex b/latex/synthese/S2_acs_vs_saes_ressources.tex index b56aece..f060b48 100644 --- a/latex/synthese/S2_acs_vs_saes_ressources.tex +++ b/latex/synthese/S2_acs_vs_saes_ressources.tex @@ -1,4 +1,4 @@ -\begin{tabular}[c]{|lp{3.5cm}||c|c|c|c||c|c|c|c|c|c|c|c|c|c|c|c|c|c|} +\begin{tabular}[c]{|lp{4cm}||c|c|c|c||c|c|c|c|c|c|c|c|c|c|c|c|c|c|} \hline & & \multicolumn{4}{c||}{\textcolor{saeC}{\bfseries SAÉs}} & \multicolumn{14}{c|}{\textcolor{ressourceC}{\bfseries Ressources}}\\ @@ -48,91 +48,91 @@ \hline \multicolumn{20}{|l|}{\hyperlink{comp:RT1}{\textcolor{compCA}{\bfseries RT1 - Administrer les réseaux et l'Internet }}} \\\multicolumn{20}{|l|}{\small Niveau 1 - Assister l'administrateur du réseau} \\\hline \textcolor{compCA}{AC0111} | & -\begin{tabular}{p{3.2cm}} \tiny{Maîtriser les lois fondamentales de l'électricité afin d'intervenir sur des équipements de réseaux et télécommunications}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Maîtriser les lois fondamentales de l'électricité afin d'intervenir sur des équipements de réseaux et télécommunications}\end{tabular} & & & & $\times$ & & & & & $\times$ & & & & & & & & & $\times$\\ \hline \textcolor{compCA}{AC0112} | & -\begin{tabular}{p{3.2cm}} \tiny{Comprendre l'architecture des systèmes numériques et les principes du codage de l'information}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Comprendre l'architecture des systèmes numériques et les principes du codage de l'information}\end{tabular} & $\times$ & & & $\times$ & & & & & & $\times$ & $\times$ & & $\times$ & $\times$ & & & $\times$ & \\ \hline \textcolor{compCA}{AC0113} | & -\begin{tabular}{p{3.2cm}} \tiny{Configurer les fonctions de base du réseau local}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Configurer les fonctions de base du réseau local}\end{tabular} & $\times$ & & & $\times$ & $\times$ & $\times$ & $\times$ & $\times$ & & & & & & & & & & \\ \hline \textcolor{compCA}{AC0114} | & -\begin{tabular}{p{3.2cm}} \tiny{Maîtriser les rôles et les principes fondamentaux des systèmes d'exploitation afin d'interagir avec ceux-ci pour la configuration et administration des réseaux et services fournis}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Maîtriser les rôles et les principes fondamentaux des systèmes d'exploitation afin d'interagir avec ceux-ci pour la configuration et administration des réseaux et services fournis}\end{tabular} & $\times$ & & & $\times$ & & $\times$ & $\times$ & & & & & & $\times$ & $\times$ & & & & \\ \hline \textcolor{compCA}{AC0115} | & -\begin{tabular}{p{3.2cm}} \tiny{Identifier les dysfonctionnements du réseau local}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Identifier les dysfonctionnements du réseau local}\end{tabular} & $\times$ & & & $\times$ & $\times$ & $\times$ & $\times$ & $\times$ & & & & & & & $\times$ & $\times$ & & \\ \hline \textcolor{compCA}{AC0116} | & -\begin{tabular}{p{3.2cm}} \tiny{Installer un poste client}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Installer un poste client}\end{tabular} & $\times$ & & & $\times$ & $\times$ & $\times$ & & $\times$ & & & & & & & & & & \\ \hline \hline \multicolumn{20}{|l|}{\hyperlink{comp:RT2}{\textcolor{compCB}{\bfseries RT2 - Connecter les entreprises et les usagers }}} \\\multicolumn{20}{|l|}{\small Niveau 1 - Découvrir les transmissions et la ToIP} \\\hline \textcolor{compCB}{AC0211} | & -\begin{tabular}{p{3.2cm}} \tiny{Mesurer et analyser les signaux}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Mesurer et analyser les signaux}\end{tabular} & & $\times$ & & $\times$ & & & & & $\times$ & $\times$ & & & & & & & & $\times$\\ \hline \textcolor{compCB}{AC0212} | & -\begin{tabular}{p{3.2cm}} \tiny{Caractériser des systèmes de transmissions élémentaires et découvrir la modélisation mathématique de leur fonctionnement}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Caractériser des systèmes de transmissions élémentaires et découvrir la modélisation mathématique de leur fonctionnement}\end{tabular} & & $\times$ & & $\times$ & & & & & $\times$ & $\times$ & & & & & & & $\times$ & $\times$\\ \hline \textcolor{compCB}{AC0213} | & -\begin{tabular}{p{3.2cm}} \tiny{Déployer des supports de transmission}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Déployer des supports de transmission}\end{tabular} & & $\times$ & & $\times$ & $\times$ & & & $\times$ & & & & & & & & & & \\ \hline \textcolor{compCB}{AC0214} | & -\begin{tabular}{p{3.2cm}} \tiny{Connecter les systèmes de ToIP}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Connecter les systèmes de ToIP}\end{tabular} & & & & $\times$ & & & & & & & & & & & & & & \\ \hline \textcolor{compCB}{AC0215} | & -\begin{tabular}{p{3.2cm}} \tiny{Communiquer avec un client ou un collaborateur}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Communiquer avec un client ou un collaborateur}\end{tabular} & & $\times$ & & $\times$ & & & & & & & & & & $\times$ & $\times$ & $\times$ & & \\ \hline \hline \multicolumn{20}{|l|}{\hyperlink{comp:RT3}{\textcolor{compCC}{\bfseries RT3 - Créer des outils et applications informatiques pour les R\&T }}} \\\multicolumn{20}{|l|}{\small Niveau 1 - S'intégrer dans un service informatique} \\\hline \textcolor{compCC}{AC0311} | & -\begin{tabular}{p{3.2cm}} \tiny{Utiliser un système informatique et ses outils}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Utiliser un système informatique et ses outils}\end{tabular} & & & $\times$ & $\times$ & $\times$ & $\times$ & & $\times$ & & & $\times$ & $\times$ & $\times$ & & & & $\times$ & \\ \hline \textcolor{compCC}{AC0312} | & -\begin{tabular}{p{3.2cm}} \tiny{Lire, exécuter, corriger et modifier un programme}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Lire, exécuter, corriger et modifier un programme}\end{tabular} & & & $\times$ & $\times$ & & & & & & & $\times$ & $\times$ & $\times$ & & & & & \\ \hline \textcolor{compCC}{AC0313} | & -\begin{tabular}{p{3.2cm}} \tiny{Traduire un algorithme, dans un langage et pour un environnement donné}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Traduire un algorithme, dans un langage et pour un environnement donné}\end{tabular} & & & $\times$ & $\times$ & & & & & & & $\times$ & $\times$ & $\times$ & & & & $\times$ & \\ \hline \textcolor{compCC}{AC0314} | & -\begin{tabular}{p{3.2cm}} \tiny{Connaître l'architecture et les technologies d'un site Web}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Connaître l'architecture et les technologies d'un site Web}\end{tabular} & & & $\times$ & $\times$ & & & & & & & $\times$ & & $\times$ & & & & & \\ \hline \textcolor{compCC}{AC0315} | & -\begin{tabular}{p{3.2cm}} \tiny{Choisir les mécanismes de gestion de données adaptés au développement de l'outil}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{Choisir les mécanismes de gestion de données adaptés au développement de l'outil}\end{tabular} & & & $\times$ & $\times$ & & & & & & & $\times$ & $\times$ & $\times$ & & & & & \\ \hline \textcolor{compCC}{AC0316} | & -\begin{tabular}{p{3.2cm}} \tiny{S'intégrer dans un environnement propice au développement et au travail collaboratif}\end{tabular} & +\begin{tabular}{p{3.8cm}} \tiny{S'intégrer dans un environnement propice au développement et au travail collaboratif}\end{tabular} & & & $\times$ & $\times$ & & & & & & & $\times$ & $\times$ & $\times$ & $\times$ & $\times$ & $\times$ & & \\ \hline diff --git a/latex/synthese/S2_coeffs_saes_ressources.tex b/latex/synthese/S2_coeffs_saes_ressources.tex index 40b7ea8..cdbba33 100644 --- a/latex/synthese/S2_coeffs_saes_ressources.tex +++ b/latex/synthese/S2_coeffs_saes_ressources.tex @@ -34,7 +34,7 @@ \hline \textcolor{saeC}{SAÉ24} & | & \begin{tabular}{p{5.7cm}} \tiny{Projet intégratif} \end{tabular} & 8h & & 54h & 23 & 19 & 18\\ -\hline \hline \multicolumn{6}{|l}{\textcolor{ressourceC}{\bfseries Ressources}} +\hline \multicolumn{6}{|l}{\textcolor{ressourceC}{\bfseries Ressources}} \\ \hline \textcolor{ressourceC}{R201} & | & \begin{tabular}{p{5.7cm}}\tiny{Technologie de l'Internet} \end{tabular} & @@ -80,4 +80,4 @@ 24h & 6h & & 3 & 9 & \\ \hline \hline \multicolumn{6}{|l}{\bfseries Total} \\ -\hline & & & {\bfseries 211h} & {\bfseries 254h} & {\bfseries 90h} & {\bfseries 114} & {\bfseries 99} & {\bfseries 87}\\ \hline\end{tabular} \ No newline at end of file +\hline \multicolumn{3}{|r|}{\textit{SAÉs}} & \textit{13h} & \textit{32h} & \textit{90h} & \textit{46h} & \textit{38h} & \textit{36h}\\ \hline \multicolumn{3}{|r|}{\textit{Ressources}} & \textit{198h} & \textit{222h} & \textit{0h} & \textit{68} & \textit{61} & \textit{51}\\ \hline \multicolumn{3}{|r|}{\bfseries SAÉs + Ressources} & {\bfseries 211h} & {\bfseries 254h} & {\bfseries 90h} & {\bfseries 114} & {\bfseries 99} & {\bfseries 87}\\ \hline\end{tabular} \ No newline at end of file diff --git a/latex/synthese/abbreviations.tex b/latex/synthese/abbreviations.tex new file mode 100644 index 0000000..7b2e059 --- /dev/null +++ b/latex/synthese/abbreviations.tex @@ -0,0 +1,190 @@ +\begin{tabular}{rp{6.5cm}p{0.5cm}rp{6.5cm}} +\texttt{ACL} & Access Control List + & & +\texttt{MOOC} & Massive Open Online Course +\\ +\texttt{ADSL} & Asymmetric Digital Subscriber Line + & & +\texttt{NAS} & Network Attached Storage +\\ +\texttt{ALU} & Arithmetic and Logic Unit + & & +\texttt{NAT} & Network Address Translation +\\ +\texttt{ANSSI} & Agence nationale de la sécurité des systèmes d'information + & & +\texttt{NDP} & Neighbor Discovery Protocol +\\ +\texttt{API} & Application Programming Interface + & & +\texttt{NTP} & Network Time Protocol +\\ +\texttt{APC} & Approche Par Compétence + & & +\texttt{OS} & Operating System +\\ +\texttt{ARP} & Address Resolution Protocol + & & +\texttt{OSPF} & Open Shortest Path First +\\ +\texttt{BDD} & Base De Données + & & +\texttt{PABX} & Private Automatic Branch Exchange +\\ +\texttt{CAN} & Convertisseur Analogique-Numérique + & & +\texttt{PAT} & Port Address Translation +\\ +\texttt{CC} & Copie Carbone + & & +\texttt{PC} & Personnal Computer +\\ +\texttt{CCi} & Copie Carbone invisible + & & +\texttt{PERT} & Program Evaluation and Review Technology +\\ +\texttt{CEM} & Compatibilité ÉlectroMagnétique + & & +\texttt{PME} & Petite et Moyenne Entreprise +\\ +\texttt{CNA} & Convertisseur Numérique-Analogique + & & +\texttt{PoE} & Power over Ethernet +\\ +\texttt{CNIL} & Commission Nationale de l'Informatique et des Libertés + & & +\texttt{POP} & Post Office Protocol +\\ +\texttt{CIDR} & Classless Inter-Domain Routing + & & +\texttt{PPP} & Projet Professionnel et Personnel +\\ +\texttt{CSS} & Cascading Style Sheets + & & +\texttt{PXE} & Pre-boot eXecution Environment +\\ +\texttt{CSV} & Comma-Separated Values + & & +\texttt{QCM} & Questionnaire à Choix Multiples +\\ +\texttt{CV} & Curriculum Vitae + & & +\texttt{RGPD} & Règlement Général pour la Protection des Données +\\ +\texttt{DDoS} & Distributed Denial of Service + & & +\texttt{RSTP} & Rapid Spanning Tree Protocol +\\ +\texttt{DHCP} & Dynamic Host Configuration Protocol + & & +\texttt{RTP} & Real-Time Transport Protocol +\\ +\texttt{DMZ} & DeMilitarized Zone + & & +\texttt{SGBD} & Système de Gestion de Bases de Données +\\ +\texttt{DNS} & Domain Name System + & & +\texttt{SMTP} & Simple Mail Transfer Protocol +\\ +\texttt{DOM} & Document Object Model + & & +\texttt{SQL} & Structured Query Language +\\ +\texttt{DSI} & Direction des Systèmes d'Information + & & +\texttt{SSH} & Secure SHell +\\ +\texttt{DSP} & Densité Spectrale de Puissance + & & +\texttt{STP} & Spanning Tree Protocol +\\ +\texttt{DAB} & Digital Audio Broadcasting + & & +\texttt{TELNET} & TELecommunication NETwork +\\ +\texttt{DVB-S} & Digital Video Broadcasting Satellite + & & +\texttt{TCP} & Transmission Control Protocol +\\ +\texttt{DVB-T} & Digital Video Broadcasting Terrestre + & & +\texttt{TDM} & Time Division Multiplexing +\\ +\texttt{EMILE} & Enseignement d'une Matière par l'Intégration d'une Langue Etrangère + & & +\texttt{TFTP} & Trivial File Transfer Protocol +\\ +\texttt{FFT} & Fast Fourier Transform + & & +\texttt{ToIP} & Telephony over Internet Protocol +\\ +\texttt{FM} & Frequency Modulation + & & +\texttt{TV} & TéléVision +\\ +\texttt{FO} & Fibre Optique + & & +\texttt{UDP} & User Datagram Protocol +\\ +\texttt{FOVI} & Faux Ordres de Virements Internationaux + & & +\texttt{UML} & Unified Modeling Language +\\ +\texttt{FTP} & File Transfer Protocol + & & +\texttt{URL} & Uniform Resource Locator +\\ +\texttt{GBF} & Générateur de Basses Fréquences + & & +\texttt{USB} & Universal Serial Bus +\\ +\texttt{GPIO} & General Purpose Input/Output + & & +\texttt{VLAN} & Virtual Local Area Network +\\ +\texttt{HiFi} & High Fidelity + & & +\texttt{VLSM} & Variable-Length Subnet Masking +\\ +\texttt{HTML} & HyperText Markup Language + & & +\texttt{VM} & Virtual Machine +\\ +\texttt{HTTP} & Hypertext Transfer Protocol + & & +\texttt{VRF} & Virtual Routing Forwarding +\\ +\texttt{ICMP} & Internet Control Message Protocol + & & +\texttt{VTP} & VLAN Trunking Protocol +\\ +\texttt{IMAP} & Internet Message Access Protocol + & & +\texttt{xDSL} & x Digital Subscriber Line +\\ +\texttt{IP} & Internet Protocol + & & +\texttt{XML} & eXtensible Markup Language +\\ +\texttt{IPBX} & Internet Protocol Private Branch eXchange + & & +\texttt{XSS} & cross-Site Scripting +\\ +\texttt{JSON} & JavaScript Object Notation + & & +\texttt{2D} & deux Dimensions +\\ +\texttt{LAN} & Local Area Network + & & +\texttt{3D} & trois Dimensions +\\ +\texttt{LED} & Light-Emitting Diode + & & +\texttt{4G} & 4th Generation +\\ +\texttt{MAC} & Media Access Control + & & + & +\\ +\end{tabular} \ No newline at end of file diff --git a/python/export_yaml_to_latex.py b/python/export_yaml_to_latex.py index 5faf394..4d877fc 100644 --- a/python/export_yaml_to_latex.py +++ b/python/export_yaml_to_latex.py @@ -65,7 +65,7 @@ for fichieryaml in fichiers_exemples: exemples[sem][sae].append(e) -## Bilan des acs +## Bilan : acs, volume, coefficient, abbréviations for sem in ["S1", "S2"]: M1 = ressource.get_matrices_ac_ressource(saes, ressources, sem) chaine = ressource.str_matrice(M1, saes, ressources, sem) @@ -88,8 +88,14 @@ for sem in ["S1", "S2"]: fid.write(chaine) print(f"Export de {fichierlatex}") + chaine = ressource.str_latex_abbreviations() + fichierlatex = REPERTOIRE_SYNTHESE + "/" + "abbreviations.tex" + with open(fichierlatex, "w", encoding="utf8") as fid: + fid.write(chaine) + print(f"Export de {fichierlatex}") + ## Export latex divers -if True: +if False: # Export latex des ressources for sem in ressources: for r in ressources[sem]: diff --git a/python/ressource.py b/python/ressource.py index fd19182..ca78a02 100644 --- a/python/ressource.py +++ b/python/ressource.py @@ -457,8 +457,8 @@ def to_latex_matrice_acs(matrice, saes, ressources, sem): nbre_saes = len(DATA_SAES[sem]) nbre_ressources = len(DATA_RESSOURCES[sem]) nbre_colonnes = nbre_saes + nbre_ressources + 2 - - chaine = "\\begin{tabular}[c]{|lp{3.5cm}||" + "c|"*(nbre_saes) + "|" + "c|"*(nbre_ressources) + "}" + "\n" + longueur = 4 + chaine = "\\begin{tabular}[c]{|lp{%scm}||" % str(longueur) + "c|"*(nbre_saes) + "|" + "c|"*(nbre_ressources) + "}" + "\n" chaine += "\\hline \n" # % (nbre_saes + nbre_ressources+1)+ "\n" # l'entete chaine += " & & " @@ -512,7 +512,7 @@ def to_latex_matrice_acs(matrice, saes, ressources, sem): chaine += "\\hline \n" for (k, ac) in enumerate(DATA_ACS[comp]): chaine += couleur + "{" + ac + "}" + " | & " + "\n" - chaine += "\\begin{tabular}{p{3.2cm}} " + chaine += "\\begin{tabular}{p{%scm}} " % (str(longueur-0.2)) chaine += "\\tiny{" + DATA_ACS[comp][ac] + "}" chaine += "\\end{tabular} & \n" @@ -601,8 +601,6 @@ def to_latex_matrice_coeffs(matrice_vols, matrice_coeffs, saes, ressources, sem) chaine += " & ".join([str_coeff(matrice_coeffs[i][j]) for j in range(len(comp))]) chaine += "\\\\ \n" chaine += "\\hline " - chaine += "\\hline " - # Les ressources et les coeff chaine += "\multicolumn{%d}{|l}{\\textcolor{ressourceC}{\\bfseries Ressources}}" % (nbre_colonnes) + "\n" chaine += "\\\\ \n" @@ -621,17 +619,31 @@ def to_latex_matrice_coeffs(matrice_vols, matrice_coeffs, saes, ressources, sem) # Total total_heures = get_total_nbre_heures(matrice_vols) - # total_heures_sae = get_total_nbre_heures(matrice_vols[0:nbre_saes][:]) - # total_heures_ressources = get_total_nbre_heures(matrice_vols[nbre_saes+1:][:]) + total_heures_sae = get_total_nbre_heures_saes(matrice_vols, sem) + total_heures_ressources = get_total_nbre_heures_ressources(matrice_vols, sem) total_coeffs = get_total_coeffs(matrice_coeffs) + total_coeffs_sae = get_total_coeffs_saes(matrice_coeffs, sem) + total_coeffs_ressources = get_total_coeffs_ressources(matrice_coeffs, sem) + chaine += "\\hline " chaine += "\multicolumn{%d}{|l}{\\bfseries Total}" % (nbre_colonnes) + "\n" chaine += "\\\\ \n" chaine += "\\hline " - - - chaine += " & & " + # sous-total SAE + chaine += "\multicolumn{3}{|r|}{\\textit{SAÉs}} " + for i in range(3): + chaine += " & \\textit{" + str(total_heures_sae[i]) + "h}" + for i in range(3): + chaine += " & \\textit{" + str(total_coeffs_sae[i]) + "h}" + chaine += "\\\\ \hline " + chaine += "\multicolumn{3}{|r|}{\\textit{Ressources}} " + for i in range(3): + chaine += " & \\textit{" + str(total_heures_ressources[i]) + "h}" + for i in range(3): + chaine += " & \\textit{" + str(total_coeffs_ressources[i]) + "}" + chaine += "\\\\ \hline " + chaine += "\multicolumn{3}{|r|}{\\bfseries SAÉs + Ressources}" for i in range(3): chaine += " & {\\bfseries " + str(total_heures[i]) + "h}" for i in range(3): @@ -646,6 +658,47 @@ def get_total_nbre_heures(matrice_heures): sommes = [sum([matrice_heures[i][j] for i in range(len(matrice_heures)) if matrice_heures[i][j]]) for j in range(3)] return sommes +def get_total_nbre_heures_saes(matrice_heures, sem): + """Calcul le nombre d'heures total des SAé d'après la matrice""" + nbre_sae = len(DATA_SAES[sem]) + sommes = [sum([matrice_heures[i][j] for i in range(nbre_sae) if matrice_heures[i][j]]) for j in range(3)] + return sommes + +def get_total_nbre_heures_ressources(matrice_heures, sem): + """Calcul le nombre d'heures total des SAé d'après la matrice""" + nbre_sae = len(DATA_SAES[sem]) + sommes = [sum([matrice_heures[i][j] for i in range(nbre_sae, len(matrice_heures)) if matrice_heures[i][j]]) for j in range(3)] + return sommes + def get_total_coeffs(matrice_coeffs): sommes = [sum([matrice_coeffs[i][j] for i in range(len(matrice_coeffs)) if matrice_coeffs[i][j]]) for j in range(3)] - return sommes \ No newline at end of file + return sommes + +def get_total_coeffs_saes(matrice_coeffs, sem): + nbre_sae = len(DATA_SAES[sem]) + sommes = [sum([matrice_coeffs[i][j] for i in range(nbre_sae) if matrice_coeffs[i][j]]) for j in range(3)] + return sommes + +def get_total_coeffs_ressources(matrice_coeffs, sem): + nbre_sae = len(DATA_SAES[sem]) + sommes = [sum([matrice_coeffs[i][j] for i in range(nbre_sae, len(matrice_coeffs)) if matrice_coeffs[i][j]]) for j in range(3)] + return sommes + +def str_latex_abbreviations(): + """Renvoie le code latex d'un tableau pour les abbréviations""" + liste = [ [cle, DATA_ABBREVIATIONS[lettre][cle]] for lettre in DATA_ABBREVIATIONS for cle in DATA_ABBREVIATIONS[lettre]] + nbre_abbreviations = len(liste) + moitie = nbre_abbreviations // 2 + if nbre_abbreviations % 2 == 1: + moitie += 1 + chaine = "\\begin{tabular}{rp{6.5cm}p{0.5cm}rp{6.5cm}} \n" + for i in range(moitie): + chaine += "\\texttt{" + liste[i][0] + "} & " + liste[i][1] + "\n" + chaine += " & & \n" + if moitie + i < len(liste): + chaine += "\\texttt{" + liste[moitie + i][0] + "} & " + liste[moitie + i][1] + "\n" + else: + chaine += " & \n" + chaine += "\\\\ \n" + chaine += "\\end{tabular}" + return chaine \ No newline at end of file