hgbook

diff en/99defs.tex @ 7:339e75288632

More progress on MQ chapter and general support.

Added a note environment.

Fixed generated HTML so it wouldn't use huge escaped entities for everything.

Wrote a small amount of actual content.
author Bryan O'Sullivan <bos@serpentine.com>
date Mon Jun 26 12:25:11 2006 -0700 (2006-06-26)
parents 33a2e7b9978d
children 76fc489c0e0b
line diff
     1.1 --- a/en/99defs.tex	Sun Jun 25 22:04:50 2006 -0700
     1.2 +++ b/en/99defs.tex	Mon Jun 26 12:25:11 2006 -0700
     1.3 @@ -4,6 +4,9 @@
     1.4  \newcommand{\hgcmd}[1]{``\texttt{hg #1}''}
     1.5  \newcommand{\hgcmdargs}[2]{``\texttt{hg #1 #2}''}
     1.6  
     1.7 +\newsavebox{\notebox}
     1.8 +\newenvironment{note}{\begin{lrbox}{\notebox}\begin{minipage}{\textwidth}\textbf{Note:}\space}{\end{minipage}\end{lrbox}\fbox{\usebox{\notebox}}}
     1.9 +
    1.10  \DefineVerbatimEnvironment{codesample4}{Verbatim}{frame=single,gobble=4,numbers=left,commandchars=\\\{\}}
    1.11  \newcommand{\interaction}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{examples/#1.out}}
    1.12