summaryrefslogtreecommitdiff
blob: 0bcda38ce408a59e3df68c1ff2b2085c843c6a61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
\ifthenelse{\boolean{TEX4HT-HACKS}}{%
    \chapter{Desk Reference}
    \label{app:cheatsheet}
    \href{eapi-cheatsheet.pdf}{EAPI Cheat Sheet}
}{%
    % Make sure that the cheat sheet starts on an odd page
    \ifthenelse{\isodd{\thepage}}{}{\null\newpage}%
    \includepdf[pages=-,landscape,turn=false,lastpage=2,%
        addtotoc={1,chapter,0,Desk Reference,app:cheatsheet}]{eapi-cheatsheet}
}

% vim: set filetype=tex fileencoding=utf8 et tw=100 spell spelllang=en :

%%% Local Variables:
%%% mode: latex
%%% TeX-master: "pms"
%%% LaTeX-indent-level: 4
%%% LaTeX-item-indent: 0
%%% TeX-brace-indent-level: 4
%%% fill-column: 100
%%% End: