aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElías Gabriel Pérez2025-02-22 12:05:07 -0600
committerStefan Kangas2025-03-04 03:02:16 +0100
commitcf0dbc34e8ef77828e2c6f8b07dddc606c44900e (patch)
treef258bd8f5199e21242671c6503e571509cd991a2
parent144b268a84e6be81f59669b77651b4522a2f2805 (diff)
downloademacs-cf0dbc34e8ef77828e2c6f8b07dddc606c44900e.tar.gz
emacs-cf0dbc34e8ef77828e2c6f8b07dddc606c44900e.zip
Add Spanish translation for dired-ref.tex
* etc/refcards/es-dired-ref.tex: New file. (Bug#76300)
-rw-r--r--etc/refcards/es-dired-ref.tex426
1 files changed, 426 insertions, 0 deletions
diff --git a/etc/refcards/es-dired-ref.tex b/etc/refcards/es-dired-ref.tex
new file mode 100644
index 00000000000..d9b7b3c4d05
--- /dev/null
+++ b/etc/refcards/es-dired-ref.tex
@@ -0,0 +1,426 @@
1% Reference Card for Dired
2
3% Copyright (C) 2000--2025 Free Software Foundation, Inc.
4
5% Author: Evgeny Roubinchtein <eroubinc@u.washington.edu>
6% Spanish translation: Elias Gabriel Perez <eg642616@gmail.com>
7
8% This document is free software: you can redistribute it and/or modify
9% it under the terms of the GNU General Public License as published by
10% the Free Software Foundation, either version 3 of the License, or
11% (at your option) any later version.
12
13% As a special additional permission, you may distribute reference cards
14% printed, or formatted for printing, with the notice "Released under
15% the terms of the GNU General Public License version 3 or later"
16% instead of the usual distributed-under-the-GNU-GPL notice, and without
17% a copy of the GPL itself.
18
19% This document is distributed in the hope that it will be useful,
20% but WITHOUT ANY WARRANTY; without even the implied warranty of
21% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22% GNU General Public License for more details.
23
24% You should have received a copy of the GNU General Public License
25% along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
26
27
28% This file is intended to be processed by plain TeX (TeX82).
29
30% This is a bit of a dirty hack on the GNU Emacs reference card
31% to produce a Dired reference card instead.
32
33% I put this together because I wanted a Dired reference card, but
34% couldn't find anything on the 'net. Based mostly off Dired's
35% describe-mode.
36
37% Thanks to Cecilio Pardo, Mauro Aranda and Stephen Berman for
38% the suggestions.
39
40%**start of header
41\newcount\columnsperpage
42
43% This file can be printed with 1, 2, or 3 columns per page.
44% Specify how many you want here.
45% The reference card looks OK with 2 columns per page, portrait mode.
46% I haven't tried it with 3 columns per page.
47\columnsperpage=2
48
49% PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for
50% a landscape layout.
51\input pdflayout.sty
52\pdflayout=(1)
53
54\input emacsver.tex
55
56% Nothing else needs to be changed.
57
58\def\shortcopyrightnotice{\vskip 1ex plus 2 fill
59 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
60 Permissions on back.}}
61
62\def\copyrightnotice{
63\vskip 1ex plus 2 fill\begingroup\small
64\centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
65\centerline{For GNU Emacs version \versionemacs}
66\centerline{Originally written May 2000 by Evgeny Roubinchtein,}
67\centerline{using refcard layout designed by Stephen Gildea.}
68\centerline{Translated by Elias Gabriel P{\'e}rez.}
69
70Released under the terms of the GNU General Public License version 3 or later.
71
72For more Emacs documentation, and the \TeX{} source for this card,
73see the Emacs distribution, or {\tt https://www.gnu.org/software/emacs}
74\endgroup}
75
76% make \bye not \outer so that the \def\bye in the \else clause below
77% can be scanned without complaint.
78\def\bye{\par\vfill\supereject\end}
79
80\newdimen\intercolumnskip %horizontal space between columns
81\newbox\columna %boxes to hold columns already built
82\newbox\columnb
83
84\def\ncolumns{\the\columnsperpage}
85
86\message{[\ncolumns\space
87 column\if 1\ncolumns\else s\fi\space per page]}
88
89\def\scaledmag#1{ scaled \magstep #1}
90
91% This multi-way format was designed by Stephen Gildea October 1986.
92% Note that the 1-column format is fontfamily-independent.
93\if 1\ncolumns %one-column format uses normal size
94 \hsize 4in
95 \vsize 10in
96 \voffset -.7in
97 \font\titlefont=\fontname\tenbf \scaledmag3
98 \font\headingfont=\fontname\tenbf \scaledmag2
99 \font\smallfont=\fontname\sevenrm
100 \font\smallsy=\fontname\sevensy
101
102 \footline{\hss\folio}
103 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
104\else %2 or 3 columns uses prereduced size
105 \hsize 3.4in
106 \vsize 9.2in
107 \hoffset -.75in
108 \voffset -.745in
109 \font\titlefont=cmbx10 \scaledmag2
110 \font\headingfont=cmbx10 \scaledmag1
111 \font\smallfont=cmr6
112 \font\smallsy=cmsy6
113 \font\eightrm=cmr8
114 \font\eightbf=cmbx8
115 \font\eightit=cmti8
116 \font\eighttt=cmtt8
117 \font\eightmi=cmmi8
118 \font\eightsy=cmsy8
119 \textfont0=\eightrm
120 \textfont1=\eightmi
121 \textfont2=\eightsy
122 \def\rm{\eightrm}
123 \def\bf{\eightbf}
124 \def\it{\eightit}
125 \def\tt{\eighttt}
126 \normalbaselineskip=.8\normalbaselineskip
127 \normallineskip=.8\normallineskip
128 \normallineskiplimit=.8\normallineskiplimit
129 \normalbaselines\rm %make definitions take effect
130
131 \if 2\ncolumns
132 \let\maxcolumn=b
133 \footline{\hss\rm\folio\hss}
134 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
135 \else \if 3\ncolumns
136 \let\maxcolumn=c
137 \nopagenumbers
138 \else
139 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
140 \errmessage{Illegal number of columns per page}
141 \fi\fi
142
143 \intercolumnskip=.46in
144 \def\abc{a}
145 \output={% %see The TeXbook page 257
146 % This next line is useful when designing the layout.
147 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
148 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
149 \else\if a\abc
150 \global\setbox\columna\columnbox \global\def\abc{b}
151 %% in case we never use \columnb (two-column mode)
152 \global\setbox\columnb\hbox to -\intercolumnskip{}
153 \else
154 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
155 \def\multicolumnformat{\shipout\vbox{\makeheadline
156 \hbox{\box\columna\hskip\intercolumnskip
157 \box\columnb\hskip\intercolumnskip\columnbox}
158 \makefootline}\advancepageno}
159 \def\columnbox{\leftline{\pagebody}}
160
161 \def\bye{\par\vfill\supereject
162 \if a\abc \else\null\vfill\eject\fi
163 \if a\abc \else\null\vfill\eject\fi
164 \end}
165\fi
166
167% we won't be using math mode much, so redefine some of the characters
168% we might want to talk about
169\catcode`\^=12
170\catcode`\_=12
171
172\chardef\\=`\\
173\chardef\{=`\{
174\chardef\}=`\}
175
176\hyphenation{mini-buf-fer}
177\hyphenation{de-le-tion}
178
179\parindent 0pt
180\parskip 1ex plus .5ex minus .5ex
181
182\def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
183
184% newcolumn - force a new column. Use sparingly, probably only for
185% the first column of a page, which should have a title anyway.
186\outer\def\newcolumn{\vfill\eject}
187
188% title - page title. Argument is title text.
189\outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
190
191% section - new major section. Argument is section name.
192\outer\def\section#1{\par\filbreak
193 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
194 \vskip 2ex plus 1ex minus 1.5ex}
195
196\newdimen\keyindent
197
198% beginindentedkeys...endindentedkeys - key definitions will be
199% indented, but running text, typically used as headings to group
200% definitions, will not.
201\def\beginindentedkeys{\keyindent=1em}
202\def\endindentedkeys{\keyindent=0em}
203\endindentedkeys
204
205% paralign - begin paragraph containing an alignment.
206% If an \halign is entered while in vertical mode, a parskip is never
207% inserted. Using \paralign instead of \halign solves this problem.
208\def\paralign{\vskip\parskip\halign}
209
210% \<...> - surrounds a variable name in a code example
211\def\<#1>{{\it #1\/}}
212
213% kbd - argument is characters typed literally. Like the Texinfo command.
214\def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
215
216% beginexample...endexample - surrounds literal text, such a code example.
217% typeset in a typewriter font with line breaks preserved
218\def\beginexample{\par\leavevmode\begingroup
219 \obeylines\obeyspaces\parskip0pt\tt}
220{\obeyspaces\global\let =\ }
221\def\endexample{\endgroup}
222
223% key - definition of a key.
224% \key{description of key}{key-name}
225% prints the description left-justified, and the key-name in a \kbd
226% form near the right margin.
227\def\key#1#2{\leavevmode\hbox to \hsize{\vtop
228 {\hsize=.75\hsize\rightskip=1em
229 \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
230
231\newbox\metaxbox
232\setbox\metaxbox\hbox{\kbd{M-x }}
233\newdimen\metaxwidth
234\metaxwidth=\wd\metaxbox
235
236% metax - definition of a M-x command.
237% \metax{description of command}{M-x command-name}
238% Tries to justify the beginning of the command name at the same place
239% as \key starts the key name. (The "M-x " sticks out to the left.)
240\def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
241 {\hskip\keyindent\relax#1\hfil}%
242 \hskip -\metaxwidth minus 1fil
243 \kbd{#2}\hfil}}
244
245% threecol - like "key" but with two key names.
246% for example, one for doing the action backward, and one for forward.
247\def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad
248 &\kbd{#3}\hfil\quad\cr}
249
250% I cannot figure out how to make all dired-x
251% commands fit on a page in two-column format
252\def\dx{{\bf (DX)}}
253
254\nopagenumbers
255
256%**end of header
257
258
259\title{Tarjeta de referencia de Dired}
260
261\centerline{(basado en Dired de la version \versionemacs{} de GNU Emacs)}
262\centerline{Los comandos marcados con \dx{} requieren de dired-x}
263
264% trim this down to fit everything on one page
265% \section{General}
266% In dired, you can edit a list of the files in a directory (and optionally
267% its subdirectories in the `ls -lR' format).
268
269% Editing a directory means that you can visit, rename, copy, compress,
270% load, byte-compile files. You can change files' attributes, run shell
271% commands on files, or insert subdirectories into the edit buffer. You can
272% "flag" files for deletion or "mark" files for later commands, either one
273% file at a time or by all files matching certain criteria (e.g., files that
274% match a certain regexp).
275
276% You move throughout the buffer using the usual cursor motion commands.
277% Letters no longer insert themselves, but execute commands instead. The
278% digits (0-9) are prefix arguments.
279
280% Most commands operate either on all marked files or on the current file if
281% no files are marked. Use a numeric prefix argument to operate on the next
282% ARG files (or previous ARG if ARG $<$ 0). Use the prefix argument `1' to
283% operate on the current file only. Prefix arguments override marks. Commands
284% which run a sub-process on a group of files will display a list of files
285% for which the sub-process failed. Typing y will try to tell
286% you what went wrong.
287
288% When editing several directories in one buffer, each directory acts as a
289% page, so C-x [ and C-x ] can be used to move between directories.
290
291\section{Entrando y Saliendo de Dired}
292
293\key{ejecutar dired}{C-x d}
294\key{entrar con dired al directorio del archivo que est{\'a}s editando}{C-x C-j \dx}
295\key{salir de dired}{q}
296
297\section{Comandos de movimiento}
298
299\key{subir a la l{\'i}nea anterior}{p}
300\key{bajar a la siguiente l{\'i}nea}{n}
301\key{subir a la l{\'i}nea de la carpeta anterior}{<}
302\key{bajar a la l{\'i}nea de la siguiente carpeta}{>}
303\key{subir al anterior archivo marcado}{M-\{}
304\key{bajar al siguiente archivo marcado}{M-\}}
305\key{subir al subdirectorio anterior}{M-C-p}
306\key{bajar al siguiente subdirectorio}{M-C-n}
307\key{moverse al directorio principal}{^}
308\key{moverse al primer subdirectorio secundario}{M-C-d}
309
310\section{Comandos para el Rat{\'o}n (Mouse)}
311\metax{visitar archivo o directorio}{Mouse_Button_2 (bot{\'o}n central)}
312
313\section{Acciones inmediatas sobre los archivos}
314
315\key{abrir archivo actual}{f}
316\key{ver archivo actual}{v}
317\key{abrir archivo actual en otra ventana}{o}
318%% Huh?
319%% \key{visit current file in other frame}{w}
320%% Huh?
321%%\key{display current file}{C-u o}
322\key{crear un subdirectorio nuevo}{+}
323\key{comparar archivo del cursor con el otro marcado}{=}
324
325\section{Seleccionar y Deseleccionar Archivos}
326
327\key{seleccionar un archivo o subdirectorio para comandos posteriores}{m}
328\key{deseleccionar un archivo o todos los archivos de un subdirectorio}{u}
329\key{deseleccionar todos los archivos seleccionados en un buffer}{M-delete}
330\key{seleccionar archivos con una extensi{\'o}n determinada}{* .}
331\key{seleccionar todos los directorios}{* /}
332\key{seleccionar todos los enlaces simb{\'o}licos}{* @}
333\key{seleccionar todos los ejecutables}{* *}
334\key{invertir selecci{\'o}n}{t}
335\key{seleccionar todos los archivos en el subdirectorio actual}{* s}
336\key{seleccionar los nombres de archivos que coinciden con una expresi{\'o}n regular}{* \%}
337\key{cambiar las selecciones a un car{\'a}cter diferente}{* c}
338\key{seleccionar archivos para los cuales la expresi{\'o}n Elisp retorne t}{* ( \dx}
339
340\shortcopyrightnotice
341\section{Modificaci{\'o}n del buffer Dired}
342
343\key{insertar un subdirectorio en este buffer}{i}
344\key{eliminar archivos seleccionados}{k}
345\key{eliminar un archivo o directorio inmediatamente}{C-u k}
346\key{volver a leer todos los directorios (conserva todas las selecciones)}{g}
347\key{alternar el orden del subdirectorio actual por nombre/fecha}{s}
348\key{editar los argumentos de ls}{C-u s}
349\key{deshacer acci{\'o}n (restaurar selecci{\'o}n, l{\'i}neas ocultas
350 y dem{\'a}s)}{C-_}
351\key{ocultar todos los subdirectorios}{M-\$}
352\key{mostrar u ocultar subdirectorio}{\$}
353
354\section{Comandos en Archivos Marcados o especificados por el Prefijo}
355
356\key{copiar archivo(s)}{C}
357\key{cambiar nombre a archivo o moverlo a otro directorio}{R}
358\key{cambiar propiedad del(los) archivo(s)}{O}
359\key{cambiar el grupo del(los) archivo(s)}{G}
360\key{cambiar el modo del(los) archivo(s)}{M}
361\key{imprimir archivo(s)}{P}
362\key{convertir nombre del(los) archivo(s)}{\% l}
363\key{a min{\'u}sculas}{}
364\key{convertir nombre del(los) archivo(s)}{\% u}
365\key{a may{\'u}sculas}{}
366\key{eliminar archivo(s) seleccionado(s) (en contraposici{\'o}n a marcados
367 para eliminaci{\'o}n)}{D}
368%% Huh?
369%%\key{uuencode or uudecode file(s)}{U}
370\key{comprimir o descomprimir archivo(s)}{Z}
371%% Only uses the current file.
372\key{ejecutar info en archivo}{I \dx}
373\key{crear enlace(s) simb{\'o}lico(s)}{S}
374\key{crear enlace(s) simb{\'o}lico(s) relativos}{Y}
375\key{crear enlace(s) duro(s) (hard link)}{H}
376\key{buscar archivos con una expresi{\'o}n regular}{A}
377\key{buscar y remplazar con una expresi{\'o}n regular sobre los archivos
378 seleccionados}{Q}
379\key{compilar a bytes este archivo(s)}{B}
380\key{cargar archivo(s)}{L}
381\key{ejecutar comando de shell en este archivo(s)}{!}
382\key{ejecutar asincr{\'o}nicamente comando de shell en este(estos) archivo(s)}{\&}
383
384\section{Marcar archivos para Eliminaci{\'o}n}
385\leftline{\bf Los comandos de deselecci{\'o}n remueve las marcas de eliminaci{\'o}n}
386\key{marcar archivo para eliminaci{\'o}n}{d}
387%% Huh?
388%%\key{backup and remove deletion flag}{delete}
389\key{marcar todos los archivos de respaldo (los nombres de archivos que
390 terminan en \~{})}{\~{}}
391\key{marcar los archivos de guardado autom{\'a}tico}{\#}
392\key{marcar varios archivos intermedios}{\% \&}
393\key{marcar archivos de respaldo num{\'e}ricos (terminando en .\~{}1\~{}, .\~{}2\~{}, etc.)}{.}
394\key{eliminar todos los archivos marcados para eliminaci{\'o}n}{x}
395\key{marcar archivos que coinciden con la expresi{\'o}n regular}{\% d}
396
397\section{Comandos de Expresiones Regulares}
398
399\key{seleccionar nombres de archivos que coinciden con una expresi{\'o}n
400 regular}{\% m}
401\key{copiar archivos seleccionados por una expresi{\'o}n regular}{\% C}
402\key{renombrar archivos marcados por una expresi{\'o}n regular}{\% R}
403\key{hacer un enlace duro (hardlink)}{\% H}
404\key{hacer un enlace simb{\'o}lico}{\% S}
405\key{hacer un enlace simb{\'o}lico, con rutas relativas}{\% Y}
406\key{seleccionar para eliminar}{\% d}
407
408\newcolumn
409\title{Tarjeta de referencia de Dired}
410
411\section{Dired y Find}
412\metax{encontrar con find archivo(s) cuyo}{M-x find-name-dired}
413\key{nombre coincida con un patr{\'o}n}{}
414\metax{encontrar con find archivo(s) cuyo}{M-x find-grep-dired}
415\key{nombre contenga un patr{\'o}n}{}
416\metax{encontrar con find archivo(s) basado}{M-x find-dired}
417\key{en la salida de \kbd{find}}{}
418
419\section{Obtener Ayuda}
420
421\key{ayuda de dired}{h}
422\key{resumen de instrucciones (ayuda breve) y registro de errores}{?}
423
424\copyrightnotice
425
426\bye