Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!hellgate.utah.edu!dog.ee.lbl.gov!ucbvax!CGRVAX.UWaterloo.CA!KATAN From: KATAN@CGRVAX.UWaterloo.CA ("Kim A. Tan") Newsgroups: comp.text.tex Subject: Bug in Doublespace.sty Message-ID: Date: 8 Mar 91 16:12:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 32 Dear LaTeX users, I found a small bug in the doublespace.sty. If you use the command \singlespace and then reissue \doublespace later in your LaTeX document, you will have a error that you ended you document without an \end{document}. The following is part of the original doublespace.sty: -----Cut-----Cut-----Cut-----Cut-----Cut-----Cut-----Cut-----Cut----- \def\onehalfspace{\spacing{1.5}} \let\endonehalfspace=\endspacing \def\doublespace{\spacing{2}} \let\doublespace=\endspacing %% ^^^^^^^^^^^ -----Cut-----Cut-----Cut-----Cut-----Cut-----Cut-----Cut-----Cut----- The following is the fix for the doublespace.sty: -----Cut-----Cut-----Cut-----Cut-----Cut-----Cut-----Cut-----Cut----- \def\onehalfspace{\spacing{1.5}} \let\endonehalfspace=\endspacing \def\doublespace{\spacing{2}} \let\enddoublespace=\endspacing %% ^^^^^^^^^^^ -----Cut-----Cut-----Cut-----Cut-----Cut-----Cut-----Cut-----Cut----- This solved my problem, hope this fix is correctly done. Since I am not an expert of TeX. --Kim