85a52e10b359677c2aca5a6fb40e1539fcc58290
[gnus] / texi / gnus-refcard.tex
1 \documentclass{article}
2
3 % Previously we had five input LaTeX files (booklet.tex bk-lt.tex bk-a4.tex
4 % refcard.tex gnusref.tex) and two logo files (gnuslogo-refcard.eps and
5 % gnuslogo-booklet.eps).
6 %
7 % From this LaTeX file (gnus-refcard.tex) plus a single logo (gnus-logo.eps),
8 % we can generate the refcard and the booklet version.  This simplifies to
9 % distribute the refcard with Emacs.  Appropriate Makefile rules were added in
10 % gnus/texi/Makefile.
11
12 % For Emacs, we may use the following commands (w/o) using Gnus' Makefile:
13 %
14 %   latex gnus-refcard.tex &&
15 %   dvips -t letter -f gnus-refcard.dvi > gnus-refcard.ps
16 %   
17 %   latex '\def\booklettrue{}\def\letterpapertrue{}\input{gnus-refcard}' &&
18 %   mv gnus-refcard.dvi gnus-booklet.dvi &&
19 %   dvips -t letter -f gnus-booklet.dvi > gnus-booklet.ps
20
21 \usepackage{ifthen}
22 \ifthenelse{\isundefined{\booklettrue}}{
23   \typeout{Creating reference card...}
24 }{
25   \typeout{Creating reference booklet...}}
26
27 \usepackage{supertabular}
28
29 \newlength{\logowidth}  \setlength{\logowidth} {6.861in}
30 \newlength{\logoheight} \setlength{\logoheight}{7.013in}