diff --git a/Seminaires/2019-2020/Makefile b/Seminaires/2019-2020/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..785049693510177dd8457d49bc8c04917a4d9b2e --- /dev/null +++ b/Seminaires/2019-2020/Makefile @@ -0,0 +1,74 @@ +#!/usr/bin/make -f +# +# Requires latexmk. +# +# Maxime Bombar + +## This Makefile is used to build pdf from a latex project. Use ```make help``` to display a summary of the rules. +## +## make MyFancyProject.pdf : Builds MyFancyProject.pdf (and auxiliary files) from MyFancyProject.tex and fails if it doesn't exist. +## make MyFancyProject.warn : Displays how many warnings and bad boxes there are when compiling MyFancyProject. +## make MyFancyProject.showwarn : Displays the warnings and bad boxes for MyFancyProject. + +.PHONY: all help clean cleanall +SHELL = /bin/bash + + +# latexmk is a swiss army knife of latex compilation. Option -pdf to output the pdf. +PDFLATEX := latexmk -pdf +CMD = cat $*.log | grep -iE +REGEXBOX := full..hbox +WARNINGS := warning + + +TEXDOCS = $(wildcard *.tex) +PDF := $(patsubst %.tex,%.pdf, $(TEXDOCS)) +OUT := $(patsubst %.tex,%.out, $(TEXDOCS)) +LOG := $(patsubst %.tex,%.log, $(TEXDOCS)) + + +# Prevents some intermediate files to be automatically deleted... +.PRECIOUS: %.log %.pdf Makefile + +%.log: %.tex + $(PDFLATEX) $< + +%.warn: %.log + @echo "${shell echo 'There are $$(( $$($(CMD) $(WARNINGS) | wc -l)-1 ))' warning\(s\)}" + @echo "${shell echo 'There are $$($(CMD) $(REGEXBOX) | wc -l)' bad boxe\(s\)}" + +%.showwarn: %.log + @echo "${shell echo 'There are $$(( $$($(CMD) $(WARNINGS) | wc -l)-1 ))' warning\(s\) for $*:}" + @echo "${shell echo '$$( $(CMD) $(WARNINGS) | tail +2)' }" + @echo "${shell echo $(\n)}" + @echo "${shell echo 'There are $$($(CMD) $(REGEXBOX) | wc -l)' bad boxe\(s\) for $*:}" + @echo "${shell echo '$$( $(CMD) $(REGEXBOX))' }" + +%.pdf: %.log + @echo "${shell echo 'There are $$(( $$($(CMD) $(WARNINGS) | wc -l)-1 ))' warning\(s\)}" + @echo "${shell echo 'There are $$($(CMD) $(REGEXBOX) | wc -l)' bad boxe\(s\)}" + +## make all : Builds every file in the current directory. +all: $(TEXDOCS) + $(PDFLATEX) $^ + +## make rebuild : Cleans and rebuilds every file. +rebuild: cleanall all + +## make clean : Removes every auto-generated file except for pdf. +clean: + @echo -n "aux bbl blg dvi fdb_latexmk fls nav snm tdo toc thm vrb"|xargs -t -d ' ' -n 1 -I {} find . -iname "*.{}" -delete + rm -f $(OUT) + rm -f $(LOG) + find . -iname "*flymake*" -delete + find . -iname "*~" -delete + find . -iname "\#*" -delete + find . -type d -iname 'auto' -exec rm -rf {} + + +## make cleanall : Removes every auto-generated file. +cleanall: clean + rm -f $(PDF) + +## make help : Displays this help. +help: Makefile + @sed -n 's/^##//p' $< diff --git a/Seminaires/2019-2020/Planning_provisoire.tex b/Seminaires/2019-2020/Planning_provisoire.tex new file mode 100644 index 0000000000000000000000000000000000000000..1935d94ea0d1d1b2d3a574b07b960251a2f1998b --- /dev/null +++ b/Seminaires/2019-2020/Planning_provisoire.tex @@ -0,0 +1,79 @@ +\documentclass[a4paper, 11pt]{article} + +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} + +\usepackage{graphicx} +\usepackage[export]{adjustbox} + +\usepackage{eso-pic} +\newcommand\BackgroundIm{ + \put(0,0){ + \parbox[b][\paperheight]{\paperwidth}{% + \vfill + \centering + \includegraphics[height=\paperheight,width=\paperwidth, + keepaspectratio]{background.png}% + \vfill + }}} + +\pagenumbering{gobble} + +\title{\textbf{Planning prévisionnel des séminaires pour le premier semestre 2019-2020}} +\author{} +\date{} + +% Commande à trois arguments, l'orateur, le nombre de personnes et le synopsis +% \seminaire{}{}{} +\newcommand{\seminaire}[3]{ + \begin{description} + \item[Orateur~:] #1 + \item[Présence~:] #2 personnes + \item[Synopsis~:] #3 + \end{description} +} + + +\begin{document} + +\AddToShipoutPicture{\BackgroundIm} + +\maketitle + +\begin{figure} + \includegraphics[width=0.3\textwidth,right]{logo_crans.png} +\end{figure} + +\begin{itemize} +\item{\color{red} \textbf{23 Septembre}}\ \\ {\textbf{Présentation technique du Crans}} + +\item{\color{red}30 Septembre}\ \\ {\textbf{Introduction à Linux, shell, SSH}} + +\item{\color{red}7 Octobre}\ \\ {\textbf{Introduction au réseau et au routage}} + +\item{\color{red}14 Octobre}\ \\ {\textbf{Python orienté objet}} + +\item{\color{red}21 Octobre}\ \\ {\textbf{Algèbre relationnelle, SQL}} + +\item{\color{red}11 Novembre}\ \\ {\textbf{Cryptographie pratique et GPG}} + +\item{\color{red}18 Novembre}\ \\ {\textbf{Django : Un framework pour le web}} + +\item{\color{red}25 Novembre}\ \\ {\textbf{\LaTeX}} + + +\end{itemize} + +\noindent \textbf{Les séminaires sont gratuits et ouverts à tous. Ils sont présentés par des membres actifs du Crans et ont lieu les Lundis à \emph{19h dans la salle de conférence du Pavillon des Jardins}.} + + +% \seminaire{}{}{ +% Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor +% incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis +% nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. +% Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu +% fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in +% culpa qui officia deserunt mollit anim id est laborum. +% } + +\end{document} diff --git a/Seminaires/2019-2020/background.png b/Seminaires/2019-2020/background.png new file mode 100644 index 0000000000000000000000000000000000000000..752cc8b12d760cf739d5d82803d02b34a25b5cb1 Binary files /dev/null and b/Seminaires/2019-2020/background.png differ diff --git a/Seminaires/2019-2020/logo_crans.png b/Seminaires/2019-2020/logo_crans.png new file mode 100644 index 0000000000000000000000000000000000000000..c8ee6549ae1eccb09be81d9d3a5e309191bef447 Binary files /dev/null and b/Seminaires/2019-2020/logo_crans.png differ