Mercurial > emacs
annotate etc/refcards/cs-refcard.tex @ 86936:73d458dd0d7a
*** empty log message ***
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sun, 02 Dec 2007 04:03:19 +0000 |
parents | 79491244ebdd |
children | 107ccd98fa12 |
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, |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
22 % 2005, 2006, 2007 Free Software Foundation, Inc. |
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 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
26 % GNU Emacs is free software; you can redistribute it and/or modify |
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 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
28 % the Free Software Foundation; either version 3, or (at your option) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
29 % any later version. |
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 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
37 % along with GNU Emacs; see the file COPYING. If not, write to |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
38 % the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
39 % Boston, MA 02110-1301, USA. |
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 % 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
|
42 % |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
43 % 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
|
44 % 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
|
45 % 1 column per page |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
46 % 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
|
47 % This gives the best resolution. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
48 % 2 columns per page |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
49 % produces three already-reduced pages. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
50 % You will still need to cut and paste. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
51 % 3 columns per page |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
52 % 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
|
53 % 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
|
54 % 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
|
55 % 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
|
56 % |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
57 % Author: |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
58 % Stephen Gildea |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
59 % Internet: gildea@stop.mail-abuse.org |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
60 % |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
61 % 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
|
62 % for their many good ideas. |
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 % 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
|
65 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
66 % 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
|
67 % Corrections and improvements of the translation |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
68 % 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
|
69 % 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
|
70 % 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
|
71 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
72 % 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
|
73 % e.g. in the TeX Live CD). |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
74 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
75 \def\versionnumber{2.2} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
76 \def\versionemacs{22} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
77 \def\versionyear{2006} % latest update |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
78 \def\year{2007} % latest copyright year |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
79 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
80 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
81 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
82 Permissions on back. v\versionnumber}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
83 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
84 \def\copyrightnotice{ |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
85 \vskip 1ex plus 2 fill\begingroup\small |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
86 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
87 \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
|
88 \centerline{designed by Stephen Gildea} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
89 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
90 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
|
91 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
|
92 are preserved on all copies. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
93 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
94 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
|
95 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
|
96 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
97 \endgroup} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
98 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
99 % 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
|
100 % can be scanned without complaint. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
101 \def\bye{\par\vfill\supereject\end} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
102 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
103 \newdimen\intercolumnskip %horizontal space between columns |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
104 \newbox\columna %boxes to hold columns already built |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
105 \newbox\columnb |
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 \def\ncolumns{\the\columnsperpage} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
108 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
109 \message{[\ncolumns\space |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
110 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
|
111 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
112 \def\scaledmag#1{ scaled \magstep #1} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
113 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
114 % 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
|
115 % 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
|
116 \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
|
117 \hsize 4in |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
118 \vsize 10in |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
119 \voffset -.7in |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
120 \font\titlefont=\fontname\tenbf \scaledmag3 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
121 \font\headingfont=\fontname\tenbf \scaledmag2 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
122 \font\smallfont=\fontname\sevenrm |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
123 \font\smallsy=\fontname\sevensy |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
124 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
125 \footline{\hss\folio} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
126 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
127 \else %2 or 3 columns uses prereduced size |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
128 \hsize 3.2in |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
129 \vsize 7.95in |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
130 \hoffset -.75in |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
131 \voffset -.745in |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
132 \font\titlefont=csbx10 \scaledmag2 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
133 \font\headingfont=csbx10 \scaledmag1 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
134 \font\smallfont=csr6 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
135 \font\smallsy=cmsy6 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
136 \font\eightrm=csr8 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
137 \font\eightbf=csbx8 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
138 \font\eightit=csti8 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
139 \font\eighttt=cstt8 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
140 \font\eightmi=cmmi8 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
141 \font\eightsy=cmsy8 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
142 \textfont0=\eightrm |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
143 \textfont1=\eightmi |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
144 \textfont2=\eightsy |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
145 \def\rm{\eightrm} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
146 \def\bf{\eightbf} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
147 \def\it{\eightit} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
148 \def\tt{\eighttt} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
149 \normalbaselineskip=.8\normalbaselineskip |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
150 \normallineskip=.8\normallineskip |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
151 \normallineskiplimit=.8\normallineskiplimit |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
152 \normalbaselines\rm %make definitions take effect |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
153 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
154 \if 2\ncolumns |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
155 \let\maxcolumn=b |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
156 \footline{\hss\rm\folio\hss} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
157 \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
|
158 \else \if 3\ncolumns |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
159 \let\maxcolumn=c |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
160 \nopagenumbers |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
161 \else |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
162 \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
|
163 \errmessage{Illegal number of columns per page} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
164 \fi\fi |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
165 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
166 \intercolumnskip=.46in |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
167 \def\abc{a} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
168 \output={% %see The TeXbook page 257 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
169 % 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
|
170 %\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
|
171 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
172 \else\if a\abc |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
173 \global\setbox\columna\columnbox \global\def\abc{b} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
174 %% 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
|
175 \global\setbox\columnb\hbox to -\intercolumnskip{} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
176 \else |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
177 \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
|
178 \def\multicolumnformat{\shipout\vbox{\makeheadline |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
179 \hbox{\box\columna\hskip\intercolumnskip |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
180 \box\columnb\hskip\intercolumnskip\columnbox} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
181 \makefootline}\advancepageno} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
182 \def\columnbox{\leftline{\pagebody}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
183 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
184 \def\bye{\par\vfill\supereject |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
185 \if a\abc \else\null\vfill\eject\fi |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
186 \if a\abc \else\null\vfill\eject\fi |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
187 \end} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
188 \fi |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
189 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
190 % 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
|
191 % we might want to talk about |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
192 \catcode`\^=12 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
193 \catcode`\_=12 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
194 |
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 \chardef\{=`\{ |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
197 \chardef\}=`\} |
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 \hyphenation{mini-buf-fer} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
200 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
201 \parindent 0pt |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
202 \parskip 1ex plus .5ex minus .5ex |
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 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
205 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
206 % 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
|
207 % 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
|
208 \outer\def\newcolumn{\vfill\eject} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
209 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
210 % title - page title. Argument is title text. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
211 \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
|
212 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
213 % section - new major section. Argument is section name. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
214 \outer\def\section#1{\par\filbreak |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
215 \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
|
216 \vskip 2ex plus 1ex minus 1.5ex} |
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 \newdimen\keyindent |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
219 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
220 % beginindentedkeys...endindentedkeys - key definitions will be |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
221 % 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
|
222 % definitions, will not. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
223 \def\beginindentedkeys{\keyindent=1em} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
224 \def\endindentedkeys{\keyindent=0em} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
225 \endindentedkeys |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
226 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
227 % paralign - begin paragraph containing an alignment. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
228 % 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
|
229 % 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
|
230 \def\paralign{\vskip\parskip\halign} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
231 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
232 % \<...> - surrounds a variable name in a code example |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
233 \def\<#1>{{\it #1\/}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
234 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
235 % 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
|
236 \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
|
237 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
238 % 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
|
239 % 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
|
240 \def\beginexample{\par\leavevmode\begingroup |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
241 \obeylines\obeyspaces\parskip0pt\tt} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
242 {\obeyspaces\global\let =\ } |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
243 \def\endexample{\endgroup} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
244 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
245 % key - definition of a key. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
246 % \key{description of key}{key-name} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
247 % 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
|
248 % form near the right margin. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
249 \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
|
250 {\hsize=.75\hsize\rightskip=1em |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
251 \hskip\keyindent\relax#1}\kbd{#2}\hfil}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
252 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
253 \newbox\metaxbox |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
254 \setbox\metaxbox\hbox{\kbd{M-x }} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
255 \newdimen\metaxwidth |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
256 \metaxwidth=\wd\metaxbox |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
257 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
258 % metax - definition of a M-x command. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
259 % \metax{description of command}{M-x command-name} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
260 % 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
|
261 % 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
|
262 \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
|
263 {\hskip\keyindent\relax#1\hfil}% |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
264 \hskip -\metaxwidth minus 1fil |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
265 \kbd{#2}\hfil}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
266 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
267 % threecol - like "key" but with two key names. |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
268 % 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
|
269 \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
|
270 &\kbd{#3}\hfil\quad\cr} |
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 %**end of header |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
273 |
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 \title{GNU Emacs -- Referenční karta} |
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 \centerline{(pro verzi \versionemacs)} |
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 \section{Spuštění Emacsu} |
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 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
|
282 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
283 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
|
284 |
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 \section{Opuštění Emacsu} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
287 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
288 \key{pozastavení Emacsu (ikonizace v~X11)}{C-z} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
289 \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
|
290 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
291 \section{Soubory} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
292 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
293 \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
|
294 \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
|
295 \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
|
296 \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
|
297 \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
|
298 \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
|
299 \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
|
300 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
301 \section{Používání nápovědy} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
302 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
303 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
|
304 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
|
305 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
306 \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
|
307 \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
|
308 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
309 \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
|
310 \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
|
311 \key{zobrazit popis funkce}{C-h f} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
312 \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
|
313 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
314 \section{Opravy chyb} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
315 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
316 \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
|
317 \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
|
318 \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
|
319 \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
|
320 \key{překreslit \uv{rozpadlou} obrazovku}{C-l} |
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 \section{Přírůstkové vyhledávání} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
323 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
324 \key{vyhledat dopředu}{C-s} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
325 \key{vyhledat dozadu}{C-r} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
326 \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
|
327 \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
|
328 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
329 \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
|
330 \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
|
331 \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
|
332 \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
|
333 \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
|
334 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
335 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
|
336 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
|
337 |
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 \shortcopyrightnotice |
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 \section{Pohyb} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
342 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
343 \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
|
344 \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
|
345 \threecol{znak}{C-b}{C-f} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
346 \threecol{slovo}{M-b}{M-f} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
347 \threecol{řádek}{C-p}{C-n} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
348 \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
|
349 \threecol{větu}{M-a}{M-e} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
350 \threecol{odstavec}{M-\{}{M-\}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
351 \threecol{stránku}{C-x [}{C-x ]} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
352 \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
|
353 \threecol{funkci}{C-M-a}{C-M-e} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
354 \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
|
355 } |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
356 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
357 \key{rolovat na další obrazovku}{C-v} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
358 \key{rolovat na předchozí obrazovku}{M-v} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
359 \key{rolovat vlevo}{C-x <} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
360 \key{rolovat vpravo}{C-x >} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
361 \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
|
362 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
363 \section{Rušení a mazání} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
364 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
365 \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
|
366 \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
|
367 \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
|
368 \threecol{slovo}{M-DEL}{M-d} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
369 \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
|
370 \threecol{věta}{C-x DEL}{M-k} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
371 \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
|
372 } |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
373 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
374 \key{zrušit {\bf oblast}}{C-w} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
375 \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
|
376 \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
|
377 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
378 \key{vhodit naposledy zrušený objekt}{C-y} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
379 \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
|
380 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
381 \section{Označování} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
382 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
383 \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
|
384 \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
|
385 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
386 \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
|
387 \key{označit {\bf odstavec}}{M-h} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
388 \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
|
389 \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
|
390 \key{označit {\bf funkci}}{C-M-h} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
391 \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
|
392 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
393 \section{Interaktivní nahrazování} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
394 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
395 \key{interaktivně nahradit textový řetězec}{M-\%} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
396 \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
|
397 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
398 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
|
399 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
400 \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
|
401 \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
|
402 \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
|
403 \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
|
404 \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
|
405 \key{{\bf konec} nahrazování}{RET} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
406 \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
|
407 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
408 \section{Okna} |
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 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
|
411 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
412 \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
|
413 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
414 {\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
|
415 \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
|
416 \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
|
417 \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
|
418 }} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
419 \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
|
420 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
421 \key{rolovat jiné okno}{C-M-v} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
422 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
423 {\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
|
424 \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
|
425 \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
|
426 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
427 \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
|
428 \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
|
429 \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
|
430 \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
|
431 \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
|
432 \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
|
433 }} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
434 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
435 \key{zvětšit okno}{C-x ^} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
436 \key{zúžit okno}{C-x \{} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
437 \key{rozšířit okno}{C-x \}} |
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 \section{Formátování} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
440 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
441 \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
|
442 \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
|
443 \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
|
444 \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
|
445 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
446 \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
|
447 \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
|
448 \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
|
449 \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
|
450 \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
|
451 \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
|
452 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
453 \key{zalomit odstavec}{M-q} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
454 \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
|
455 \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
|
456 \key{nastavit font}{M-g} |
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 \section{Změna velikosti písmen} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
459 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
460 \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
|
461 \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
|
462 \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
|
463 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
464 \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
|
465 \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
|
466 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
467 \section{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 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
|
470 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
471 \key{doplnit z~nabídky}{TAB} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
472 \key{doplnit do nejbližšího slova}{SPC} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
473 \key{doplnit a vykonat}{RET} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
474 \key{zobrazit možná doplnění}{?} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
475 \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
|
476 \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
|
477 \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
|
478 \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
|
479 \key{zrušit příkaz}{C-g} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
480 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
481 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
|
482 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
|
483 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
484 \newcolumn |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
485 \title{GNU Emacs -- Referenční karta} |
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 \section{Buffery} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
488 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
489 \key{vybrat jiný buffer}{C-x b} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
490 \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
|
491 \key{zrušit buffer}{C-x k} |
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 \section{Výměny} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
494 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
495 \key{přehodit {\bf znaky}}{C-t} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
496 \key{přehodit {\bf slova}}{M-t} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
497 \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
|
498 \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
|
499 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
500 \section{Kontrola pravopisu} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
501 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
502 \key{kontrola pravopisu aktuálního slova}{M-\$} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
503 \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
|
504 \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
|
505 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
506 \section{Tagy} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
507 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
508 \key{najít tag (definici)}{M-.} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
509 \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
|
510 \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
|
511 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
512 \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
|
513 \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
|
514 \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
|
515 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
516 \section{Příkazový interpret} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
517 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
518 \key{vykonat shellový příkaz}{M-!} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
519 \key{vykonat shellový příkaz na oblast}{M-|} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
520 \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
|
521 \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
|
522 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
523 \section{Obdélníky} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
524 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
525 \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
|
526 \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
|
527 \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
|
528 \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
|
529 \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
|
530 \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
|
531 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
532 \section{Zkratky} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
533 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
534 \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
|
535 \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
|
536 \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
|
537 \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
|
538 \key{expandovat zkratku}{C-x a e} |
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 \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
|
541 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
542 \section{Regulární výrazy} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
543 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
544 \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
|
545 \key{žádné nebo několik opakování}{*} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
546 \key{jedno nebo více opakování}{+} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
547 \key{žádné nebo jedno opakování}{?} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
548 \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
|
549 \key{alternativa (\uv{nebo})}{\\|} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
550 \key{skupina}{\\( {\rm$\ldots$} \\)} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
551 \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
|
552 \key{hranice slova}{\\b} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
553 \key{nikoliv hranice slova}{\\B} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
554 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
555 \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
|
556 \threecol{{\bf element}}{{\bf začátek}}{{\bf konec}} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
557 \threecol{řádek}{^}{\$} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
558 \threecol{slovo}{\\<}{\\>} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
559 \threecol{buffer}{\\`}{\\'} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
560 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
561 \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
|
562 \threecol{explicitní množina}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
563 \threecol{slovotvorný znak}{\\w}{\\W} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
564 \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
|
565 } |
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 \section{Mezinárodní znakové sady} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
568 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
569 \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
|
570 \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
|
571 \key{zapnout nebo vypnout vstupní metodu}{C-\\} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
572 \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
|
573 \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
|
574 \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
|
575 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
576 \section{Info} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
577 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
578 \key{spustit Info}{C-h i} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
579 \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
|
580 \beginindentedkeys |
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 Pohyb uvnitř uzlů: |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
583 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
584 \key{rolování vpřed}{SPC} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
585 \key{rolování zpět}{DEL} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
586 \key{na začátek uzlu}{. {\rm (tečka)}} |
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 Pohyb mezi uzly: |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
589 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
590 \key{{\bf další} uzel}{n} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
591 \key{{\bf předchozí} uzel}{p} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
592 \key{{\bf nadřazený} uzel}{u} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
593 \key{vybrat z~menu podle názvu}{m} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
594 \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
|
595 \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
|
596 \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
|
597 \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
|
598 \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
|
599 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
600 Další: |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
601 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
602 \key{spustit {\bf tutoriál} k~Info}{h} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
603 % \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
|
604 \key{prohledat uzly na řetězec}{M-s} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
605 \key{{\bf ukončit} Info}{q} |
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 \endindentedkeys |
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 \section{Registry} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
610 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
611 \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
|
612 \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
|
613 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
614 \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
|
615 \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
|
616 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
617 \section{Klávesová makra} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
618 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
619 \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
|
620 \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
|
621 \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
|
622 \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
|
623 \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
|
624 \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
|
625 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
626 \section{Příkazy související s~Emacs Lispem} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
627 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
628 \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
|
629 \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
|
630 \metax{vyhodnotit {\bf oblast}}{M-x eval-region} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
631 \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
|
632 \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
|
633 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
634 \section{Jednoduchá přizpůsobení} |
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 \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
|
637 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
638 % 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
|
639 % customizations and knows Lisp syntax. |
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 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
|
642 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
643 \beginexample% |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
644 (global-set-key "\\C-cg" 'goto-line) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
645 (global-set-key "\\M-\#" 'query-replace-regexp) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
646 \endexample |
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 \section{Zápis příkazů} |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
649 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
650 \beginexample% |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
651 (defun \<command-name> (\<args>) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
652 "\<documentation>" (interactive "\<template>") |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
653 \<body>) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
654 \endexample |
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 Příklad: |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
657 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
658 \beginexample% |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
659 (defun this-line-to-top-of-window (line) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
660 "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
|
661 With ARG, put point on line ARG." |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
662 (interactive "P") |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
663 (recenter (if (null line) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
664 0 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
665 (prefix-numeric-value line)))) |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
666 \endexample |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
667 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
668 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
|
669 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
|
670 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
671 \copyrightnotice |
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 \bye |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
674 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
675 % Local variables: |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
676 % compile-command: "csplain cs-refcard" |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
677 % End: |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
678 |
63da05fb6f28
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
679 % arch-tag: 24ab5519-539c-4941-9a95-4ed9d819030f |