> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> I think I prefer this for now. The above sounds very
Juergen> sensible, but I do not understand the toclevel thing
Juergen> completely. Please feel free to adjust it to your plans.
OK, go ahead.
JMarc
Jean-Marc Lasgouttes wrote:
> Juergen> What do you think?
>
> I think that it is possible to iterate over the QListView entries with
> first/nextSibling, and that it is easy to iterate over a lyxtextclass
> (using the built-in operator) and extract the list of layouts that
> have TocLevel >= 0.
>
>
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> It is sufficient to "shift" part one step up in my case
Juergen> (i.e., to the chapter position, when there is no chapter).
Juergen> tocdepth and secnumdepth are using the same values for
Juergen> section--subparagraph in
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
>> - If we wanted to be really smart, we should get the name of the
>> sections for each level from the layout file (LyXLayout::toclevel).
>> We could put in the QListView all the layouts that have a nonzero
>> toclevel.
Juergen>
Jean-Marc Lasgouttes wrote:
> The following preliminary patch fixes the problem. Why is it
> preliminary, I hear you ask? Because I am not sure why artcile and
> book use different TocLevel settings for things like sections and
> Subsections. So currently, the display is off-by-one for books.
>
> J
On Mon, Apr 11, 2005 at 04:25:58PM +0200, Jean-Marc Lasgouttes wrote:
>
> The following preliminary patch fixes the problem. Why is it
> preliminary, I hear you ask? Because I am not sure why artcile and
> book use different TocLevel settings for things like sections and
> Subsections. So currentl
> "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes:
Helge> It has been a while since I had a crash or malfunction to
Helge> report. So here is the biggest problem currently:
Helge> Numbering of subsubsections are displayed wrong in lyx. I have
Helge> set things up so chapters, sections and
Jean-Marc Lasgouttes wrote:
> I like it. However:
>
> - this really feels like you should just iterate over the QListView
> rows to set them to yes/no and not keep track of whih one is
> subparagraph or section. This would be much simpler I think.
I don't think this is possible (without referr
On Fri, Apr 08, 2005 at 05:52:20PM +0200, Juergen Spitzmueller wrote:
> Jean-Marc Lasgouttes wrote:
> > Helge> Numbering of subsubsections are displayed wrong in lyx. I have
> > Helge> set things up so chapters, sections and subsections are
> > Helge> numbered, and the output reflects that. But ins
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> Jean-Marc Lasgouttes wrote:
Helge> Numbering of subsubsections are displayed wrong in lyx. I have
Helge> set things up so chapters, sections and subsections are
Helge> numbered, and the output reflects that. But inside ly
Jean-Marc Lasgouttes wrote:
> Helge> Numbering of subsubsections are displayed wrong in lyx. I have
> Helge> set things up so chapters, sections and subsections are
> Helge> numbered, and the output reflects that. But inside lyx, the
> Helge> subsubsections are also numbered and that is irritating
On Fri, 2005-04-08 at 16:53, Helge Hafting wrote:
> It has been a while since I had a crash or malfunction to report.
> So here is the biggest problem currently:
>
> Numbering of subsubsections are displayed wrong in lyx. I have set
> things up so chapters, sections and subsections are numbered,
Jean-Marc Lasgouttes wrote:
> What happens is that the QListView by default sorts on the first
> column. This means that the items inserted in the list are set in
> alphabetical order, and the setSorting(-1) which is done later happens
> too late.
>
> I guess what should be done is to remove the in
> "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes:
Helge> It has been a while since I had a crash or malfunction to
Helge> report. So here is the biggest problem currently:
Helge> Numbering of subsubsections are displayed wrong in lyx. I have
Helge> set things up so chapters, sections and
14 matches
Mail list logo