On Fri, 12 Oct 2012 13:49:08 +1300, Andrew Parsloe said:
> 
> On 12/10/2012 10:45 a.m., stefano franchi wrote:
> > On Thu, Oct 11, 2012 at 2:32 PM, Richard Heck <rgh...@lyx.org>
> > wrote:
> >> On 10/11/2012 04:47 AM, Steve Litt wrote:
> >>>
> >>> On Wed, 10 Oct 2012 21:53:34 -0400, Steve Litt said:
> >>>
> >>> Putting "LatexType Environment" in the LyX definition causes the
> >>> next paragraph to be of the same environment as the current one.
> >>> This doesn't give me the feature of the next paragraph after a
> >>> DiaryHeader being a DiaryParagraph, but at least consecutive
> >>> DiaryParagraphs are automatically the same style.
> >>>
> >> I don't think we have a "NextStyle" tag, but it would be useful.
> >> File an enhancement request if you wish.
> >
> > Richard,
> >
> > is the behavior of the sectioning environments hardcoded then? They
> > do return to the "Standard" environment on the next paragraph, even
> > though the stdsections.inc layout file does not mention any
> > "NextStyle" tag, as you said.
> >
> > S.
> >
> Wouldn't putting
> 
> DefaultStyle DiaryParagraphs
> 
> in the layout have the desired effect? As I understand it, that would 
> mean a paragraph following DiaryHeader would automatically be in 
> DiaryParagraphs style.

No. DefaultStyle is a global setting that defaults the next paragraph
to a certain environment, REGARDLESS of the current environment. What
we're talking about is, for a specific environment, specifying what
environment the next paragraph will default to. I tried -- you can't
put DefaultStyle within a style.

SteveT

Steve Litt                *  http://www.troubleshooters.com/
                          *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance

Reply via email to