commit:     c2f1a4fbd7e879243afa53cf3b313643e2815535
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon May 22 18:12:13 2017 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon May 22 18:12:13 2017 +0000
URL:        https://gitweb.gentoo.org/proj/pms.git/commit/?id=c2f1a4fb

pms.tex: Make sure that the cheat sheet starts on an odd page.

 pms.tex | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pms.tex b/pms.tex
index 01dee98..40d4ad5 100644
--- a/pms.tex
+++ b/pms.tex
@@ -76,6 +76,8 @@
 
     \href{eapi-cheatsheet.pdf}{EAPI Cheat Sheet}
 }{%
+    % Make sure that the cheat sheet starts on an odd page
+    \clearpage\ifthenelse{\isodd{\thepage}}{}{\null\newpage}%
     \includepdf[pages=-,landscape,turn=false,%
         addtotoc={1,chapter,0,Desk Reference,cheatsheet}]{eapi-cheatsheet}
 }

Reply via email to