Mercurial > emacs
annotate etc/refcards/cs-refcard.tex @ 102487:3effe27f535c
(w32-initialize-window-system): Don't override
Japanese font settings.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Wed, 11 Mar 2009 15:15:09 +0000 |
parents | 83a1b016c800 |
children | cbea58d660d2 |
rev | line source |
---|---|
82648
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
1 % Reference Card for GNU Emacs version 21 on Unix systems |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
2 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
3 % Czech hyphenation rules applied |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
4 \chyph |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
5 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
6 %**start of header |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
7 \newcount\columnsperpage |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
8 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
9 % This file can be printed with 1, 2, or 3 columns per page (see below). |
82864
79491244ebdd
Specify PDF layout.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82648
diff
changeset
|
10 % Specify how many you want here. |
82648
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
11 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
12 \columnsperpage=1 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
13 |
82864
79491244ebdd
Specify PDF layout.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82648
diff
changeset
|
14 % PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for |
79491244ebdd
Specify PDF layout.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82648
diff
changeset
|
15 % a landscape layout. |
79491244ebdd
Specify PDF layout.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82648
diff
changeset
|
16 |
79491244ebdd
Specify PDF layout.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82648
diff
changeset
|
17 \input pdflayout.sty |
79491244ebdd
Specify PDF layout.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82648
diff
changeset
|
18 \pdflayout=(0) |
79491244ebdd
Specify PDF layout.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82648
diff
changeset
|
19 |
79491244ebdd
Specify PDF layout.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82648
diff
changeset
|
20 % Nothing else needs to be changed. |
82648
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
21 % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004, |
100972 | 22 % 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
82648
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
23 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
24 % This file is part of GNU Emacs. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
25 |
95010
9f4d6f3769da
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
26 % GNU Emacs is free software: you can redistribute it and/or modify |
82648
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
27 % it under the terms of the GNU General Public License as published by |
95010
9f4d6f3769da
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
28 % the Free Software Foundation, either version 3 of the License, or |
9f4d6f3769da
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
29 % (at your option) any later version. |
82648
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
30 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
31 % GNU Emacs is distributed in the hope that it will be useful, |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
32 % but WITHOUT ANY WARRANTY; without even the implied warranty of |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
33 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
34 % GNU General Public License for more details. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
35 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
36 % You should have received a copy of the GNU General Public License |
95010
9f4d6f3769da
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
37 % along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
82648
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
38 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
39 % This file is intended to be processed by plain TeX (TeX82). |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
40 % |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
41 % The final reference card has six columns, three on each side. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
42 % This file can be used to produce it in any of three ways: |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
43 % 1 column per page |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
44 % produces six separate pages, each of which needs to be reduced to 80%. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
45 % This gives the best resolution. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
46 % 2 columns per page |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
47 % produces three already-reduced pages. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
48 % You will still need to cut and paste. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
49 % 3 columns per page |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
50 % produces two pages which must be printed sideways to make a |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
51 % ready-to-use 8.5 x 11 inch reference card. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
52 % For this you need a dvi device driver that can print sideways. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
53 % Which mode to use is controlled by setting \columnsperpage above. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
54 % |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
55 % Author: |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
56 % Stephen Gildea |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
57 % Internet: gildea@stop.mail-abuse.org |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
58 % |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
59 % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
60 % for their many good ideas. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
61 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
62 % If there were room, it would be nice to see a section on Dired. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
63 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
64 % Translated to Czech by Jan Buchal <buchal@brailcom.cz> in January 1999 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
65 % Corrections and improvements of the translation |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
66 % by Milan Zamazal <pdm@zamazal.org> in August 1999 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
67 % More work on better integration with GNU Emacs 21 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
68 % by Pavel Janík <Pavel@Janik.cz> in November 2000 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
69 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
70 % Process the file with `csplain' from the `CSTeX' distribution (included |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
71 % e.g. in the TeX Live CD). |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
72 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
73 \def\versionnumber{2.2} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
74 \def\versionemacs{22} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
75 \def\versionyear{2006} % latest update |
100975
83a1b016c800
Update printed copyright year to 2009.
Glenn Morris <rgm@gnu.org>
parents:
100972
diff
changeset
|
76 \def\year{2009} % latest copyright year |
82648
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
77 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
78 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
79 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
80 Permissions on back. v\versionnumber}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
81 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
82 \def\copyrightnotice{ |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
83 \vskip 1ex plus 2 fill\begingroup\small |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
84 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
85 \centerline{v\versionnumber{} for GNU Emacs version \versionemacs, \versionyear} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
86 \centerline{designed by Stephen Gildea} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
87 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
88 Permission is granted to make and distribute copies of |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
89 this card provided the copyright notice and this permission notice |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
90 are preserved on all copies. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
91 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
92 For copies of the GNU Emacs manual, write to the Free Software |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
93 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
94 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
95 \endgroup} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
96 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
97 % make \bye not \outer so that the \def\bye in the \else clause below |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
98 % can be scanned without complaint. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
99 \def\bye{\par\vfill\supereject\end} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
100 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
101 \newdimen\intercolumnskip %horizontal space between columns |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
102 \newbox\columna %boxes to hold columns already built |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
103 \newbox\columnb |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
104 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
105 \def\ncolumns{\the\columnsperpage} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
106 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
107 \message{[\ncolumns\space |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
108 column\if 1\ncolumns\else s\fi\space per page]} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
109 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
110 \def\scaledmag#1{ scaled \magstep #1} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
111 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
112 % This multi-way format was designed by Stephen Gildea October 1986. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
113 % Note that the 1-column format is fontfamily-independent. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
114 \if 1\ncolumns %one-column format uses normal size |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
115 \hsize 4in |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
116 \vsize 10in |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
117 \voffset -.7in |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
118 \font\titlefont=\fontname\tenbf \scaledmag3 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
119 \font\headingfont=\fontname\tenbf \scaledmag2 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
120 \font\smallfont=\fontname\sevenrm |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
121 \font\smallsy=\fontname\sevensy |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
122 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
123 \footline{\hss\folio} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
124 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
125 \else %2 or 3 columns uses prereduced size |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
126 \hsize 3.2in |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
127 \vsize 7.95in |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
128 \hoffset -.75in |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
129 \voffset -.745in |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
130 \font\titlefont=csbx10 \scaledmag2 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
131 \font\headingfont=csbx10 \scaledmag1 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
132 \font\smallfont=csr6 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
133 \font\smallsy=cmsy6 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
134 \font\eightrm=csr8 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
135 \font\eightbf=csbx8 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
136 \font\eightit=csti8 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
137 \font\eighttt=cstt8 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
138 \font\eightmi=cmmi8 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
139 \font\eightsy=cmsy8 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
140 \textfont0=\eightrm |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
141 \textfont1=\eightmi |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
142 \textfont2=\eightsy |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
143 \def\rm{\eightrm} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
144 \def\bf{\eightbf} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
145 \def\it{\eightit} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
146 \def\tt{\eighttt} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
147 \normalbaselineskip=.8\normalbaselineskip |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
148 \normallineskip=.8\normallineskip |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
149 \normallineskiplimit=.8\normallineskiplimit |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
150 \normalbaselines\rm %make definitions take effect |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
151 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
152 \if 2\ncolumns |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
153 \let\maxcolumn=b |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
154 \footline{\hss\rm\folio\hss} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
155 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
156 \else \if 3\ncolumns |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
157 \let\maxcolumn=c |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
158 \nopagenumbers |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
159 \else |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
160 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
161 \errmessage{Illegal number of columns per page} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
162 \fi\fi |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
163 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
164 \intercolumnskip=.46in |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
165 \def\abc{a} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
166 \output={% %see The TeXbook page 257 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
167 % This next line is useful when designing the layout. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
168 %\immediate\write16{Column \folio\abc\space starts with \firstmark} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
169 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
170 \else\if a\abc |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
171 \global\setbox\columna\columnbox \global\def\abc{b} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
172 %% in case we never use \columnb (two-column mode) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
173 \global\setbox\columnb\hbox to -\intercolumnskip{} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
174 \else |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
175 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
176 \def\multicolumnformat{\shipout\vbox{\makeheadline |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
177 \hbox{\box\columna\hskip\intercolumnskip |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
178 \box\columnb\hskip\intercolumnskip\columnbox} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
179 \makefootline}\advancepageno} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
180 \def\columnbox{\leftline{\pagebody}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
181 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
182 \def\bye{\par\vfill\supereject |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
183 \if a\abc \else\null\vfill\eject\fi |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
184 \if a\abc \else\null\vfill\eject\fi |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
185 \end} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
186 \fi |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
187 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
188 % we won't be using math mode much, so redefine some of the characters |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
189 % we might want to talk about |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
190 \catcode`\^=12 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
191 \catcode`\_=12 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
192 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
193 \chardef\\=`\\ |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
194 \chardef\{=`\{ |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
195 \chardef\}=`\} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
196 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
197 \hyphenation{mini-buf-fer} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
198 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
199 \parindent 0pt |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
200 \parskip 1ex plus .5ex minus .5ex |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
201 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
202 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
203 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
204 % newcolumn - force a new column. Use sparingly, probably only for |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
205 % the first column of a page, which should have a title anyway. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
206 \outer\def\newcolumn{\vfill\eject} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
207 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
208 % title - page title. Argument is title text. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
209 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
210 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
211 % section - new major section. Argument is section name. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
212 \outer\def\section#1{\par\filbreak |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
213 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}% |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
214 \vskip 2ex plus 1ex minus 1.5ex} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
215 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
216 \newdimen\keyindent |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
217 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
218 % beginindentedkeys...endindentedkeys - key definitions will be |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
219 % indented, but running text, typically used as headings to group |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
220 % definitions, will not. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
221 \def\beginindentedkeys{\keyindent=1em} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
222 \def\endindentedkeys{\keyindent=0em} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
223 \endindentedkeys |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
224 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
225 % paralign - begin paragraph containing an alignment. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
226 % If an \halign is entered while in vertical mode, a parskip is never |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
227 % inserted. Using \paralign instead of \halign solves this problem. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
228 \def\paralign{\vskip\parskip\halign} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
229 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
230 % \<...> - surrounds a variable name in a code example |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
231 \def\<#1>{{\it #1\/}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
232 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
233 % kbd - argument is characters typed literally. Like the Texinfo command. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
234 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
235 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
236 % beginexample...endexample - surrounds literal text, such a code example. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
237 % typeset in a typewriter font with line breaks preserved |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
238 \def\beginexample{\par\leavevmode\begingroup |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
239 \obeylines\obeyspaces\parskip0pt\tt} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
240 {\obeyspaces\global\let =\ } |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
241 \def\endexample{\endgroup} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
242 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
243 % key - definition of a key. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
244 % \key{description of key}{key-name} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
245 % prints the description left-justified, and the key-name in a \kbd |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
246 % form near the right margin. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
247 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
248 {\hsize=.75\hsize\rightskip=1em |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
249 \hskip\keyindent\relax#1}\kbd{#2}\hfil}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
250 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
251 \newbox\metaxbox |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
252 \setbox\metaxbox\hbox{\kbd{M-x }} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
253 \newdimen\metaxwidth |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
254 \metaxwidth=\wd\metaxbox |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
255 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
256 % metax - definition of a M-x command. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
257 % \metax{description of command}{M-x command-name} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
258 % Tries to justify the beginning of the command name at the same place |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
259 % as \key starts the key name. (The "M-x " sticks out to the left.) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
260 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
261 {\hskip\keyindent\relax#1\hfil}% |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
262 \hskip -\metaxwidth minus 1fil |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
263 \kbd{#2}\hfil}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
264 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
265 % threecol - like "key" but with two key names. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
266 % for example, one for doing the action backward, and one for forward. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
267 \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
268 &\kbd{#3}\hfil\quad\cr} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
269 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
270 %**end of header |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
271 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
272 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
273 \title{GNU Emacs -- Referenční karta} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
274 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
275 \centerline{(pro verzi \versionemacs)} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
276 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
277 \section{Spuštění Emacsu} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
278 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
279 Pro vstup do GNU~Emacsu~\versionemacs{} napište jeho jméno: \kbd{emacs} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
280 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
281 Jak načítat a editovat soubory se dozvíte níže v~oddíle Soubory. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
282 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
283 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
284 \section{Opuštění Emacsu} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
285 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
286 \key{pozastavení Emacsu (ikonizace v~X11)}{C-z} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
287 \key{definitivní odchod z~Emacsu}{C-x C-c} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
288 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
289 \section{Soubory} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
290 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
291 \key{{\bf načíst} souboru do Emacsu}{C-x C-f} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
292 \key{{\bf uložit} soubor zpět na disk}{C-x C-s} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
293 \key{uložit {\bf všechny} soubory}{C-x s} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
294 \key{{\bf vložit} obsahu jiného souboru do bufferu}{C-x i} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
295 \key{zaměnit tento soubor jiným souborem}{C-x C-v} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
296 \key{zapsat buffer do zadaného souboru}{C-x C-w} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
297 \key{vložit do systému správy verzí}{C-x C-q} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
298 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
299 \section{Používání nápovědy} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
300 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
301 Systém nápovědy je snadný. Stiskněte \kbd{C-h} (nebo \kbd{F1}) a sledujte |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
302 instrukce. Úvodní {\bf tutoriál} lze spustit pomocí \kbd{C-h t}. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
303 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
304 \key{odstranit okno s~nápovědou}{C-x 1} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
305 \key{rolovat okno s~nápovědou}{C-M-v} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
306 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
307 \key{apropos: příkazy odpovídající řetězci}{C-h a} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
308 \key{zobrazit funkci dané klávesy}{C-h c} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
309 \key{zobrazit popis funkce}{C-h f} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
310 \key{zobrazit informace o~aktuálních módech}{C-h m} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
311 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
312 \section{Opravy chyb} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
313 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
314 \key{{\bf přerušit} zadávaný nebo vykonávaný příkaz}{C-g} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
315 \metax{{\bf obnovit} soubor ztracený pádem systému}{M-x recover-file} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
316 \key{{\bf zrušit} nechtěnou změnu}{C-x u {\it n.} C-_} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
317 \metax{vrátit původní obsah bufferu}{M-x revert-buffer} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
318 \key{překreslit \uv{rozpadlou} obrazovku}{C-l} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
319 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
320 \section{Přírůstkové vyhledávání} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
321 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
322 \key{vyhledat dopředu}{C-s} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
323 \key{vyhledat dozadu}{C-r} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
324 \key{vyhledat regulární výraz}{C-M-s} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
325 \key{vyhledat regulární výraz dozadu}{C-M-r} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
326 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
327 \key{předchozí vyhledávaný řetězec}{M-p} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
328 \key{následující novější vyhledávaný řetězec}{M-n} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
329 \key{ukončit inkrementální vyhledávání}{RET} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
330 \key{zrušit efekt posledního zadaného znaku}{DEL} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
331 \key{přerušit probíhající vyhledávání}{C-g} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
332 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
333 Další \kbd{C-s} nebo \kbd{C-r} zopakuje vyhledání v~daném směru. Pokud |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
334 Emacs vyhledává, \kbd{C-g} zruší pouze nenalezenou část řetězce. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
335 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
336 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
337 \shortcopyrightnotice |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
338 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
339 \section{Pohyb} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
340 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
341 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
342 \threecol{{\bf posun o }}{{\bf dozadu}}{{\bf dopředu}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
343 \threecol{znak}{C-b}{C-f} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
344 \threecol{slovo}{M-b}{M-f} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
345 \threecol{řádek}{C-p}{C-n} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
346 \threecol{na začátek nebo konec řádku}{C-a}{C-e} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
347 \threecol{větu}{M-a}{M-e} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
348 \threecol{odstavec}{M-\{}{M-\}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
349 \threecol{stránku}{C-x [}{C-x ]} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
350 \threecol{symbolický výraz}{C-M-b}{C-M-f} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
351 \threecol{funkci}{C-M-a}{C-M-e} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
352 \threecol{na začátek nebo konec bufferu}{M-<}{M->} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
353 } |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
354 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
355 \key{rolovat na další obrazovku}{C-v} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
356 \key{rolovat na předchozí obrazovku}{M-v} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
357 \key{rolovat vlevo}{C-x <} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
358 \key{rolovat vpravo}{C-x >} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
359 \key{aktuální řádek do středu obrazovky}{C-u C-l} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
360 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
361 \section{Rušení a mazání} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
362 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
363 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
364 \threecol{{\bf rušený objekt }}{{\bf dozadu}}{{\bf dopředu}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
365 \threecol{znak (mazání, ne rušení)}{DEL}{C-d} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
366 \threecol{slovo}{M-DEL}{M-d} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
367 \threecol{řádek (do konce)}{M-0 C-k}{C-k} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
368 \threecol{věta}{C-x DEL}{M-k} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
369 \threecol{symbolický výraz}{M-- C-M-k}{C-M-k} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
370 } |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
371 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
372 \key{zrušit {\bf oblast}}{C-w} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
373 \key{zkopírovat oblast do schránky}{M-w} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
374 \key{zrušit až po nejbližší výskyt znaku {\it znak}}{M-z {\it znak}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
375 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
376 \key{vhodit naposledy zrušený objekt}{C-y} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
377 \key{nahradit vhozený objekt předchozím zrušeným}{M-y} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
378 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
379 \section{Označování} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
380 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
381 \key{vložit značku}{C-@ {\it n.} C-SPC} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
382 \key{prohodit kurzor a značku}{C-x C-x} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
383 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
384 \key{označit zadaný počet {\bf slov}}{M-@} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
385 \key{označit {\bf odstavec}}{M-h} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
386 \key{označit {\bf stránku}}{C-x C-p} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
387 \key{označit {\bf symbolický výraz}}{C-M-@} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
388 \key{označit {\bf funkci}}{C-M-h} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
389 \key{označit celý {\bf buffer}}{C-x h} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
390 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
391 \section{Interaktivní nahrazování} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
392 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
393 \key{interaktivně nahradit textový řetězec}{M-\%} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
394 \metax{s~užitím regulárního výrazu}{M-x query-replace-regexp} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
395 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
396 Platné odpovědi v~módu query-replace jsou |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
397 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
398 \key{{\bf záměnu provést} a jít na další}{SPC} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
399 \key{záměnu provést a zůstat na místě}{,} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
400 \key{{\bf skočit} na další bez provedení záměny}{DEL} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
401 \key{zaměnit všechny zbývající výskyty}{!} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
402 \key{{\bf zpět} na předchozí výskyt řetězce}{^} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
403 \key{{\bf konec} nahrazování}{RET} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
404 \key{rekurzivní editace (ukončí se \kbd{C-M-c})}{C-r} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
405 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
406 \section{Okna} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
407 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
408 Jestliže jsou zobrazeny dva příkazy, pak ten druhý platí pro X okno. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
409 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
410 \key{zrušit všechna ostatní okna}{C-x 1} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
411 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
412 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 0\wd0 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
413 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
414 \threecol{rozdělit okno na horní a dolní}{C-x 2\ \ \ \ }{C-x 5 2} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
415 \threecol{zrušit toto okno}{C-x 0\ \ \ \ }{C-x 5 0} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
416 }} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
417 \key{rozdělit okno na levé a pravé}{C-x 3} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
418 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
419 \key{rolovat jiné okno}{C-M-v} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
420 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
421 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 2\wd0 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
422 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
423 \threecol{přepnout kurzor do jiného okna}{C-x o}{C-x 5 o} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
424 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
425 \threecol{vybrat buffer v~jiném okně}{C-x 4 b}{C-x 5 b} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
426 \threecol{zobrazit buffer v~jiném okně}{C-x 4 C-o}{C-x 5 C-o} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
427 \threecol{otevřít soubor v~jiném okně}{C-x 4 f}{C-x 5 f} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
428 \threecol{otevřít soubor jen pro čtení v~jiném okně}{C-x 4 r}{C-x 5 r} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
429 \threecol{spustit Dired v~jiném okně}{C-x 4 d}{C-x 5 d} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
430 \threecol{najít tag v~jiném okně}{C-x 4 .}{C-x 5 .} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
431 }} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
432 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
433 \key{zvětšit okno}{C-x ^} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
434 \key{zúžit okno}{C-x \{} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
435 \key{rozšířit okno}{C-x \}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
436 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
437 \section{Formátování} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
438 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
439 \key{odsadit aktuální {\bf řádek} (dle módu)}{TAB} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
440 \key{odsadit {\bf oblast} (dle módu)}{C-M-\\} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
441 \key{odsadit {\bf symbolický výraz} (dle módu)}{C-M-q} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
442 \key{odsadit oblast napevno o~{\it argument\/} sloupců}{C-x TAB} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
443 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
444 \key{vložit znak nového řádku za kurzor}{C-o} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
445 \key{posunout zbytek řádku svisle dolů}{C-M-o} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
446 \key{smazat prázdné řádky okolo kurzoru}{C-x C-o} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
447 \key{spojit řádek s~předchozím (s~arg.~s~násl.)}{M-^} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
448 \key{smazat prázdné místo kolem kurzoru}{M-\\} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
449 \key{nechat přesně jednu mezeru kolem kurzoru}{M-SPC} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
450 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
451 \key{zalomit odstavec}{M-q} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
452 \key{nastavit sloupec pro zalamování}{C-x f} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
453 \key{nastavit prefix, kterým začínají řádky}{C-x .} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
454 \key{nastavit font}{M-g} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
455 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
456 \section{Změna velikosti písmen} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
457 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
458 \key{změnit písmena slova na velká}{M-u} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
459 \key{změnit písmena slova na malá}{M-l} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
460 \key{změnit počáteční písmeno slova na velké}{M-c} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
461 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
462 \key{změnit písmena oblasti na velká}{C-x C-u} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
463 \key{změnit písmena oblasti na malá}{C-x C-l} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
464 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
465 \section{Minibuffer} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
466 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
467 Následující klávesy jsou platné pro minibuffer. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
468 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
469 \key{doplnit z~nabídky}{TAB} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
470 \key{doplnit do nejbližšího slova}{SPC} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
471 \key{doplnit a vykonat}{RET} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
472 \key{zobrazit možná doplnění}{?} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
473 \key{předchozí příkaz z~minibufferu}{M-p} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
474 \key{novější nebo implicitní příkaz z~minibufferu}{M-n} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
475 \key{vyhledat regulární výraz v~historii vzad}{M-r} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
476 \key{vyhledat regulární výraz v~historii vpřed}{M-s} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
477 \key{zrušit příkaz}{C-g} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
478 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
479 Stiskněte \kbd{C-x ESC ESC} pro editaci a zopakování posledního příkazu |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
480 z~minibufferu. Stiskněte \kbd{F10} pro aktivaci menu v~minibufferu. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
481 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
482 \newcolumn |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
483 \title{GNU Emacs -- Referenční karta} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
484 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
485 \section{Buffery} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
486 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
487 \key{vybrat jiný buffer}{C-x b} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
488 \key{seznam všech bufferů}{C-x C-b} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
489 \key{zrušit buffer}{C-x k} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
490 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
491 \section{Výměny} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
492 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
493 \key{přehodit {\bf znaky}}{C-t} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
494 \key{přehodit {\bf slova}}{M-t} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
495 \key{přehodit {\bf řádky}}{C-x C-t} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
496 \key{přehodit {\bf symbolické výrazy}}{C-M-t} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
497 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
498 \section{Kontrola pravopisu} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
499 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
500 \key{kontrola pravopisu aktuálního slova}{M-\$} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
501 \metax{kontrola pravopisu všech slov v oblasti}{M-x ispell-region} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
502 \metax{kontrola pravopisu celého bufferu}{M-x ispell-buffer} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
503 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
504 \section{Tagy} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
505 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
506 \key{najít tag (definici)}{M-.} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
507 \key{najít další výskyt tagu}{C-u M-.} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
508 \metax{zadat soubor s novými tagy}{M-x visit-tags-table} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
509 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
510 \metax{vyhledat reg.\ výraz v~souborech s~tagy}{M-x tags-search} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
511 \metax{spustit nahrazování pro ony soubory}{M-x tags-query-replace} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
512 \key{pokračovat v~prohledávání nebo nahrazování}{M-,} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
513 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
514 \section{Příkazový interpret} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
515 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
516 \key{vykonat shellový příkaz}{M-!} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
517 \key{vykonat shellový příkaz na oblast}{M-|} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
518 \key{zfiltrovat oblast shellovým příkazem}{C-u M-|} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
519 \key{spustit shell v okně \kbd{*shell*}}{M-x shell} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
520 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
521 \section{Obdélníky} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
522 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
523 \key{zkopírovat obdélník do registru}{C-x r r} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
524 \key{zrušit obdélník}{C-x r k} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
525 \key{vhodit obdélník}{C-x r y} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
526 \key{vložit obdélník mezer}{C-x r o} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
527 \key{nahradit obdélník obdélníkem mezer}{C-x r c} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
528 \key{nahradit řádky obdélníku zadaným řetězcem}{C-x r t} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
529 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
530 \section{Zkratky} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
531 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
532 \key{přidat globální zkratku}{C-x a g} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
533 \key{přidat lokální zkratku}{C-x a l} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
534 \key{přidat globální expanzi pro zkratku }{C-x a i g} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
535 \key{přidat lokální expanzi pro zkratku}{C-x a i l} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
536 \key{expandovat zkratku}{C-x a e} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
537 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
538 \key{dynamická expanze předcházejícího slova}{M-/} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
539 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
540 \section{Regulární výrazy} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
541 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
542 \key{libovolný znak kromě nového řádku}{. {\rm(tečka)}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
543 \key{žádné nebo několik opakování}{*} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
544 \key{jedno nebo více opakování}{+} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
545 \key{žádné nebo jedno opakování}{?} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
546 \key{zrušit zvláštní význam znaku {\it c\/} ve výrazu}{\\{\it c}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
547 \key{alternativa (\uv{nebo})}{\\|} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
548 \key{skupina}{\\( {\rm$\ldots$} \\)} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
549 \key{stejný text jako {\it n\/}-tá skupina}{\\{\it n}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
550 \key{hranice slova}{\\b} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
551 \key{nikoliv hranice slova}{\\B} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
552 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
553 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
554 \threecol{{\bf element}}{{\bf začátek}}{{\bf konec}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
555 \threecol{řádek}{^}{\$} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
556 \threecol{slovo}{\\<}{\\>} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
557 \threecol{buffer}{\\`}{\\'} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
558 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
559 \threecol{{\bf třída znaků}}{{\bf odpovídá}}{{\bf neodpovídá}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
560 \threecol{explicitní množina}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
561 \threecol{slovotvorný znak}{\\w}{\\W} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
562 \threecol{znak se syntaxí {\it c}}{\\s{\it c}}{\\S{\it c}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
563 } |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
564 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
565 \section{Mezinárodní znakové sady} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
566 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
567 \metax{zadat hlavní jazyk}{M-x set-language-environment} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
568 \metax{zobrazit všechny vstupní metody}{M-x list-input-methods} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
569 \key{zapnout nebo vypnout vstupní metodu}{C-\\} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
570 \key{zadat kódování pro následující příkaz}{C-x RET c} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
571 \metax{zobrazit všechna kódování}{M-x list-coding-systems} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
572 \metax{změnit preferované kódování}{M-x prefer-coding-system} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
573 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
574 \section{Info} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
575 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
576 \key{spustit Info}{C-h i} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
577 \key{najít zadanou funkci nebo proměnnou v~Info}{C-h C-i} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
578 \beginindentedkeys |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
579 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
580 Pohyb uvnitř uzlů: |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
581 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
582 \key{rolování vpřed}{SPC} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
583 \key{rolování zpět}{DEL} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
584 \key{na začátek uzlu}{. {\rm (tečka)}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
585 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
586 Pohyb mezi uzly: |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
587 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
588 \key{{\bf další} uzel}{n} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
589 \key{{\bf předchozí} uzel}{p} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
590 \key{{\bf nadřazený} uzel}{u} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
591 \key{vybrat z~menu podle názvu}{m} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
592 \key{vybrat {\it n\/}-tou položku menu (1--9)}{{\it n}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
593 \key{nejbližší příští křížový odkaz (návrat \kbd{l})}{f} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
594 \key{vrátit se do naposledy prohlíženého uzlu}{l} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
595 \key{vrátit se do adresáře uzlů}{d} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
596 \key{přejít do kteréhokoliv uzlu podle jména}{g} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
597 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
598 Další: |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
599 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
600 \key{spustit {\bf tutoriál} k~Info}{h} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
601 % \key{look up a subject in the indices}{i} % FIXME |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
602 \key{prohledat uzly na řetězec}{M-s} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
603 \key{{\bf ukončit} Info}{q} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
604 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
605 \endindentedkeys |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
606 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
607 \section{Registry} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
608 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
609 \key{uložit oblast do registru}{C-x r s} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
610 \key{vložit obsah registru do bufferu}{C-x r i} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
611 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
612 \key{uložit pozici kurzoru do registru}{C-x r SPC} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
613 \key{skočit na pozici uloženou v~registru}{C-x r j} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
614 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
615 \section{Klávesová makra} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
616 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
617 \key{{\bf zahájit} definování klávesového makra}{C-x (} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
618 \key{{\bf zakončit} definování klávesového makra}{C-x )} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
619 \key{{\bf vykonat} poslední definované makro}{C-x e} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
620 \key{připojit k~poslednímu klávesovému makru}{C-u C-x (} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
621 \metax{pojmenovat poslední makro}{M-x name-last-kbd-macro} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
622 \metax{vložit do bufferu lispovou definici}{M-x insert-kbd-macro} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
623 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
624 \section{Příkazy související s~Emacs Lispem} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
625 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
626 \key{vyhodnotit {\bf výraz} před kurzorem}{C-x C-e} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
627 \key{vyhodnotit {\bf funkci} pod kurzorem}{C-M-x} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
628 \metax{vyhodnotit {\bf oblast}}{M-x eval-region} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
629 \key{načíst a vyhodnotit výraz v~minibufferu}{M-:} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
630 \metax{načíst soubor ze systémového adresáře}{M-x load-library} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
631 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
632 \section{Jednoduchá přizpůsobení} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
633 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
634 \metax{nastavit proměnné a faces}{M-x customize} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
635 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
636 % The intended audience here is the person who wants to make simple |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
637 % customizations and knows Lisp syntax. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
638 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
639 Definice obecné klávesové zkratky v~Emacs Lispu (příklad): |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
640 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
641 \beginexample% |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
642 (global-set-key "\\C-cg" 'goto-line) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
643 (global-set-key "\\M-\#" 'query-replace-regexp) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
644 \endexample |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
645 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
646 \section{Zápis příkazů} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
647 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
648 \beginexample% |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
649 (defun \<command-name> (\<args>) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
650 "\<documentation>" (interactive "\<template>") |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
651 \<body>) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
652 \endexample |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
653 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
654 Příklad: |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
655 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
656 \beginexample% |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
657 (defun this-line-to-top-of-window (line) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
658 "Reposition line point is on to top of window. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
659 With ARG, put point on line ARG." |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
660 (interactive "P") |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
661 (recenter (if (null line) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
662 0 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
663 (prefix-numeric-value line)))) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
664 \endexample |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
665 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
666 Specifikace \kbd{interactive} říká, jak interaktivně načíst ar\-gu\-men\-ty. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
667 Více se dozvíte po provedení \kbd{C-h f interactive}. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
668 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
669 \copyrightnotice |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
670 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
671 \bye |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
672 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
673 % Local variables: |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
674 % compile-command: "csplain cs-refcard" |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
675 % End: |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
676 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
677 % arch-tag: 24ab5519-539c-4941-9a95-4ed9d819030f |