Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Unverified Commit d39d7084 authored by Sylvain Bouveret's avatar Sylvain Bouveret
Browse files

Des Handouts en quatre par page

Si l'on utilise réellement les versions handout des transparents pour
l'impression, mieux vaut qu'ils soient disponibles en 4 par page.
parent 6722365d
......@@ -2,6 +2,7 @@
*-handout.tex
*-slides.tex
*-handout.pdf
*-handout-nup.pdf
*-slides.pdf
target
......@@ -7,6 +7,7 @@ TEXANIMS=${patsubst %.script,%.tex,$(ANIMS)}
LATEX=git configuring-git understanding-git git-history git-workflow git-tools
SLIDES=$(LATEX:%=%-slides)
HANDOUTS=$(LATEX:%=%-handout)
HANDOUTS_NUP=$(LATEX:%=%-handout-nup)
TARGET_DIR=target
%.tex: %.script %.fig
......@@ -19,14 +20,17 @@ all: slides handouts
slides: $(SLIDES:%=%.pdf)
mkdir -p $(TARGET_DIR)
mv $^ $(TARGET_DIR)
cp $^ $(TARGET_DIR)
@echo 'Managed slides for $^'
handouts: $(HANDOUTS:%=%.pdf)
handouts: $(HANDOUTS_NUP:%=%.pdf)
mkdir -p $(TARGET_DIR)
mv $^ $(TARGET_DIR)
cp $^ $(TARGET_DIR)
@echo 'Managed handout for $^'
%-handout-nup.pdf: %-handout.pdf
pdfjam --suffix nup --nup '2x1' --landscape --frame 'true' --nup '2x2' --outfile $@ -- $< -
%-handout.tex: %.tex
printf '%s\n\n%s\n' '\documentclass[handout]{beamer}' \
'\input{$*}' > $@
......@@ -48,3 +52,7 @@ debug:
mrproper: clean
rm -Rf $(TARGET_DIR)
rm -f $(SLIDES:%=%.tex)
rm -f $(HANDOUTS:%=%.tex)
rm -f $(SLIDES:%=%.pdf)
rm -f $(HANDOUTS:%=%.pdf)
rm -f $(HANDOUTS_NUP:%=%.pdf)
......@@ -44,7 +44,7 @@
<tr>
<td width="50px"><img width='48px' src='./pictures/slides.svg'></td>
<td>1. Using Git (pour impression)</td>
<td class="telechargement"><a class="button button-primary" href="./slides/git-handout.pdf">Télécharger</a></td>
<td class="telechargement"><a class="button button-primary" href="./slides/git-handout-nup.pdf">Télécharger</a></td>
</tr>
<tr>
<td width="50px"><img width='48px' src='./pictures/slides.svg'></td>
......@@ -54,7 +54,7 @@
<tr>
<td width="50px"><img width='48px' src='./pictures/slides.svg'></td>
<td>2. Configuring Git (pour impression)</td>
<td class="telechargement"><a class="button button-primary" href="./slides/configuring-git-handout.pdf">Télécharger</a></td>
<td class="telechargement"><a class="button button-primary" href="./slides/configuring-git-handout-nup.pdf">Télécharger</a></td>
</tr>
<tr>
<td width="50px"><img width='48px' src='./pictures/exos.svg'></td>
......@@ -76,7 +76,7 @@
<tr>
<td width="50px"><img width='48px' src='./pictures/slides.svg'></td>
<td>3. Understanding Git (pour impression)</td>
<td class="telechargement"><a class="button button-primary" href="./slides/understanding-git-handout.pdf">Télécharger</a></td>
<td class="telechargement"><a class="button button-primary" href="./slides/understanding-git-handout-nup.pdf">Télécharger</a></td>
</tr>
<tr>
<td width="50px"><img width='48px' src='./pictures/exos.svg'></td>
......@@ -103,7 +103,7 @@
<tr>
<td width="50px"><img width='48px' src='./pictures/slides.svg'></td>
<td>4. How to Clean (and Rewrite) History (pour impression)</td>
<td class="telechargement"><a class="button button-primary" href="./slides/git-history-handout.pdf">Télécharger</a></td>
<td class="telechargement"><a class="button button-primary" href="./slides/git-history-handout-nup.pdf">Télécharger</a></td>
</tr>
<tr>
<td width="50px"><img width='48px' src='./pictures/exos.svg'></td>
......@@ -118,7 +118,7 @@
<tr>
<td width="50px"><img width='48px' src='./pictures/slides.svg'></td>
<td>5. Git Tools (pour impression)</td>
<td class="telechargement"><a class="button button-primary" href="./slides/git-tools-handout.pdf">Télécharger</a></td>
<td class="telechargement"><a class="button button-primary" href="./slides/git-tools-handout-nup.pdf">Télécharger</a></td>
</tr>
<tr>
<td width="50px"><img width='48px' src='./pictures/exos.svg'></td>
......@@ -141,7 +141,7 @@
<tr>
<td width="50px"><img width='48px' src='./pictures/slides.svg'></td>
<td>6. Git Workflows (pour impression)</td>
<td class="telechargement"><a class="button button-primary" href="./slides/git-workflows-handout.pdf">Télécharger</a></td>
<td class="telechargement"><a class="button button-primary" href="./slides/git-workflows-handout-nup.pdf">Télécharger</a></td>
</tr>
<tr>
<td width="50px"><img width='48px' src='./pictures/exos.svg'></td>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment