>From 8ec8fb2ce4a178e086b816de09f81618ae87770d Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Sat, 23 Feb 2019 19:23:56 +0900 Subject: [PATCH 5/8] Suppress warning from pdfTeX on figures transformed by Inkscape This change suppresses warnings such as: <./cartoons/r-2014-branch-error.pdf pdfTeX warning: pdflatex (file ./cartoons/r-2014-branch-error.pdf): PDF inclusion: multiple pdfs with page group included in a single page> This is a known issue of pdfTeX [1]. The message is emitted when multiple PDF files generated by Inkscape appear in a single page. This issue has not caused any problem in perfbook so far. The variable \pdfsuppresswarningpagegroup is available since pdfTeX 1.40.15 (TeX Live 2014). So this change doesn't affect TeX Live 2013/Debian on Ubuntu Trusty. [1]: https://tex.stackexchange.com/questions/183149/ Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- perfbook.tex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perfbook.tex b/perfbook.tex index a1e90dd..bbf8455 100644 --- a/perfbook.tex +++ b/perfbook.tex @@ -5,6 +5,10 @@ % To accomodate change in Ghostscript 9.26 (default output: PDF 1.7) \pdfminorversion=7 +% Suppress warning emitted when multiple figures drawn by inkscape appear +% within a page. See: https://tex.stackexchange.com/questions/183149/ +\ifdefined\pdfsuppresswarningpagegroup \pdfsuppresswarningpagegroup=1 \fi + % standard packages % A more pleasant font -- 2.7.4