On 12/10/2012 10:45 a.m., stefano franchi wrote:
On Thu, Oct 11, 2012 at 2:32 PM, Richard Heck <[email protected]> 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.

Later: I've just done a couple of experiments with one of my own layouts and changed the DefaultStyle specification to Itemize in one case and Paragraph in the other. Each new paragraph I started turned into either an Itemized list or a Paragraph kind of paragraph.

Andrew

Reply via email to