hgbook
annotate es/99defs.tex @ 1114:527b86d55d4a
inotify: update installation information
inotify is shipped in Mercurial since 1.0, which greatly simplifies the installation process
inotify is shipped in Mercurial since 1.0, which greatly simplifies the installation process
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Sun Dec 13 16:35:56 2009 +0900 (2009-12-13) |
parents | c3a867bba34a |
children |
rev | line source |
---|---|
bos@37 | 1 % Bug ID. |
jerojasro@508 | 2 \newcommand{\bug}[1]{\index{Base de datos de fallos de Mercurial |
jerojasro@508 | 3 !\href{http://www.selenic.com/mercurial/bts/issue#1}{fallo |
jerojasro@508 | 4 ~#1}}\href{http://www.selenic.com/mercurial/bts/issue#1}{Fallo de |
jerojasro@508 | 5 Mercurial No.~#1}} |
bos@37 | 6 |
bos@37 | 7 % File name in the user's home directory. |
bos@4 | 8 \newcommand{\tildefile}[1]{\texttt{\~{}/#1}} |
bos@37 | 9 |
bos@37 | 10 % File name. |
bos@2 | 11 \newcommand{\filename}[1]{\texttt{#1}} |
bos@37 | 12 |
bos@37 | 13 % Directory name. |
bos@16 | 14 \newcommand{\dirname}[1]{\texttt{#1}} |
bos@37 | 15 |
bos@37 | 16 % File name, with index entry. |
bos@37 | 17 % The ``s'' prefix comes from ``special''. |
jerojasro@508 | 18 \newcommand{\sfilename}[1]{\index{\texttt{#1}, fichero}\texttt{#1}} |
bos@37 | 19 |
bos@37 | 20 % Directory name, with index entry. |
jerojasro@508 | 21 \newcommand{\sdirname}[1]{\index{\texttt{#1}, directorio}\texttt{#1}} |
bos@37 | 22 |
bos@37 | 23 % Mercurial extension. |
jerojasro@508 | 24 \newcommand{\hgext}[1]{\index{\texttt{#1}, extensi\'on}\texttt{#1}} |
bos@37 | 25 |
bos@230 | 26 % Command provided by a Mercurial extension. |
jerojasro@508 | 27 \newcommand{\hgxcmd}[2]{\index{\texttt{#2}, comando (extensi\'on |
jerojasro@508 | 28 \texttt{#1})}\index{\texttt{#1}, extensi\'on!comando \texttt{#2}}``\texttt{hg #2}''} |
bos@230 | 29 |
bos@37 | 30 % Mercurial command. |
jerojasro@508 | 31 \newcommand{\hgcmd}[1]{\index{\texttt{#1}, comando}``\texttt{hg #1}''} |
bos@37 | 32 |
bos@37 | 33 % Mercurial command, with arguments. |
jerojasro@508 | 34 \newcommand{\hgcmdargs}[2]{\index{\texttt{#1}, comando}``\texttt{hg #1 #2}''} |
bos@37 | 35 |
jerojasro@508 | 36 \newcommand{\tplkword}[1]{\index{\texttt{#1}, palabra clave de |
jerojasro@508 | 37 plantilla}\index{palabras clave de plantilla!\texttt{#1}}\texttt{#1}} |
bos@80 | 38 |
jerojasro@508 | 39 \newcommand{\tplkwfilt}[2]{\index{\texttt{#1}, palabra clave de plantilla!filtro |
jerojasro@508 | 40 \texttt{#2}}\index{filtros de plantilla!\texttt{#2}}\index{\texttt{#2}, filtro |
jerojasro@508 | 41 de plantilla}\texttt{#2}} |
bos@80 | 42 |
jerojasro@508 | 43 \newcommand{\tplfilter}[1]{\index{filtros de |
jerojasro@508 | 44 plantilla!\texttt{#1}}\index{\texttt{#1}, filtro de plantilla}\texttt{#1}} |
bos@80 | 45 |
bos@37 | 46 % Shell/system command. |
jerojasro@508 | 47 \newcommand{\command}[1]{\index{\texttt{#1}, comando de sistema}\texttt{#1}} |
bos@37 | 48 |
bos@37 | 49 % Shell/system command, with arguments. |
jerojasro@508 | 50 \newcommand{\cmdargs}[2]{\index{\texttt{#1} comando de sistema}``\texttt{#1 #2}''} |
bos@37 | 51 |
bos@37 | 52 % Mercurial command option. |
jerojasro@508 | 53 \newcommand{\hgopt}[2]{\index{\texttt{#1}, comando!opción \texttt{#2}}\texttt{#2}} |
bos@37 | 54 |
bos@230 | 55 % Mercurial command option, provided by an extension command. |
jerojasro@508 | 56 \newcommand{\hgxopt}[3]{\index{\texttt{#2}, comando (extensión |
jerojasro@508 | 57 \texttt{#1})!opción \texttt{#3}}\index{\texttt{#1}, extensión!comando |
jerojasro@508 | 58 \texttt{#2}!opción\texttt{#3}}\texttt{#3}} |
bos@230 | 59 |
bos@37 | 60 % Mercurial global option. |
jerojasro@508 | 61 \newcommand{\hggopt}[1]{\index{opciones globales!opción \texttt{#1}}\texttt{#1}} |
bos@37 | 62 |
bos@37 | 63 % Shell/system command option. |
jerojasro@508 | 64 \newcommand{\cmdopt}[2]{\index{\texttt{#1}, comando!opción \texttt{#2}}\texttt{#2}} |
bos@37 | 65 |
bos@37 | 66 % Command option. |
bos@27 | 67 \newcommand{\option}[1]{\texttt{#1}} |
bos@37 | 68 |
bos@37 | 69 % Software package. |
jerojasro@508 | 70 \newcommand{\package}[1]{\index{\texttt{#1}, paquete}\texttt{#1}} |
bos@37 | 71 |
bos@37 | 72 % Section name from a hgrc file. |
jerojasro@508 | 73 \newcommand{\rcsection}[1]{\index{\texttt{hgrc}, fichero!sección \texttt{#1}}\texttt{[#1]}} |
bos@37 | 74 |
bos@37 | 75 % Named item in a hgrc file section. |
jerojasro@508 | 76 \newcommand{\rcitem}[2]{\index{\texttt{hgrc}, fichero!sección |
jerojasro@508 | 77 \texttt{#1}!entrada \texttt{#2}}\texttt{#2}} |
bos@37 | 78 |
bos@37 | 79 % hgrc file. |
jerojasro@508 | 80 \newcommand{\hgrc}{\index{fichero de configuración!\texttt{hgrc} |
jerojasro@508 | 81 (Linux/Unix)}\index{\texttt{hgrc}, fichero de configuración}\texttt{hgrc}} |
bos@184 | 82 |
bos@184 | 83 % Mercurial.ini file. |
jerojasro@508 | 84 \newcommand{\hgini}{\index{fichero de configuración!\texttt{Mercurial.ini} |
jerojasro@508 | 85 (Windows)}\index{\texttt{Mercurial.ini}, fichero de configuración}\texttt{Mercurial.ini}} |
bos@37 | 86 |
bos@37 | 87 % Hook name. |
jerojasro@508 | 88 \newcommand{\hook}[1]{\index{\texttt{#1}, gancho}\index{ganchos!\texttt{#1}}\texttt{#1}} |
bos@37 | 89 |
bos@37 | 90 % Environment variable. |
jerojasro@508 | 91 \newcommand{\envar}[1]{\index{\texttt{#1}, variable de entorno}\index{variables |
jerojasro@508 | 92 de entorno!\texttt{#1}}\texttt{#1}} |
bos@0 | 93 |
bos@37 | 94 % Python module. |
jerojasro@508 | 95 \newcommand{\pymod}[1]{\index{\texttt{#1}, módulo}\texttt{#1}} |
bos@37 | 96 |
bos@37 | 97 % Python class in a module. |
jerojasro@508 | 98 \newcommand{\pymodclass}[2]{\index{\texttt{#1}, módulo!clase \texttt{#2}}\texttt{#1.#2}} |
bos@37 | 99 |
bos@62 | 100 % Python function in a module. |
jerojasro@508 | 101 \newcommand{\pymodfunc}[2]{\index{\texttt{#1}, módulo!función \texttt{#2}}\texttt{#1.#2}} |
bos@62 | 102 |
bos@37 | 103 % Note: blah blah. |
bos@7 | 104 \newsavebox{\notebox} |
bos@11 | 105 \newenvironment{note}% |
jerojasro@350 | 106 {\begin{lrbox}{\notebox}\begin{minipage}{0.7\textwidth}\textbf{Nota:}\space}% |
bos@11 | 107 {\end{minipage}\end{lrbox}\fbox{\usebox{\notebox}}} |
jeffpc@56 | 108 \newenvironment{caution}% |
jerojasro@350 | 109 {\begin{lrbox}{\notebox}\begin{minipage}{0.7\textwidth}\textbf{Precaución:}\space}% |
jeffpc@56 | 110 {\end{minipage}\end{lrbox}\fbox{\usebox{\notebox}}} |
bos@7 | 111 |
bos@37 | 112 % Code sample, eating 4 characters of leading space. |
bos@4 | 113 \DefineVerbatimEnvironment{codesample4}{Verbatim}{frame=single,gobble=4,numbers=left,commandchars=\\\{\}} |
bos@37 | 114 |
bos@37 | 115 % Code sample, eating 2 characters of leading space. |
bos@37 | 116 \DefineVerbatimEnvironment{codesample2}{Verbatim}{frame=single,gobble=2,numbers=left,commandchars=\\\{\}} |
bos@37 | 117 |
bos@37 | 118 % Interaction from the examples directory. |
bos@146 | 119 \newcommand{\interaction}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{examples/#1.lxo}} |
bos@106 | 120 % Example code from the examples directory. |
bos@106 | 121 \newcommand{\excode}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{../examples/#1}} |
bos@106 | 122 |
bos@37 | 123 % Graphics inclusion. |
bos@11 | 124 \ifpdf |
jerojasro@390 | 125 \newcommand{\grafix}[2][]{\includegraphics[#1]{#2}} |
bos@11 | 126 \else |
bos@11 | 127 \newcommand{\grafix}[1]{\includegraphics{#1.png}} |
bos@11 | 128 \fi |
bos@11 | 129 |
bos@132 | 130 % Reference entry for a command. |
jerojasro@508 | 131 \newcommand{\cmdref}[2]{\section{\hgcmd{#1}---#2}\label{cmdref:#1}\index{\texttt{#1}, comando}} |
bos@132 | 132 |
bos@133 | 133 % Reference entry for a command option with long and short forms. |
jerojasro@508 | 134 \newcommand{\optref}[3]{\subsubsection{\hgopt{#1}{--#3}, también \hgopt{#1}{-#2}}} |
bos@133 | 135 |
bos@133 | 136 % Reference entry for a command option with only long form. |
jerojasro@508 | 137 \newcommand{\loptref}[2]{\subsubsection{opción \hgopt{#1}{--#2}}} |
bos@132 | 138 |
jerojasro@348 | 139 % command to generate a footnote to be used as a translator's note |
jerojasro@348 | 140 \newcommand{\ndt}[1]{\footnote{\textbf{N. del T.} #1}} |
jerojasro@348 | 141 |
jerojasro@348 | 142 |
bos@0 | 143 %%% Local Variables: |
bos@0 | 144 %%% mode: latex |
bos@0 | 145 %%% TeX-master: "00book" |
bos@0 | 146 %%% End: |