annotate ja/99defs.tex @ 365:427e0fed6d5e

started tour-merge.tex
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 20 Oct 2008 17:22:47 +0900
parents 32d33b238b7e
children 64858a216741
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
1 % Bug ID.
348
32d33b238b7e made changes to the source files to be compiled at any rate.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 293
diff changeset
2 %\newcommand{\bug}[1]{\index{Mercurial bug database!
32d33b238b7e made changes to the source files to be compiled at any rate.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 293
diff changeset
3 %\href{http://www.selenic.com/mercurial/bts/issue#1}{bug ~#1}}\href{http://www.selenic.com/mercurial/bts/issue#1}{Mercurial bug no.~#1}}
32d33b238b7e made changes to the source files to be compiled at any rate.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 293
diff changeset
4
32d33b238b7e made changes to the source files to be compiled at any rate.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 293
diff changeset
5 \newcommand{\bug}[1]{\href{http://www.selenic.com/mercurial/bts/issue#1}{Mercurial bug no.~#1}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
6
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
7 % File name in the user's home directory.
4
33a2e7b9978d Make it possible to include example input and output from real programs.
Bryan O'Sullivan <bos@serpentine.com>
parents: 3
diff changeset
8 \newcommand{\tildefile}[1]{\texttt{\~{}/#1}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
9
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
10 % File name.
2
379a802c0210 Add bibliography.
Bryan O'Sullivan <bos@serpentine.com>
parents: 0
diff changeset
11 \newcommand{\filename}[1]{\texttt{#1}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
12
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
13 % Directory name.
16
81454425eee9 Progress on a few fronts, mainly indexing and MQ chapter content
Bryan O'Sullivan <bos@serpentine.com>
parents: 14
diff changeset
14 \newcommand{\dirname}[1]{\texttt{#1}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
15
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
16 % File name, with index entry.
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
17 % The ``s'' prefix comes from ``special''.
16
81454425eee9 Progress on a few fronts, mainly indexing and MQ chapter content
Bryan O'Sullivan <bos@serpentine.com>
parents: 14
diff changeset
18 \newcommand{\sfilename}[1]{\index{\texttt{#1} file}\texttt{#1}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
19
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
20 % Directory name, with index entry.
16
81454425eee9 Progress on a few fronts, mainly indexing and MQ chapter content
Bryan O'Sullivan <bos@serpentine.com>
parents: 14
diff changeset
21 \newcommand{\sdirname}[1]{\index{\texttt{#1} directory}\texttt{#1}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
22
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
23 % Mercurial extension.
16
81454425eee9 Progress on a few fronts, mainly indexing and MQ chapter content
Bryan O'Sullivan <bos@serpentine.com>
parents: 14
diff changeset
24 \newcommand{\hgext}[1]{\index{\texttt{#1} extension}\texttt{#1}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
25
230
f83281da4122 Add new commands for commands and options provided by extensions.
Bryan O'Sullivan <bos@serpentine.com>
parents: 184
diff changeset
26 % Command provided by a Mercurial extension.
f83281da4122 Add new commands for commands and options provided by extensions.
Bryan O'Sullivan <bos@serpentine.com>
parents: 184
diff changeset
27 \newcommand{\hgxcmd}[2]{\index{\texttt{#2} command (\texttt{#1}
f83281da4122 Add new commands for commands and options provided by extensions.
Bryan O'Sullivan <bos@serpentine.com>
parents: 184
diff changeset
28 extension)}\index{\texttt{#1} extension!\texttt{#2} command}``\texttt{hg #2}''}
f83281da4122 Add new commands for commands and options provided by extensions.
Bryan O'Sullivan <bos@serpentine.com>
parents: 184
diff changeset
29
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
30 % Mercurial command.
16
81454425eee9 Progress on a few fronts, mainly indexing and MQ chapter content
Bryan O'Sullivan <bos@serpentine.com>
parents: 14
diff changeset
31 \newcommand{\hgcmd}[1]{\index{\texttt{#1} command}``\texttt{hg #1}''}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
32
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
33 % Mercurial command, with arguments.
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
34 \newcommand{\hgcmdargs}[2]{\index{\texttt{#1} command}``\texttt{hg #1 #2}''}
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
35
80
ea951cfb5cd9 Much template-related content.
Bryan O'Sullivan <bos@serpentine.com>
parents: 62
diff changeset
36 \newcommand{\tplkword}[1]{\index{\texttt{#1} template keyword}\index{template keywords!\texttt{#1}}\texttt{#1}}
ea951cfb5cd9 Much template-related content.
Bryan O'Sullivan <bos@serpentine.com>
parents: 62
diff changeset
37
ea951cfb5cd9 Much template-related content.
Bryan O'Sullivan <bos@serpentine.com>
parents: 62
diff changeset
38 \newcommand{\tplkwfilt}[2]{\index{\texttt{#1} template keyword!\texttt{#2}
ea951cfb5cd9 Much template-related content.
Bryan O'Sullivan <bos@serpentine.com>
parents: 62
diff changeset
39 filter}\index{template filters!\texttt{#2}}\index{\texttt{#2}
ea951cfb5cd9 Much template-related content.
Bryan O'Sullivan <bos@serpentine.com>
parents: 62
diff changeset
40 template filter}\texttt{#2}}
ea951cfb5cd9 Much template-related content.
Bryan O'Sullivan <bos@serpentine.com>
parents: 62
diff changeset
41
ea951cfb5cd9 Much template-related content.
Bryan O'Sullivan <bos@serpentine.com>
parents: 62
diff changeset
42 \newcommand{\tplfilter}[1]{\index{template
ea951cfb5cd9 Much template-related content.
Bryan O'Sullivan <bos@serpentine.com>
parents: 62
diff changeset
43 filters!\texttt{#1}}\index{\texttt{#1} template
ea951cfb5cd9 Much template-related content.
Bryan O'Sullivan <bos@serpentine.com>
parents: 62
diff changeset
44 filter}\texttt{#1}}
ea951cfb5cd9 Much template-related content.
Bryan O'Sullivan <bos@serpentine.com>
parents: 62
diff changeset
45
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
46 % Shell/system command.
237
28bd9ab3edbf Distinguish system from Mercurial commands in the index.
Bryan O'Sullivan <bos@serpentine.com>
parents: 230
diff changeset
47 \newcommand{\command}[1]{\index{\texttt{#1} system command}\texttt{#1}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
48
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
49 % Shell/system command, with arguments.
283
4ed483f08e33 Mention how to define mq alias.
Faheem Mitha <faheem@email.unc.edu>
parents: 237
diff changeset
50 \newcommand{\cmdargs}[2]{\index{\texttt{#1} system command}``\texttt{#1 #2}''}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
51
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
52 % Mercurial command option.
17
2668e15c76e9 MQ: write up patch rebasing.
Bryan O'Sullivan <bos@serpentine.com>
parents: 16
diff changeset
53 \newcommand{\hgopt}[2]{\index{\texttt{#1} command!\texttt{#2} option}\texttt{#2}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
54
230
f83281da4122 Add new commands for commands and options provided by extensions.
Bryan O'Sullivan <bos@serpentine.com>
parents: 184
diff changeset
55 % Mercurial command option, provided by an extension command.
f83281da4122 Add new commands for commands and options provided by extensions.
Bryan O'Sullivan <bos@serpentine.com>
parents: 184
diff changeset
56 \newcommand{\hgxopt}[3]{\index{\texttt{#2} command (\texttt{#1} extension)!\texttt{#3} option}\index{\texttt{#1} extension!\texttt{#2} command!\texttt{#3} option}\texttt{#3}}
f83281da4122 Add new commands for commands and options provided by extensions.
Bryan O'Sullivan <bos@serpentine.com>
parents: 184
diff changeset
57
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
58 % Mercurial global option.
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
59 \newcommand{\hggopt}[1]{\index{global options!\texttt{#1} option}\texttt{#1}}
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
60
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
61 % Shell/system command option.
19
187702df428b Piles of new content for MQ chapter - cookbook stuff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 17
diff changeset
62 \newcommand{\cmdopt}[2]{\index{\texttt{#1} command!\texttt{#2} option}\texttt{#2}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
63
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
64 % Command option.
27
535e87792eb1 More MQ content and examples.
Bryan O'Sullivan <bos@serpentine.com>
parents: 26
diff changeset
65 \newcommand{\option}[1]{\texttt{#1}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
66
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
67 % Software package.
16
81454425eee9 Progress on a few fronts, mainly indexing and MQ chapter content
Bryan O'Sullivan <bos@serpentine.com>
parents: 14
diff changeset
68 \newcommand{\package}[1]{\index{\texttt{#1} package}\texttt{#1}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
69
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
70 % Section name from a hgrc file.
34
c0979ed1eabd Get started on hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 27
diff changeset
71 \newcommand{\rcsection}[1]{\index{\texttt{hgrc} file!\texttt{#1} section}\texttt{[#1]}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
72
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
73 % Named item in a hgrc file section.
34
c0979ed1eabd Get started on hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 27
diff changeset
74 \newcommand{\rcitem}[2]{\index{\texttt{hgrc} file!\texttt{#1}
62
8806b2875f10 Finish off a big whack of content for the hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 59
diff changeset
75 section!\texttt{#2} entry}\texttt{#2}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
76
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
77 % hgrc file.
348
32d33b238b7e made changes to the source files to be compiled at any rate.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 293
diff changeset
78 \newcommand{\hgrc}{\index{configuration
32d33b238b7e made changes to the source files to be compiled at any rate.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 293
diff changeset
79 file!\texttt{hgrc}(Linux/Unix)}\index{\texttt{hgrc} configuration
32d33b238b7e made changes to the source files to be compiled at any rate.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 293
diff changeset
80 file}\texttt{hgrc}}
32d33b238b7e made changes to the source files to be compiled at any rate.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 293
diff changeset
81
184
7b812c428074 Document the ssh protocol, URL syntax, and configuration.
Bryan O'Sullivan <bos@serpentine.com>
parents: 146
diff changeset
82
7b812c428074 Document the ssh protocol, URL syntax, and configuration.
Bryan O'Sullivan <bos@serpentine.com>
parents: 146
diff changeset
83 % Mercurial.ini file.
7b812c428074 Document the ssh protocol, URL syntax, and configuration.
Bryan O'Sullivan <bos@serpentine.com>
parents: 146
diff changeset
84 \newcommand{\hgini}{\index{configuration file!\texttt{Mercurial.ini}
7b812c428074 Document the ssh protocol, URL syntax, and configuration.
Bryan O'Sullivan <bos@serpentine.com>
parents: 146
diff changeset
85 (Windows)}\index{\texttt{Mercurial.ini} configuration file}\texttt{Mercurial.ini}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
86
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
87 % Hook name.
34
c0979ed1eabd Get started on hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 27
diff changeset
88 \newcommand{\hook}[1]{\index{\texttt{#1} hook}\index{hooks!\texttt{#1}}\texttt{#1}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
89
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
90 % Environment variable.
34
c0979ed1eabd Get started on hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 27
diff changeset
91 \newcommand{\envar}[1]{\index{\texttt{#1} environment
c0979ed1eabd Get started on hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 27
diff changeset
92 variable}\index{environment variables!\texttt{#1}}\texttt{#1}}
0
76fba5835a1b Beginnings of a build process and file layout.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
93
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
94 % Python module.
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
95 \newcommand{\pymod}[1]{\index{\texttt{#1} module}\texttt{#1}}
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
96
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
97 % Python class in a module.
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
98 \newcommand{\pymodclass}[2]{\index{\texttt{#1} module!\texttt{#2}
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
99 class}\texttt{#1.#2}}
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
100
62
8806b2875f10 Finish off a big whack of content for the hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 59
diff changeset
101 % Python function in a module.
8806b2875f10 Finish off a big whack of content for the hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 59
diff changeset
102 \newcommand{\pymodfunc}[2]{\index{\texttt{#1} module!\texttt{#2}
8806b2875f10 Finish off a big whack of content for the hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 59
diff changeset
103 function}\texttt{#1.#2}}
8806b2875f10 Finish off a big whack of content for the hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 59
diff changeset
104
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
105 % Note: blah blah.
7
339e75288632 More progress on MQ chapter and general support.
Bryan O'Sullivan <bos@serpentine.com>
parents: 4
diff changeset
106 \newsavebox{\notebox}
11
e9d5b4c3d16b First SVG image!
Bryan O'Sullivan <bos@serpentine.com>
parents: 9
diff changeset
107 \newenvironment{note}%
e9d5b4c3d16b First SVG image!
Bryan O'Sullivan <bos@serpentine.com>
parents: 9
diff changeset
108 {\begin{lrbox}{\notebox}\begin{minipage}{0.7\textwidth}\textbf{Note:}\space}%
e9d5b4c3d16b First SVG image!
Bryan O'Sullivan <bos@serpentine.com>
parents: 9
diff changeset
109 {\end{minipage}\end{lrbox}\fbox{\usebox{\notebox}}}
56
b8539d91c84d Begining of concepts chapter
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 34
diff changeset
110 \newenvironment{caution}%
b8539d91c84d Begining of concepts chapter
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 34
diff changeset
111 {\begin{lrbox}{\notebox}\begin{minipage}{0.7\textwidth}\textbf{Caution:}\space}%
b8539d91c84d Begining of concepts chapter
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 34
diff changeset
112 {\end{minipage}\end{lrbox}\fbox{\usebox{\notebox}}}
7
339e75288632 More progress on MQ chapter and general support.
Bryan O'Sullivan <bos@serpentine.com>
parents: 4
diff changeset
113
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
114 % Code sample, eating 4 characters of leading space.
4
33a2e7b9978d Make it possible to include example input and output from real programs.
Bryan O'Sullivan <bos@serpentine.com>
parents: 3
diff changeset
115 \DefineVerbatimEnvironment{codesample4}{Verbatim}{frame=single,gobble=4,numbers=left,commandchars=\\\{\}}
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
116
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
117 % Code sample, eating 2 characters of leading space.
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
118 \DefineVerbatimEnvironment{codesample2}{Verbatim}{frame=single,gobble=2,numbers=left,commandchars=\\\{\}}
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
119
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
120 % Interaction from the examples directory.
146
65f6f9d18fa1 Oops! I forgot that I need the undoctored output files in the book!
Bryan O'Sullivan <bos@serpentine.com>
parents: 133
diff changeset
121 \newcommand{\interaction}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{examples/#1.lxo}}
106
9cbc5d0db542 Finish off advanced MQ chapter (maybe).
Bryan O'Sullivan <bos@serpentine.com>
parents: 103
diff changeset
122 % Example code from the examples directory.
9cbc5d0db542 Finish off advanced MQ chapter (maybe).
Bryan O'Sullivan <bos@serpentine.com>
parents: 103
diff changeset
123 \newcommand{\excode}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{../examples/#1}}
9cbc5d0db542 Finish off advanced MQ chapter (maybe).
Bryan O'Sullivan <bos@serpentine.com>
parents: 103
diff changeset
124
37
9fd0c59b009a Add to hook chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 35
diff changeset
125 % Graphics inclusion.
348
32d33b238b7e made changes to the source files to be compiled at any rate.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 293
diff changeset
126 %\ifpdf
103
5b80c922ebdd More merge content.
Bryan O'Sullivan <bos@serpentine.com>
parents: 80
diff changeset
127 \newcommand{\grafix}[1]{\includegraphics{#1}}
348
32d33b238b7e made changes to the source files to be compiled at any rate.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 293
diff changeset
128 %\else
32d33b238b7e made changes to the source files to be compiled at any rate.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 293
diff changeset
129 % \newcommand{\grafix}[1]{\includegraphics{#1.png}}
32d33b238b7e made changes to the source files to be compiled at any rate.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 293
diff changeset
130 %\fi
11
e9d5b4c3d16b First SVG image!
Bryan O'Sullivan <bos@serpentine.com>
parents: 9
diff changeset
131
132
e1e2f3e0256a Start command reference, with the diff command.
Bryan O'Sullivan <bos@serpentine.com>
parents: 106
diff changeset
132 % Reference entry for a command.
133
1e013fbe35f7 Lots of filename related content. A little more command reference
Bryan O'Sullivan <bos@serpentine.com>
parents: 132
diff changeset
133 \newcommand{\cmdref}[2]{\section{\hgcmd{#1}---#2}\label{cmdref:#1}\index{\texttt{#1} command}}
132
e1e2f3e0256a Start command reference, with the diff command.
Bryan O'Sullivan <bos@serpentine.com>
parents: 106
diff changeset
134
133
1e013fbe35f7 Lots of filename related content. A little more command reference
Bryan O'Sullivan <bos@serpentine.com>
parents: 132
diff changeset
135 % Reference entry for a command option with long and short forms.
1e013fbe35f7 Lots of filename related content. A little more command reference
Bryan O'Sullivan <bos@serpentine.com>
parents: 132
diff changeset
136 \newcommand{\optref}[3]{\subsubsection{\hgopt{#1}{--#3}, also \hgopt{#1}{-#2}}}
1e013fbe35f7 Lots of filename related content. A little more command reference
Bryan O'Sullivan <bos@serpentine.com>
parents: 132
diff changeset
137
1e013fbe35f7 Lots of filename related content. A little more command reference
Bryan O'Sullivan <bos@serpentine.com>
parents: 132
diff changeset
138 % Reference entry for a command option with only long form.
1e013fbe35f7 Lots of filename related content. A little more command reference
Bryan O'Sullivan <bos@serpentine.com>
parents: 132
diff changeset
139 \newcommand{\loptref}[2]{\subsubsection{\hgopt{#1}{--#2} option}}
132
e1e2f3e0256a Start command reference, with the diff command.
Bryan O'Sullivan <bos@serpentine.com>
parents: 106
diff changeset
140
348
32d33b238b7e made changes to the source files to be compiled at any rate.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 293
diff changeset
141 %%% Local Variables:
293
3b1291f24c0d - replaved latex-mode to yatex-mode
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 290
diff changeset
142 %%% mode: yatex
0
76fba5835a1b Beginnings of a build process and file layout.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
143 %%% TeX-master: "00book"
348
32d33b238b7e made changes to the source files to be compiled at any rate.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 293
diff changeset
144 %%% End: