bos@4: \newcommand{\tildefile}[1]{\texttt{\~{}/#1}} bos@2: \newcommand{\filename}[1]{\texttt{#1}} bos@16: \newcommand{\dirname}[1]{\texttt{#1}} bos@16: \newcommand{\sfilename}[1]{\index{\texttt{#1} file}\texttt{#1}} bos@16: \newcommand{\sdirname}[1]{\index{\texttt{#1} directory}\texttt{#1}} bos@16: \newcommand{\hgext}[1]{\index{\texttt{#1} extension}\texttt{#1}} bos@16: \newcommand{\hgcmd}[1]{\index{\texttt{#1} command}``\texttt{hg #1}''} bos@16: \newcommand{\command}[1]{\index{\texttt{#1} command}\texttt{#1}} bos@16: \newcommand{\hgcmdargs}[2]{\index{\texttt{#1} command}``\texttt{hg #1 #2}''} bos@16: \newcommand{\hgopt}[2]{\index{\texttt{#1} command!\texttt{#2} option}``\texttt{#2}''} bos@16: \newcommand{\package}[1]{\index{\texttt{#1} package}\texttt{#1}} bos@0: bos@7: \newsavebox{\notebox} bos@11: \newenvironment{note}% bos@11: {\begin{lrbox}{\notebox}\begin{minipage}{0.7\textwidth}\textbf{Note:}\space}% bos@11: {\end{minipage}\end{lrbox}\fbox{\usebox{\notebox}}} bos@7: bos@4: \DefineVerbatimEnvironment{codesample4}{Verbatim}{frame=single,gobble=4,numbers=left,commandchars=\\\{\}} bos@4: \newcommand{\interaction}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{examples/#1.out}} bos@3: bos@11: \ifpdf bos@11: \newcommand{\grafix}[1]{\includegraphics[scale=0.2]{#1_pdf.png}} bos@11: \else bos@11: \newcommand{\grafix}[1]{\includegraphics{#1.png}} bos@11: \fi bos@11: bos@0: %%% Local Variables: bos@0: %%% mode: latex bos@0: %%% TeX-master: "00book" bos@0: %%% End: