Minitoc and book (KOMA-Script) under LyX

2009-02-24 Thread Nikos Alexandris
Hi all!

[Using LyX 1.6.1 under Ubuntu II/ 64-bit, book(KOMA-Script)]

I've decided to use the minitoc package. I would like to have (as many
others would like to have :-) a _SectionToC_ for each Chapter (except
the 1st) in the beginning, of course, of each Chapter, listing Sections
(x.x) and Subsections (x.x.x). 

I have read a lot of stuff [1] [2] [3] but I would like to have
beforehand a more complex example implemented with LyX (more complex
than the example given in [4]) in order to get going.


Currently I use:

   * \usepackage{minitoc} in the Preamble

   * \dominitoc somewhere in the beginning of my document

   * \minitoc in the Introduction (note: Introduction is Addchap and
all of its Sections are Addsec), in Chapter 2, in Chapter 3 and in
Chapter 4.


The result is that:

   * the minitoc does not appear in the Introduction (probably it has
to do with the Add* commands)

   * it does not appear in the 2nd Chapter.

   * it does appear in Chapter 3. _But_ it does not correspond to
Chapter 2. Instead it lists the Sections of the Introduction!

   * it doeas appear in Chapter 4, but as above, it shows the Sections
of the previous Chapter, that is Chapter 3.


Would be nice to have an option in LyX for that.
Kind regards, Nikos
---

[1]
ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/minitoc/minitoc.pdf

[2] Several posts in the LyX-mailing list archive (search-keyword:
minitoc)

[3] (In German, almost in the end of the page)
http://www.matthiaspospiech.de/latex/vorlagen/allgemein/preambel/13/#toc-verzeichnisse

[4] http://wiki.lyx.org/Examples/Minitoc



Re: Minitoc and book (KOMA-Script) under LyX

2009-02-24 Thread Nikos Alexandris
I am testing the \mtcaddchapter command. I'll probably figure this out.
If not I will _bump_ :-p

Sorry the for the mail-traffic, Nikos



Re: Minitoc and book (KOMA-Script) under LyX

2009-02-24 Thread Steve Litt
On Tuesday 24 February 2009 09:06:47 am Nikos Alexandris wrote:
 Hi all!

 [Using LyX 1.6.1 under Ubuntu II/ 64-bit, book(KOMA-Script)]

 I've decided to use the minitoc package. I would like to have (as many
 others would like to have :-) a _SectionToC_ for each Chapter (except
 the 1st) in the beginning, of course, of each Chapter, listing Sections
 (x.x) and Subsections (x.x.x).


   * *
\ o /
 \|/ 
  |   C O O L
 / \  _  
/   \/
   /
  -

I've been looking for a way to put a list of sections on the chapter start 
page for years. Minitoc package, huh? I'll have to try it.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: Minitoc and book (KOMA-Script) under LyX

2009-02-24 Thread Nikos Alexandris
On Tue, 2009-02-24 at 11:17 -0500, Steve Litt wrote:
 On Tuesday 24 February 2009 09:06:47 am Nikos Alexandris wrote:
  Hi all!
 
  [Using LyX 1.6.1 under Ubuntu II/ 64-bit, book(KOMA-Script)]
 
  I've decided to use the minitoc package. I would like to have (as many
  others would like to have :-) a _SectionToC_ for each Chapter (except
  the 1st) in the beginning, of course, of each Chapter, listing Sections
  (x.x) and Subsections (x.x.x).
 
 
* *
 \ o /
  \|/ 
   |   C O O L
  / \  _  
 /   \/
/
   -
 
 I've been looking for a way to put a list of sections on the chapter start 
 page for years. Minitoc package, huh? I'll have to try it.
 
 Thanks
 
 SteveT


It works... finally :D

I needed to add the \mtcaddchapter command in the Introduction (since
my Introduction was defined with \Addchap) just before the \minitoc
command.

It really looks nice. I am playing around with it since I don't want the
page number to appear... just the structure.

Cheers, Nikos
---

BTW: SteveT, thanks for your valuable experience you offer in the list
from time to time.



Re: Minitoc and book (KOMA-Script) under LyX

2009-02-24 Thread Nikos Alexandris
Just reporting that I use the following in the Preamble which gives nice
mini-tables:

% Mini Table of Contents
% package: minitoc (aka mini-table)
\usepackage{minitoc}

% title of minitoc
% e.g. for Overview use \mtcsettitle{minitoc}{Overview}

% for empty title
\mtcsettitle{minitoc}{}

% turn off rules before and after the minitoc's
\mtcsetrules{minitoc}{off}

% turn off page numbering in minitoc's
\mtcsetpagenumbers{minitoc}{off}


Don't forget:

   * In the beginning of the document use an \dominitoc ERT
   * For each chapter a \minitoc ERT is required.
   * For \Add* commands an extra \mtcadd* is required


Kind regards, Nikos



Minitoc and book (KOMA-Script) under LyX

2009-02-24 Thread Nikos Alexandris
Hi all!

[Using LyX 1.6.1 under Ubuntu II/ 64-bit, book(KOMA-Script)]

I've decided to use the minitoc package. I would like to have (as many
others would like to have :-) a _SectionToC_ for each Chapter (except
the 1st) in the beginning, of course, of each Chapter, listing Sections
(x.x) and Subsections (x.x.x). 

I have read a lot of stuff [1] [2] [3] but I would like to have
beforehand a more complex example implemented with LyX (more complex
than the example given in [4]) in order to get going.


Currently I use:

   * \usepackage{minitoc} in the Preamble

   * \dominitoc somewhere in the beginning of my document

   * \minitoc in the Introduction (note: Introduction is Addchap and
all of its Sections are Addsec), in Chapter 2, in Chapter 3 and in
Chapter 4.


The result is that:

   * the minitoc does not appear in the Introduction (probably it has
to do with the Add* commands)

   * it does not appear in the 2nd Chapter.

   * it does appear in Chapter 3. _But_ it does not correspond to
Chapter 2. Instead it lists the Sections of the Introduction!

   * it doeas appear in Chapter 4, but as above, it shows the Sections
of the previous Chapter, that is Chapter 3.


Would be nice to have an option in LyX for that.
Kind regards, Nikos
---

[1]
ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/minitoc/minitoc.pdf

[2] Several posts in the LyX-mailing list archive (search-keyword:
minitoc)

[3] (In German, almost in the end of the page)
http://www.matthiaspospiech.de/latex/vorlagen/allgemein/preambel/13/#toc-verzeichnisse

[4] http://wiki.lyx.org/Examples/Minitoc



Re: Minitoc and book (KOMA-Script) under LyX

2009-02-24 Thread Nikos Alexandris
I am testing the \mtcaddchapter command. I'll probably figure this out.
If not I will _bump_ :-p

Sorry the for the mail-traffic, Nikos



Re: Minitoc and book (KOMA-Script) under LyX

2009-02-24 Thread Steve Litt
On Tuesday 24 February 2009 09:06:47 am Nikos Alexandris wrote:
 Hi all!

 [Using LyX 1.6.1 under Ubuntu II/ 64-bit, book(KOMA-Script)]

 I've decided to use the minitoc package. I would like to have (as many
 others would like to have :-) a _SectionToC_ for each Chapter (except
 the 1st) in the beginning, of course, of each Chapter, listing Sections
 (x.x) and Subsections (x.x.x).


   * *
\ o /
 \|/ 
  |   C O O L
 / \  _  
/   \/
   /
  -

I've been looking for a way to put a list of sections on the chapter start 
page for years. Minitoc package, huh? I'll have to try it.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: Minitoc and book (KOMA-Script) under LyX

2009-02-24 Thread Nikos Alexandris
On Tue, 2009-02-24 at 11:17 -0500, Steve Litt wrote:
 On Tuesday 24 February 2009 09:06:47 am Nikos Alexandris wrote:
  Hi all!
 
  [Using LyX 1.6.1 under Ubuntu II/ 64-bit, book(KOMA-Script)]
 
  I've decided to use the minitoc package. I would like to have (as many
  others would like to have :-) a _SectionToC_ for each Chapter (except
  the 1st) in the beginning, of course, of each Chapter, listing Sections
  (x.x) and Subsections (x.x.x).
 
 
* *
 \ o /
  \|/ 
   |   C O O L
  / \  _  
 /   \/
/
   -
 
 I've been looking for a way to put a list of sections on the chapter start 
 page for years. Minitoc package, huh? I'll have to try it.
 
 Thanks
 
 SteveT


It works... finally :D

I needed to add the \mtcaddchapter command in the Introduction (since
my Introduction was defined with \Addchap) just before the \minitoc
command.

It really looks nice. I am playing around with it since I don't want the
page number to appear... just the structure.

Cheers, Nikos
---

BTW: SteveT, thanks for your valuable experience you offer in the list
from time to time.



Re: Minitoc and book (KOMA-Script) under LyX

2009-02-24 Thread Nikos Alexandris
Just reporting that I use the following in the Preamble which gives nice
mini-tables:

% Mini Table of Contents
% package: minitoc (aka mini-table)
\usepackage{minitoc}

% title of minitoc
% e.g. for Overview use \mtcsettitle{minitoc}{Overview}

% for empty title
\mtcsettitle{minitoc}{}

% turn off rules before and after the minitoc's
\mtcsetrules{minitoc}{off}

% turn off page numbering in minitoc's
\mtcsetpagenumbers{minitoc}{off}


Don't forget:

   * In the beginning of the document use an \dominitoc ERT
   * For each chapter a \minitoc ERT is required.
   * For \Add* commands an extra \mtcadd* is required


Kind regards, Nikos



Minitoc and book (KOMA-Script) under LyX

2009-02-24 Thread Nikos Alexandris
Hi all!

[Using LyX 1.6.1 under Ubuntu II/ 64-bit, book(KOMA-Script)]

I've decided to use the minitoc package. I would like to have (as many
others would like to have :-) a _SectionToC_ for each Chapter (except
the 1st) in the beginning, of course, of each Chapter, listing Sections
(x.x) and Subsections (x.x.x). 

I have read a lot of stuff [1] [2] [3] but I would like to have
beforehand a more complex example implemented with LyX (more complex
than the example given in [4]) in order to get going.


Currently I use:

   * "\usepackage{minitoc}" in the Preamble

   * "\dominitoc" somewhere in the beginning of my document

   * "\minitoc" in the Introduction (note: Introduction is "Addchap" and
all of its Sections are "Addsec"), in Chapter 2, in Chapter 3 and in
Chapter 4.


The result is that:

   * the "minitoc" does not appear in the Introduction (probably it has
to do with the "Add*" commands)

   * it does not appear in the 2nd Chapter.

   * it does appear in Chapter 3. _But_ it does not correspond to
Chapter 2. Instead it lists the Sections of the Introduction!

   * it doeas appear in Chapter 4, but as above, it shows the Sections
of the previous Chapter, that is Chapter 3.


Would be nice to have an option in LyX for that.
Kind regards, Nikos
---

[1]
ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/minitoc/minitoc.pdf

[2] Several posts in the LyX-mailing list archive (search-keyword:
minitoc)

[3] (In German, almost in the end of the page)
http://www.matthiaspospiech.de/latex/vorlagen/allgemein/preambel/13/#toc-verzeichnisse

[4] http://wiki.lyx.org/Examples/Minitoc



Re: Minitoc and book (KOMA-Script) under LyX

2009-02-24 Thread Nikos Alexandris
I am testing the \mtcaddchapter command. I'll probably figure this out.
If not I will _bump_ :-p

Sorry the for the mail-traffic, Nikos



Re: Minitoc and book (KOMA-Script) under LyX

2009-02-24 Thread Steve Litt
On Tuesday 24 February 2009 09:06:47 am Nikos Alexandris wrote:
> Hi all!
>
> [Using LyX 1.6.1 under Ubuntu II/ 64-bit, book(KOMA-Script)]
>
> I've decided to use the minitoc package. I would like to have (as many
> others would like to have :-) a _SectionToC_ for each Chapter (except
> the 1st) in the beginning, of course, of each Chapter, listing Sections
> (x.x) and Subsections (x.x.x).


   * *
\ o /
 \|/ 
  |   C O O L
 / \  _  
/   \/
   /
  -

I've been looking for a way to put a list of sections on the chapter start 
page for years. Minitoc package, huh? I'll have to try it.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: Minitoc and book (KOMA-Script) under LyX

2009-02-24 Thread Nikos Alexandris
On Tue, 2009-02-24 at 11:17 -0500, Steve Litt wrote:
> On Tuesday 24 February 2009 09:06:47 am Nikos Alexandris wrote:
> > Hi all!
> >
> > [Using LyX 1.6.1 under Ubuntu II/ 64-bit, book(KOMA-Script)]
> >
> > I've decided to use the minitoc package. I would like to have (as many
> > others would like to have :-) a _SectionToC_ for each Chapter (except
> > the 1st) in the beginning, of course, of each Chapter, listing Sections
> > (x.x) and Subsections (x.x.x).
> 
> 
>* *
> \ o /
>  \|/ 
>   |   C O O L
>  / \  _  
> /   \/
>/
>   -
> 
> I've been looking for a way to put a list of sections on the chapter start 
> page for years. Minitoc package, huh? I'll have to try it.
> 
> Thanks
> 
> SteveT


It works... finally :D

I needed to add the "\mtcaddchapter" command in the Introduction (since
my Introduction was defined with "\Addchap") just before the "\minitoc"
command.

It really looks nice. I am playing around with it since I don't want the
page number to appear... just the structure.

Cheers, Nikos
---

BTW: SteveT, thanks for your valuable experience you offer in the list
from time to time.



Re: Minitoc and book (KOMA-Script) under LyX

2009-02-24 Thread Nikos Alexandris
Just reporting that I use the following in the Preamble which gives nice
mini-tables:

% Mini Table of Contents
% package: minitoc (aka mini-table)
\usepackage{minitoc}

% title of minitoc
% e.g. for "Overview" use "\mtcsettitle{minitoc}{Overview}"

% for empty title
\mtcsettitle{minitoc}{}

% turn off rules before and after the minitoc's
\mtcsetrules{minitoc}{off}

% turn off page numbering in minitoc's
\mtcsetpagenumbers{minitoc}{off}


Don't forget:

   * In the beginning of the document use an "\dominitoc" ERT
   * For each chapter a "\minitoc" ERT is required.
   * For "\Add*" commands an extra "\mtcadd*" is required


Kind regards, Nikos