* Preamble * Use this at the start of any standalone dyndoc <> tempname pwd ls local `pwd' = c(pwd) local `ls' = c(linesize) set graphics off preserve <> * Epilogue * Use this at the end of any standalone dyndoc that has a Preamble <> cd `"``pwd''"' set linesize ``ls'' set graphics on restore <> * Graphics Preamble * Set up for detecting change in Graph window <> capture graph describe Graph tempname gdate local `gdate' = "`r(command_date)' `r(command_time)'" <>