Commit | Line | Data |
---|---|---|
740d1567 | 1 | %&tex |
740d1567 | 2 | % Title: GNU Emacs Survival Card |
0b5546d6 GM |
3 | |
4 | % Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, | |
49f70d46 | 5 | % 2009, 2010, 2011, 2012 Free Software Foundation, Inc. |
0b5546d6 | 6 | |
740d1567 | 7 | % Author: Wlodek Bzyl <matwb@univ.gda.pl> |
0b5546d6 GM |
8 | % French translation: \'Eric Jacoboni <jaco@teaser.fr>, November 2001 |
9 | ||
10 | % This file is part of GNU Emacs. | |
11 | ||
12 | % GNU Emacs is free software: you can redistribute it and/or modify | |
13 | % it under the terms of the GNU General Public License as published by | |
14 | % the Free Software Foundation, either version 3 of the License, or | |
15 | % (at your option) any later version. | |
16 | ||
17 | % GNU Emacs is distributed in the hope that it will be useful, | |
18 | % but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 | % GNU General Public License for more details. | |
21 | ||
22 | % You should have received a copy of the GNU General Public License | |
23 | % along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | |
24 | ||
25 | ||
26 | % See survival.tex. | |
740d1567 EZ |
27 | |
28 | % User interface is `plain.tex' and macros described below | |
29 | % | |
30 | % \title{CARD TITLE}{for version 21} | |
31 | % \section{NAME} | |
32 | % optional paragraphs separated with \askip amount of vertical space | |
33 | % \key{KEY-NAME} description of key or | |
34 | % \mkey{M-x LONG-LISP-NAME} description of Elisp function | |
177c0ea7 | 35 | % |
740d1567 EZ |
36 | % \kbd{ARG} -- argument is typed literally |
37 | ||
0b5546d6 GM |
38 | |
39 | %**start of header | |
40 | ||
740d1567 EZ |
41 | \def\plainfmtname{plain} |
42 | \ifx\fmtname\plainfmtname | |
43 | \else | |
44 | \errmessage{This file requires `plain' format to be typeset correctly} | |
45 | \endinput | |
177c0ea7 | 46 | \fi |
740d1567 | 47 | |
81ec0bb3 MC |
48 | % PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for |
49 | % a landscape layout. | |
81ec0bb3 MC |
50 | \input pdflayout.sty |
51 | \pdflayout=(0) | |
52 | ||
0b5546d6 | 53 | \def\versionemacs{23} % version of Emacs this is for |
959272ec | 54 | \def\year{2012} % latest copyright year |
740d1567 EZ |
55 | |
56 | \def\copyrightnotice{\penalty-1\vfill | |
57 | \vbox{\smallfont\baselineskip=0.8\baselineskip\raggedcenter | |
0b5546d6 GM |
58 | Copyright \copyright\ \year\ Free Software Foundation, Inc.\break |
59 | Pour GNU Emacs \versionemacs\break | |
740d1567 EZ |
60 | Auteur W{\l}odek Bzyl (matwb@univ.gda.pl)\break |
61 | Traduction fran\c{c}aise \'Eric Jacoboni (jaco@teaser.fr) | |
62 | ||
63 | Vous pouvez faire et distribuer des copies de cette carte, pourvu | |
177c0ea7 | 64 | que la note de copyright, ainsi que cette notice soient |
740d1567 EZ |
65 | pr\'eserv\'ees sur toutes les copies.\par}} |
66 | ||
67 | \hsize 3.2in | |
68 | \vsize 7.95in | |
69 | \font\titlefont=cmss10 scaled 1200 | |
70 | \font\headingfont=cmss10 | |
71 | \font\smallfont=cmr6 | |
72 | \font\smallsy=cmsy6 | |
73 | \font\eightrm=cmr8 | |
74 | \font\eightbf=cmbx8 | |
75 | \font\eightit=cmti8 | |
76 | \font\eighttt=cmtt8 | |
77 | \font\eightmi=cmmi8 | |
78 | \font\eightsy=cmsy8 | |
79 | \font\eightss=cmss8 | |
80 | \textfont0=\eightrm | |
81 | \textfont1=\eightmi | |
82 | \textfont2=\eightsy | |
83 | \def\rm{\eightrm} \rm | |
84 | \def\bf{\eightbf} | |
85 | \def\it{\eightit} | |
86 | \def\tt{\eighttt} | |
87 | \def\ss{\eightss} | |
88 | \baselineskip=0.8\baselineskip | |
89 | ||
90 | \newdimen\intercolumnskip % horizontal space between columns | |
91 | \intercolumnskip=0.5in | |
92 | ||
93 | % The TeXbook, p. 257 | |
94 | \let\lr=L \newbox\leftcolumn | |
177c0ea7 | 95 | \output={\if L\lr |
740d1567 EZ |
96 | \global\setbox\leftcolumn\columnbox \global\let\lr=R |
97 | \else | |
98 | \doubleformat \global\let\lr=L\fi} | |
99 | \def\doubleformat{\shipout\vbox{\makeheadline | |
100 | \leftline{\box\leftcolumn\hskip\intercolumnskip\columnbox} | |
101 | \makefootline} | |
102 | \advancepageno} | |
103 | \def\columnbox{\leftline{\pagebody}} | |
104 | ||
105 | \def\newcolumn{\vfil\eject} | |
106 | ||
107 | \def\bye{\par\vfil\supereject | |
108 | \if R\lr \null\vfil\eject\fi | |
177c0ea7 | 109 | \end} |
740d1567 EZ |
110 | |
111 | \outer\def\title#1#2{{\titlefont\centerline{#1}}\vskip 1ex plus 0.5ex | |
112 | \centerline{\ss#2} | |
113 | \vskip2\baselineskip} | |
114 | ||
115 | \outer\def\section#1{\filbreak | |
116 | \bskip | |
117 | \leftline{\headingfont #1} | |
118 | \askip} | |
119 | \def\bskip{\vskip 2.5ex plus 0.25ex } | |
120 | \def\askip{\vskip 0.75ex plus 0.25ex} | |
121 | ||
122 | \newdimen\defwidth \defwidth=0.25\hsize | |
123 | \def\hang{\hangindent\defwidth} | |
124 | ||
125 | \def\textindent#1{\noindent\llap{\hbox to \defwidth{\tt#1\hfil}}\ignorespaces} | |
126 | \def\key{\par\hangafter=0\hang\textindent} | |
127 | ||
128 | \def\mtextindent#1{\noindent\hbox{\tt#1\quad}\ignorespaces} | |
129 | \def\mkey{\par\hangafter=1\hang\mtextindent} | |
130 | ||
131 | \def\kbd#{\bgroup\tt \let\next= } | |
132 | ||
133 | \newdimen\raggedstretch | |
134 | \newskip\raggedparfill \raggedparfill=0pt plus 1fil | |
135 | \def\nohyphens | |
136 | {\hyphenpenalty10000\exhyphenpenalty10000\pretolerance10000} | |
137 | \def\raggedspaces | |
177c0ea7 | 138 | {\spaceskip=0.3333em\relax |
740d1567 EZ |
139 | \xspaceskip=0.5em\relax} |
140 | \def\raggedright | |
141 | {\raggedstretch=6em | |
142 | \nohyphens | |
143 | \rightskip=0pt plus \raggedstretch | |
144 | \raggedspaces | |
145 | \parfillskip=\raggedparfill | |
146 | \relax} | |
147 | \def\raggedcenter | |
148 | {\raggedstretch=6em | |
149 | \nohyphens | |
150 | \rightskip=0pt plus \raggedstretch | |
151 | \leftskip=\rightskip | |
152 | \raggedspaces | |
153 | \parfillskip=0pt | |
154 | \relax} | |
155 | ||
156 | \chardef\\=`\\ | |
157 | ||
158 | \raggedright | |
159 | \nopagenumbers | |
160 | \parindent 0pt | |
161 | \interlinepenalty=10000 | |
162 | \hoffset -0.2in | |
163 | %\voffset 0.2in | |
164 | ||
165 | %**end of header | |
166 | \f | |
167 | ||
2e4dd7d6 | 168 | \title{Carte de survie pour GNU\ \ Emacs}{version \versionemacs} |
740d1567 EZ |
169 | |
170 | Dans ce qui suit, \kbd{C-z} signifie qu'il faut appuyer sur la touche | |
171 | `\kbd{z}' tout en maintenant la touche {\it Ctrl}\ \ | |
172 | press\'ee. \kbd{M-z} signifie qu'il faut appuyer sur la touche | |
173 | `\kbd{z}' tout en maintenant la touche {\it Meta\/} (marqu\'ee {\it Alt\/} | |
174 | sur certains claviers) ou apr\`es avoir press\'e la touche {\it Echap\/} key. | |
175 | ||
176 | \section{Lancement de Emacs} | |
177 | ||
178 | Pour lancer GNU Emacs, il suffit de taper son nom~: \kbd{emacs}. | |
179 | Emacs divise son cadre en plusieurs parties~: | |
180 | une ligne de menu, | |
181 | une zone tampon contenant le texte \'edit\'e, | |
182 |