if (par->size() || layout.keepempty) { 
                                par->breakParagraph(params, pos, 
                                                   
layout.isEnvironment());
                                par = par->next();
                                pos = 0;
                                space_inserted = true;
                        } else {
                                continue;
                        }
These two cases should not be handled the same. The first keeps you from
entering two new lines in a row. The second prevents you from having an
empty entry when used at the end of a documnent.
Consider:
Style FADE_OUT
  Margin                Dynamic
  LatexType             Command
  LatexName             fadeout
  ParIndent             ""
  ParSkip               0.8
  TopSep                1.0
  Align                 Left
  AlignPossible         Left
  KeepEmpty             1
  LabelType             Static
  LabelString           "FADE OUT "
End
This often comes just before [SPEAKER} THE END
FADE IN: is similar but may or may not have text following the colon.
The same situation occurs in letter.sty with Opening:
Garst


Reply via email to