hgbook
view es/99defs.tex @ 890:2887b61fa4fe
Change fields to fieldsets in the Comment admin model. The 'date'
field isn't working properly for an unknown reason, so it has been
removed from the interface temporarily.
field isn't working properly for an unknown reason, so it has been
removed from the interface temporarily.
author | dukebody <dukebody@gmail.com> |
---|---|
date | Sun Oct 11 21:12:46 2009 +0200 (2009-10-11) |
parents | c3a867bba34a |
children |
line source
1 % Bug ID.
2 \newcommand{\bug}[1]{\index{Base de datos de fallos de Mercurial
3 !\href{http://www.selenic.com/mercurial/bts/issue#1}{fallo
4 ~#1}}\href{http://www.selenic.com/mercurial/bts/issue#1}{Fallo de
5 Mercurial No.~#1}}
7 % File name in the user's home directory.
8 \newcommand{\tildefile}[1]{\texttt{\~{}/#1}}
10 % File name.
11 \newcommand{\filename}[1]{\texttt{#1}}
13 % Directory name.
14 \newcommand{\dirname}[1]{\texttt{#1}}
16 % File name, with index entry.
17 % The ``s'' prefix comes from ``special''.
18 \newcommand{\sfilename}[1]{\index{\texttt{#1}, fichero}\texttt{#1}}
20 % Directory name, with index entry.
21 \newcommand{\sdirname}[1]{\index{\texttt{#1}, directorio}\texttt{#1}}
23 % Mercurial extension.
24 \newcommand{\hgext}[1]{\index{\texttt{#1}, extensi\'on}\texttt{#1}}
26 % Command provided by a Mercurial extension.
27 \newcommand{\hgxcmd}[2]{\index{\texttt{#2}, comando (extensi\'on
28 \texttt{#1})}\index{\texttt{#1}, extensi\'on!comando \texttt{#2}}``\texttt{hg #2}''}
30 % Mercurial command.
31 \newcommand{\hgcmd}[1]{\index{\texttt{#1}, comando}``\texttt{hg #1}''}
33 % Mercurial command, with arguments.
34 \newcommand{\hgcmdargs}[2]{\index{\texttt{#1}, comando}``\texttt{hg #1 #2}''}
36 \newcommand{\tplkword}[1]{\index{\texttt{#1}, palabra clave de
37 plantilla}\index{palabras clave de plantilla!\texttt{#1}}\texttt{#1}}
39 \newcommand{\tplkwfilt}[2]{\index{\texttt{#1}, palabra clave de plantilla!filtro
40 \texttt{#2}}\index{filtros de plantilla!\texttt{#2}}\index{\texttt{#2}, filtro
41 de plantilla}\texttt{#2}}
43 \newcommand{\tplfilter}[1]{\index{filtros de
44 plantilla!\texttt{#1}}\index{\texttt{#1}, filtro de plantilla}\texttt{#1}}
46 % Shell/system command.
47 \newcommand{\command}[1]{\index{\texttt{#1}, comando de sistema}\texttt{#1}}
49 % Shell/system command, with arguments.
50 \newcommand{\cmdargs}[2]{\index{\texttt{#1} comando de sistema}``\texttt{#1 #2}''}
52 % Mercurial command option.
53 \newcommand{\hgopt}[2]{\index{\texttt{#1}, comando!opción \texttt{#2}}\texttt{#2}}
55 % Mercurial command option, provided by an extension command.
56 \newcommand{\hgxopt}[3]{\index{\texttt{#2}, comando (extensión
57 \texttt{#1})!opción \texttt{#3}}\index{\texttt{#1}, extensión!comando
58 \texttt{#2}!opción\texttt{#3}}\texttt{#3}}
60 % Mercurial global option.
61 \newcommand{\hggopt}[1]{\index{opciones globales!opción \texttt{#1}}\texttt{#1}}
63 % Shell/system command option.
64 \newcommand{\cmdopt}[2]{\index{\texttt{#1}, comando!opción \texttt{#2}}\texttt{#2}}
66 % Command option.
67 \newcommand{\option}[1]{\texttt{#1}}
69 % Software package.
70 \newcommand{\package}[1]{\index{\texttt{#1}, paquete}\texttt{#1}}
72 % Section name from a hgrc file.
73 \newcommand{\rcsection}[1]{\index{\texttt{hgrc}, fichero!sección \texttt{#1}}\texttt{[#1]}}
75 % Named item in a hgrc file section.
76 \newcommand{\rcitem}[2]{\index{\texttt{hgrc}, fichero!sección
77 \texttt{#1}!entrada \texttt{#2}}\texttt{#2}}
79 % hgrc file.
80 \newcommand{\hgrc}{\index{fichero de configuración!\texttt{hgrc}
81 (Linux/Unix)}\index{\texttt{hgrc}, fichero de configuración}\texttt{hgrc}}
83 % Mercurial.ini file.
84 \newcommand{\hgini}{\index{fichero de configuración!\texttt{Mercurial.ini}
85 (Windows)}\index{\texttt{Mercurial.ini}, fichero de configuración}\texttt{Mercurial.ini}}
87 % Hook name.
88 \newcommand{\hook}[1]{\index{\texttt{#1}, gancho}\index{ganchos!\texttt{#1}}\texttt{#1}}
90 % Environment variable.
91 \newcommand{\envar}[1]{\index{\texttt{#1}, variable de entorno}\index{variables
92 de entorno!\texttt{#1}}\texttt{#1}}
94 % Python module.
95 \newcommand{\pymod}[1]{\index{\texttt{#1}, módulo}\texttt{#1}}
97 % Python class in a module.
98 \newcommand{\pymodclass}[2]{\index{\texttt{#1}, módulo!clase \texttt{#2}}\texttt{#1.#2}}
100 % Python function in a module.
101 \newcommand{\pymodfunc}[2]{\index{\texttt{#1}, módulo!función \texttt{#2}}\texttt{#1.#2}}
103 % Note: blah blah.
104 \newsavebox{\notebox}
105 \newenvironment{note}%
106 {\begin{lrbox}{\notebox}\begin{minipage}{0.7\textwidth}\textbf{Nota:}\space}%
107 {\end{minipage}\end{lrbox}\fbox{\usebox{\notebox}}}
108 \newenvironment{caution}%
109 {\begin{lrbox}{\notebox}\begin{minipage}{0.7\textwidth}\textbf{Precaución:}\space}%
110 {\end{minipage}\end{lrbox}\fbox{\usebox{\notebox}}}
112 % Code sample, eating 4 characters of leading space.
113 \DefineVerbatimEnvironment{codesample4}{Verbatim}{frame=single,gobble=4,numbers=left,commandchars=\\\{\}}
115 % Code sample, eating 2 characters of leading space.
116 \DefineVerbatimEnvironment{codesample2}{Verbatim}{frame=single,gobble=2,numbers=left,commandchars=\\\{\}}
118 % Interaction from the examples directory.
119 \newcommand{\interaction}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{examples/#1.lxo}}
120 % Example code from the examples directory.
121 \newcommand{\excode}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{../examples/#1}}
123 % Graphics inclusion.
124 \ifpdf
125 \newcommand{\grafix}[2][]{\includegraphics[#1]{#2}}
126 \else
127 \newcommand{\grafix}[1]{\includegraphics{#1.png}}
128 \fi
130 % Reference entry for a command.
131 \newcommand{\cmdref}[2]{\section{\hgcmd{#1}---#2}\label{cmdref:#1}\index{\texttt{#1}, comando}}
133 % Reference entry for a command option with long and short forms.
134 \newcommand{\optref}[3]{\subsubsection{\hgopt{#1}{--#3}, también \hgopt{#1}{-#2}}}
136 % Reference entry for a command option with only long form.
137 \newcommand{\loptref}[2]{\subsubsection{opción \hgopt{#1}{--#2}}}
139 % command to generate a footnote to be used as a translator's note
140 \newcommand{\ndt}[1]{\footnote{\textbf{N. del T.} #1}}
143 %%% Local Variables:
144 %%% mode: latex
145 %%% TeX-master: "00book"
146 %%% End: