[bootlin/training-materials updates] master: Hack to reduce the size of agendas (e449896d)
Michael Opdenacker
michael.opdenacker at bootlin.com
Fri Apr 26 10:54:43 CEST 2019
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/e449896db9baeabf7ace5d2fb9819dc070ab218d
>---------------------------------------------------------------
commit e449896db9baeabf7ace5d2fb9819dc070ab218d
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Fri Apr 26 10:54:43 2019 +0200
Hack to reduce the size of agendas
- Thanks to Anja for reporting the issue
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
e449896db9baeabf7ace5d2fb9819dc070ab218d
Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 77da8dce..fa6d8a99 100644
--- a/Makefile
+++ b/Makefile
@@ -222,7 +222,11 @@ AGENDA_PICTURES = $(COMMON_PICTURES) $(call PICTURES,agenda)
rm -f $(OUTDIR)/$(basename $@).tex
cp $(filter %.tex,$^) $(OUTDIR)/$(basename $@).tex
(cd $(OUTDIR); $(PDFLATEX_ENV) $(PDFLATEX) $(basename $@).tex)
- cat $(OUTDIR)/$@ > $@
+ # Using ps2pdf instead of cat to address a size issue in the generated PDF
+ # Otherwise, the agenda file is almost as big as the slides document (just half the size)
+ # This divides the agenda size by more than 10
+ # This was needed in 2019. This may be fixed by later versions of LaTeX.
+ ps2pdf $(OUTDIR)/$@ $@
else
FORCE:
%-agenda.pdf: FORCE
More information about the training-materials-updates
mailing list