Re: nesting error

"Scott Prahl" <[email protected]> Thu, 27 Sep 2007 12:43:55 -0700
Newsgroups gmane.comp.tex.latex.latex2rtf.devel
Message-ID <[email protected]>
On Sep 27, 2007, at 11:30 AM, Adam R. Maxwell wrote:

> I'm getting a brace nesting error in one of my files (minimal  
> example follows).  I'd take a shot at fixing it, but I'm not sure  
> where to look.  Any ideas?  If I remove the begin/end doublespace,  
> the problem goes away.

Resolved in revision 703 (no double space, but no error any more).

Basically, somewhere in the bowels of the horrific subroutine  
getSection(), nested environments fail to work.  There is probably a  
general fix, but this patch should get you going.

Scott

>
> \documentclass[10pt]{article}
> \usepackage{setspace}
>
> \begin{document}
>
> \begin{doublespace}
>
> \section{Introduction}
> Test.
>
> \end{doublespace}
>
> \end{document}


Index: commands.c
===================================================================
--- commands.c  (revision 702)
+++ commands.c  (working copy)
@@ -891,6 +891,7 @@
      {"theindex", CmdIgnoreEnviron, 0},
      {"landscape", CmdTolerateEnviron, 0},
      {"sloppypar", CmdTolerateEnviron, 0},
+    {"doublespace", CmdTolerateEnviron, 0},
      {"", NULL, 0}
  };                              /* end of list */


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/