On Friday 14 September 2001 17:15, Jose Abilio Oliveira Matos wrote:
> On Fri, Sep 14, 2001 at 05:35:32PM +0200, Jean-Marc Lasgouttes wrote:
>
> > Is that only with docbook documents (I do not have the relevant tools,
> > so I do not have docbook claases installed)? I cannot reproduce it.
>
> There is nothing specific to docbook classes here.
>
> > Maybe am I just stupid (something that cannot be ruled out).
>
> Since I know you it should be my explanation.
>
> > Jose> Playing with that I saw that the include inset inserts a new
> > Jose> paragraph just for it. Is this necessary?
> >
> > I do not see that either. I _must_ be stupid.
>
> * Open a new file.
> * Write "blah blah" in the first paragraph
> * Change that paragraph style to Section
> * Go to the middle of the sentence and insert the include inset there
> * Et voilą... you have now 3! paragraphs, the first one is Section, the
> second one is Standard, and the third one is Section again.
>
> Incidentally this proves that I can count up to three, I can't claim
more...
>
> > Jose> This explains why it reverts to Standard, by default the new
> > Jose> paragraph goes to Standard.
> >
> > It may be.
> >
> > Jose> Ok, what do you propose to go in lyxinset.h
> >
> > Jose> bool out_paragraph; and corresponding get/setter methods?
> >
> > Would you care holding my hand with a step by step example so that I
> > can see what you see?
>
> Do you see what I mean? DYSWIM
>
Not here. I get this
Angus
#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\layout Section
blah
\begin_inset Include \include{/usr/users/aleem/docs/fonts.lyx}
\end_inset
blah
\the_end