
diff -r 796c6ea633b3 -r 5f003fdf2653 CookBook/document/root.tex
--- a/CookBook/document/root.tex	Sat Feb 14 00:24:05 2009 +0000
+++ b/CookBook/document/root.tex	Sat Feb 14 13:20:21 2009 +0000
@@ -84,16 +84,16 @@
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % for code that has line numbers
-\newenvironment{linenos}{\resetlinenumber\internallinenumbers}{\nolinenumbers}
+\newenvironment{linenos}{\resetlinenumber\internallinenumbers}{\par\nolinenumbers}
 
 \isakeeptag{linenos}
 \renewcommand{\isataglinenos}{\begin{linenos}}
-\renewcommand{\endisataglinenos}{\par\end{linenos}}
+\renewcommand{\endisataglinenos}{\end{linenos}}
 
 % should only be used in ML code
 \isakeeptag{linenosgray}
 \renewcommand{\isataglinenosgray}{\begin{vanishML}\begin{graybox}\begin{linenos}}
-\renewcommand{\endisataglinenosgray}{\par\end{linenos}\end{graybox}\end{vanishML}}
+\renewcommand{\endisataglinenosgray}{\end{linenos}\end{graybox}\end{vanishML}}
 
 \isakeeptag{small}
 \renewcommand{\isatagsmall}{\begingroup\small}




