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