X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/2ba6e0bde273dd3fd6c1288f53edf7b96f6442d1..f1f17867ed7a610cc19c3c6378b165a65f35c320:/doc/sod.sty

diff --git a/doc/sod.sty b/doc/sod.sty
index 54d8c53..ff63620 100644
--- a/doc/sod.sty
+++ b/doc/sod.sty
@@ -127,6 +127,7 @@
 
 %% Put a chunk of text in a box.
 \newenvironment{boxy}[1][\q@]{%
+  \savenotes
   \dimen@\linewidth\advance\dimen@-1.2pt\advance\dimen@-2ex%
   \medskip%
   \vbox\bgroup\hrule\hbox\bgroup\vrule%
@@ -136,6 +137,7 @@
   \endminipage\hskip1ex\egroup\vskip1ex\egroup%
   \vrule\egroup\hrule\egroup%
   \medskip%
+  \spewnotes%
 }
 
 %% Lisp documentation machinery.
@@ -178,5 +180,5 @@
   \endlist%
 }
 
-%%% ----- That's all, folks --------------------------------------------------
-\endinput
\ No newline at end of file
+%%%----- That's all, folks --------------------------------------------------
+\endinput
