rev |
line source |
bos@26
|
1 \newcommand{\bug}[1]{\index{Mercurial issue!no.~#1}\href{http://www.selenic.com/mercurial/bts/issue#1}{Mercurial issue no.~#1}}
|
bos@4
|
2 \newcommand{\tildefile}[1]{\texttt{\~{}/#1}}
|
bos@2
|
3 \newcommand{\filename}[1]{\texttt{#1}}
|
bos@16
|
4 \newcommand{\dirname}[1]{\texttt{#1}}
|
bos@16
|
5 \newcommand{\sfilename}[1]{\index{\texttt{#1} file}\texttt{#1}}
|
bos@16
|
6 \newcommand{\sdirname}[1]{\index{\texttt{#1} directory}\texttt{#1}}
|
bos@16
|
7 \newcommand{\hgext}[1]{\index{\texttt{#1} extension}\texttt{#1}}
|
bos@16
|
8 \newcommand{\hgcmd}[1]{\index{\texttt{#1} command}``\texttt{hg #1}''}
|
bos@16
|
9 \newcommand{\command}[1]{\index{\texttt{#1} command}\texttt{#1}}
|
bos@26
|
10 \newcommand{\cmdargs}[2]{\index{\texttt{#1} command}``\texttt{#1 #2}''}
|
bos@16
|
11 \newcommand{\hgcmdargs}[2]{\index{\texttt{#1} command}``\texttt{hg #1 #2}''}
|
bos@17
|
12 \newcommand{\hgopt}[2]{\index{\texttt{#1} command!\texttt{#2} option}\texttt{#2}}
|
bos@19
|
13 \newcommand{\cmdopt}[2]{\index{\texttt{#1} command!\texttt{#2} option}\texttt{#2}}
|
bos@27
|
14 \newcommand{\option}[1]{\texttt{#1}}
|
bos@16
|
15 \newcommand{\package}[1]{\index{\texttt{#1} package}\texttt{#1}}
|
bos@34
|
16 \newcommand{\rcsection}[1]{\index{\texttt{hgrc} file!\texttt{#1} section}\texttt{[#1]}}
|
bos@34
|
17 \newcommand{\rcitem}[2]{\index{\texttt{hgrc} file!\texttt{#1}
|
bos@34
|
18 section!\texttt{#2} entry}\texttt{#1.#2}}
|
bos@34
|
19 \newcommand{\hgrc}{\index{\texttt{hgrc} file}\texttt{hgrc}}
|
bos@34
|
20 \newcommand{\hook}[1]{\index{\texttt{#1} hook}\index{hooks!\texttt{#1}}\texttt{#1}}
|
bos@34
|
21 \newcommand{\envar}[1]{\index{\texttt{#1} environment
|
bos@34
|
22 variable}\index{environment variables!\texttt{#1}}\texttt{#1}}
|
bos@0
|
23
|
bos@7
|
24 \newsavebox{\notebox}
|
bos@11
|
25 \newenvironment{note}%
|
bos@11
|
26 {\begin{lrbox}{\notebox}\begin{minipage}{0.7\textwidth}\textbf{Note:}\space}%
|
bos@11
|
27 {\end{minipage}\end{lrbox}\fbox{\usebox{\notebox}}}
|
jeffpc@56
|
28 \newenvironment{caution}%
|
jeffpc@56
|
29 {\begin{lrbox}{\notebox}\begin{minipage}{0.7\textwidth}\textbf{Caution:}\space}%
|
jeffpc@56
|
30 {\end{minipage}\end{lrbox}\fbox{\usebox{\notebox}}}
|
bos@7
|
31
|
bos@4
|
32 \DefineVerbatimEnvironment{codesample4}{Verbatim}{frame=single,gobble=4,numbers=left,commandchars=\\\{\}}
|
bos@4
|
33 \newcommand{\interaction}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{examples/#1.out}}
|
bos@3
|
34
|
bos@11
|
35 \ifpdf
|
bos@11
|
36 \newcommand{\grafix}[1]{\includegraphics[scale=0.2]{#1_pdf.png}}
|
bos@11
|
37 \else
|
bos@11
|
38 \newcommand{\grafix}[1]{\includegraphics{#1.png}}
|
bos@11
|
39 \fi
|
bos@11
|
40
|
bos@0
|
41 %%% Local Variables:
|
bos@0
|
42 %%% mode: latex
|
bos@0
|
43 %%% TeX-master: "00book"
|
bos@0
|
44 %%% End:
|