Re: New Feature Request: Chapter Contents

2013-10-15 Thread Mark Horton
Guenter Milde milde at users.sf.net writes:

 
 On 2013-10-13, Andrew Parsloe wrote:
  On 14/10/2013 5:35 a.m., Mark Horton wrote:
  Mark Horton mark.horton001 at yahoo.co.uk writes:
 
 ...
 
  However I am still getting the problem of being unable to control the 
depth
  of the initial Table of contents.
 
  This is controlled in LyX by going to Document  Settings  Numbering  
  TOC and adjusting the slider.
 
 And if you open ViewSource and click whole document, you will see the
 correct LaTeX code inserted into the document preamble to customize the
 tocdepth 
 
 Günter
 

Hi All

This all seems to be working now thanks to your help. :-) 


Andrew: The only thing not quite resolved is a new issue, that binary 
file. I can't seem to open or import it. So I can't even change the 
compression setting.  

Best Wishes

Mark :-)





Re: New Feature Request: Chapter Contents

2013-10-15 Thread Andrew Parsloe



On 16/10/2013 7:02 a.m., Mark Horton wrote:

Guenter Milde milde at users.sf.net writes:



On 2013-10-13, Andrew Parsloe wrote:

On 14/10/2013 5:35 a.m., Mark Horton wrote:

Mark Horton mark.horton001 at yahoo.co.uk writes:


...


However I am still getting the problem of being unable to control the

depth

of the initial Table of contents.



This is controlled in LyX by going to Document  Settings  Numbering 
TOC and adjusting the slider.


And if you open ViewSource and click whole document, you will see the
correct LaTeX code inserted into the document preamble to customize the
tocdepth

Günter



Hi All

This all seems to be working now thanks to your help. :-) 


Andrew: The only thing not quite resolved is a new issue, that binary
file. I can't seem to open or import it. So I can't even change the
compression setting.

Best Wishes

Mark :-)

Yes, I see I've sinned again. I created the document in 2.1 beta. I 
imagine you're using 2.0.something. So this time I've saved the document 
in 2.0 format and not bothered to compress it (it only comes to 14 kb). 
Now it should open in LyX 2.0. (But you seem to have got there anyway.)


Andrew



minitoc.20.lyx
Description: application/lyx


Re: New Feature Request: Chapter Contents

2013-10-15 Thread Mark Horton
Guenter Milde milde at users.sf.net writes:

 
 On 2013-10-13, Andrew Parsloe wrote:
  On 14/10/2013 5:35 a.m., Mark Horton wrote:
  Mark Horton mark.horton001 at yahoo.co.uk writes:
 
 ...
 
  However I am still getting the problem of being unable to control the 
depth
  of the initial Table of contents.
 
  This is controlled in LyX by going to Document  Settings  Numbering  
  TOC and adjusting the slider.
 
 And if you open ViewSource and click whole document, you will see the
 correct LaTeX code inserted into the document preamble to customize the
 tocdepth 
 
 Günter
 

Hi All

This all seems to be working now thanks to your help. :-) 


Andrew: The only thing not quite resolved is a new issue, that binary 
file. I can't seem to open or import it. So I can't even change the 
compression setting.  

Best Wishes

Mark :-)





Re: New Feature Request: Chapter Contents

2013-10-15 Thread Andrew Parsloe



On 16/10/2013 7:02 a.m., Mark Horton wrote:

Guenter Milde milde at users.sf.net writes:



On 2013-10-13, Andrew Parsloe wrote:

On 14/10/2013 5:35 a.m., Mark Horton wrote:

Mark Horton mark.horton001 at yahoo.co.uk writes:


...


However I am still getting the problem of being unable to control the

depth

of the initial Table of contents.



This is controlled in LyX by going to Document  Settings  Numbering 
TOC and adjusting the slider.


And if you open ViewSource and click whole document, you will see the
correct LaTeX code inserted into the document preamble to customize the
tocdepth

Günter



Hi All

This all seems to be working now thanks to your help. :-) 


Andrew: The only thing not quite resolved is a new issue, that binary
file. I can't seem to open or import it. So I can't even change the
compression setting.

Best Wishes

Mark :-)

Yes, I see I've sinned again. I created the document in 2.1 beta. I 
imagine you're using 2.0.something. So this time I've saved the document 
in 2.0 format and not bothered to compress it (it only comes to 14 kb). 
Now it should open in LyX 2.0. (But you seem to have got there anyway.)


Andrew



minitoc.20.lyx
Description: application/lyx


Re: New Feature Request: Chapter Contents

2013-10-15 Thread Mark Horton
Guenter Milde  users.sf.net> writes:

> 
> On 2013-10-13, Andrew Parsloe wrote:
> > On 14/10/2013 5:35 a.m., Mark Horton wrote:
> >> Mark Horton  yahoo.co.uk> writes:
> 
> ...
> 
> >> However I am still getting the problem of being unable to control the 
depth
> >> of the initial Table of contents.
> 
> > This is controlled in LyX by going to Document > Settings > Numbering & 
> > TOC and adjusting the slider.
> 
> And if you open View>Source and click "whole document", you will see the
> correct LaTeX code inserted into the document preamble to customize the
> tocdepth 
> 
> Günter
> 
>
Hi All

This all seems to be working now thanks to your help. :-) 


Andrew: The only thing not quite resolved is a "new" issue, that binary 
file. I can't seem to open or import it. So I can't even change the 
compression setting.  

Best Wishes

Mark :-)





Re: New Feature Request: Chapter Contents

2013-10-15 Thread Andrew Parsloe



On 16/10/2013 7:02 a.m., Mark Horton wrote:

Guenter Milde  users.sf.net> writes:



On 2013-10-13, Andrew Parsloe wrote:

On 14/10/2013 5:35 a.m., Mark Horton wrote:

Mark Horton  yahoo.co.uk> writes:


...


However I am still getting the problem of being unable to control the

depth

of the initial Table of contents.



This is controlled in LyX by going to Document > Settings > Numbering &
TOC and adjusting the slider.


And if you open View>Source and click "whole document", you will see the
correct LaTeX code inserted into the document preamble to customize the
tocdepth

Günter



Hi All

This all seems to be working now thanks to your help. :-) 


Andrew: The only thing not quite resolved is a "new" issue, that binary
file. I can't seem to open or import it. So I can't even change the
compression setting.

Best Wishes

Mark :-)

Yes, I see I've sinned again. I created the document in 2.1 beta. I 
imagine you're using 2.0.something. So this time I've saved the document 
in 2.0 format and not bothered to compress it (it only comes to 14 kb). 
Now it should open in LyX 2.0. (But you seem to have got there anyway.)


Andrew



minitoc.20.lyx
Description: application/lyx


Re: New Feature Request: Chapter Contents

2013-10-14 Thread Guenter Milde
On 2013-10-13, Andrew Parsloe wrote:
 On 14/10/2013 5:35 a.m., Mark Horton wrote:
 Mark Horton mark.horton001 at yahoo.co.uk writes:

...

 However I am still getting the problem of being unable to control the depth
 of the initial Table of contents.


 This is controlled in LyX by going to Document  Settings  Numbering  
 TOC and adjusting the slider.

And if you open ViewSource and click whole document, you will see the
correct LaTeX code inserted into the document preamble to customize the
tocdepth :-)

Günter



Re: New Feature Request: Chapter Contents

2013-10-14 Thread Guenter Milde
On 2013-10-13, Andrew Parsloe wrote:
 On 14/10/2013 5:35 a.m., Mark Horton wrote:
 Mark Horton mark.horton001 at yahoo.co.uk writes:

...

 However I am still getting the problem of being unable to control the depth
 of the initial Table of contents.


 This is controlled in LyX by going to Document  Settings  Numbering  
 TOC and adjusting the slider.

And if you open ViewSource and click whole document, you will see the
correct LaTeX code inserted into the document preamble to customize the
tocdepth :-)

Günter



Re: New Feature Request: Chapter Contents

2013-10-14 Thread Guenter Milde
On 2013-10-13, Andrew Parsloe wrote:
> On 14/10/2013 5:35 a.m., Mark Horton wrote:
>> Mark Horton  yahoo.co.uk> writes:

...

>> However I am still getting the problem of being unable to control the depth
>> of the initial Table of contents.


> This is controlled in LyX by going to Document > Settings > Numbering & 
> TOC and adjusting the slider.

And if you open View>Source and click "whole document", you will see the
correct LaTeX code inserted into the document preamble to customize the
tocdepth :-)

Günter



Re: New Feature Request: Chapter Contents

2013-10-13 Thread Mark Horton
Andrew Parsloe aparsloe at clear.net.nz writes:

 
 
 On 9/10/2013 11:34 a.m., Andrew Parsloe wrote:
 
  Stephano has replied, but he has not used MikTeX and doesn't use 
windows.
  Combining that with my near complete ignorance he has quite sensibly
  suggested I try to find out about installing packages with MikTeX.
 
  Having so far managed to produce a pretty impressive document (if only 
by
  weight) in LyX I am quite keen to keep it up and finish it in LyX if I
  can.
 
 
  Mark
 
 
  Have you managed to produce a pdf version of your document? If you have
  then you most likely already have MiKTeX installed on your system. Go to
  the Start button,  click on All Programs and scan down the list to
  MiKTeX, click on that, then on Maintenance, then on Package Manager.
  Scan down the list of packages until you come to minitoc. If it is
  already installed there will be a date in the Installed on column. If
  not, select minitoc and click the + button, upper left of the package
  manager window. Assuming you are currently connected to the internet,
  the minitoc package will be downloaded and installed for you.
 
  I omitted one item in the recipe for using minitoc in my previous
  posting. The sequence is this:
 
  1. Add \usepackage{minitoc} to your document preamble
 
  2. Insert \dominitoc in ERT (or TeX code) *before* your document's table
  of contents
 
  3. After each chapter heading insert \minitoc in ERT
 
  That's it. All the rest is tinkering or catering for special
  circumstances. The minitoc documentation is large, but only the first
  two chapters are relevant to the user.
 
  Andrew
 
 
 Further to the above, I've attached a summary about using minitoc with 
 LyX -- changing various settings. I was going to put it on the wiki, but 
 it's not clear to me exactly where to put it.
 
 Andrew
 
 Attachment (minitoc.lyx): application/x-lyx, 13 KiB


Hi Andrew

Thanks for that, I have a bit of your solution working...

Firstly your attached file is Binary, and I don't know what to do with it, 
it may lead to the info I need. If it is a link to the minitoc user manual I 
have it.

Next I tried to edit the latex “source”, as described. Because that doesn’t 
seem to be possible in Lyx I used TexWorks,  as found in the MiTeX2.9 
directory. 
However this meant exporting from Lyx to latex plain format. After doing the 
edits and re-importing back into Lyx I found that firstly the links to 
graphics were broken. The loss of graphics is not  a major problem because 
there are only 9 graphics in the whole document.
More of a problem (I think) is that I cannot view what I have done so far, 
(I have not used any option settings just put code in as suggested.) because 
lots of errors come up.
For the graphics there are…
LaTeX Error: Cannot determine size of graphic in 
C:/stringC:/Users/Mark/Download
For the command lines you said to insert there are…
Undefined control sequence.

Nevertheless I have continued to work in TeXworks to see how far I can get. 
With the Tables of Contents and have got quite far…
 The new mini TOC’s seem to be behaving ok, and respond to depth changes,  
but the initial Table of Contents still lists everything. I have tried a 
number of things including…
\setcounter{minitocdepth}{1}
\dominitoc
\tableofcontents

Or …

\mtcsetdepth{minitoc}{1}
\dominitoc
\tableofcontents

But whatever figure I put in, the initial TOC depth remains unchanged, 
listing everything.
I am probably missing something obvious, or it will be when pointed out :-)

Best Regards
Mark :-) 







Re: New Feature Request: Chapter Contents

2013-10-13 Thread Mark Horton
Mark Horton mark.horton001 at yahoo.co.uk writes:


 Nevertheless I have continued to work in TeXworks to see how far I can 
get. 
 With the Tables of Contents and have got quite far…
  The new mini TOC’s seem to be behaving ok, and respond to depth changes,  
 but the initial Table of Contents still lists everything. I have tried a 
 number of things including…
 \setcounter{minitocdepth}{1}
 \dominitoc
 \tableofcontents
 
 Or …
 
 \mtcsetdepth{minitoc}{1}
 \dominitoc
 \tableofcontents
 
 But whatever figure I put in, the initial TOC depth remains unchanged, 
 listing everything.
 I am probably missing something obvious, or it will be when pointed out 
 
 Best Regards
 Mark  
 
 

An update...

I have now inserted the commands into a Lyx document using the Lyx 
environment.
However I am still getting the problem of being unable to control the depth 
of the initial Table of contents.





Re: New Feature Request: Chapter Contents

2013-10-13 Thread Andrew Parsloe



On 14/10/2013 4:08 a.m., Mark Horton wrote:

Andrew Parsloe aparsloe at clear.net.nz writes:




On 9/10/2013 11:34 a.m., Andrew Parsloe wrote:



Stephano has replied, but he has not used MikTeX and doesn't use

windows.

Combining that with my near complete ignorance he has quite sensibly
suggested I try to find out about installing packages with MikTeX.

Having so far managed to produce a pretty impressive document (if only

by

weight) in LyX I am quite keen to keep it up and finish it in LyX if I
can.


Mark



Have you managed to produce a pdf version of your document? If you have
then you most likely already have MiKTeX installed on your system. Go to
the Start button,  click on All Programs and scan down the list to
MiKTeX, click on that, then on Maintenance, then on Package Manager.
Scan down the list of packages until you come to minitoc. If it is
already installed there will be a date in the Installed on column. If
not, select minitoc and click the + button, upper left of the package
manager window. Assuming you are currently connected to the internet,
the minitoc package will be downloaded and installed for you.

I omitted one item in the recipe for using minitoc in my previous
posting. The sequence is this:

1. Add \usepackage{minitoc} to your document preamble

2. Insert \dominitoc in ERT (or TeX code) *before* your document's table
of contents

3. After each chapter heading insert \minitoc in ERT

That's it. All the rest is tinkering or catering for special
circumstances. The minitoc documentation is large, but only the first
two chapters are relevant to the user.

Andrew



Further to the above, I've attached a summary about using minitoc with
LyX -- changing various settings. I was going to put it on the wiki, but
it's not clear to me exactly where to put it.

Andrew

Attachment (minitoc.lyx): application/x-lyx, 13 KiB



Hi Andrew

Thanks for that, I have a bit of your solution working...

Firstly your attached file is Binary, and I don't know what to do with it,
it may lead to the info I need. If it is a link to the minitoc user manual I
have it.

My apologies, I should have mentioned. I saved the file in compressed 
format so as not to burden the list with unnecessary bytes. If you open 
the file in LyX and look on the menu bar under Document, you will see 
Compressed there, with a tick beside it. Click on it to clear the 
compression. Next time you save the document it will be saved in 
uncompressed format. (The save icon may be greyed out. You may have to, 
e.g., tap the space bar then erase the space to enable the icon.)


Andrew


Next I tried to edit the latex “source”, as described. Because that doesn’t
seem to be possible in Lyx I used TexWorks,  as found in the MiTeX2.9
directory.
However this meant exporting from Lyx to latex plain format. After doing the
edits and re-importing back into Lyx I found that firstly the links to
graphics were broken. The loss of graphics is not  a major problem because
there are only 9 graphics in the whole document.
More of a problem (I think) is that I cannot view what I have done so far,
(I have not used any option settings just put code in as suggested.) because
lots of errors come up.
For the graphics there are…
LaTeX Error: Cannot determine size of graphic in
C:/stringC:/Users/Mark/Download
For the command lines you said to insert there are…
Undefined control sequence.

Nevertheless I have continued to work in TeXworks to see how far I can get.
With the Tables of Contents and have got quite far…
  The new mini TOC’s seem to be behaving ok, and respond to depth changes,
but the initial Table of Contents still lists everything. I have tried a
number of things including…
\setcounter{minitocdepth}{1}
\dominitoc
\tableofcontents

Or …

\mtcsetdepth{minitoc}{1}
\dominitoc
\tableofcontents

But whatever figure I put in, the initial TOC depth remains unchanged,
listing everything.
I am probably missing something obvious, or it will be when pointed out :-)

Best Regards
Mark :-)








Re: New Feature Request: Chapter Contents

2013-10-13 Thread Andrew Parsloe



On 14/10/2013 5:35 a.m., Mark Horton wrote:

Mark Horton mark.horton001 at yahoo.co.uk writes:



Nevertheless I have continued to work in TeXworks to see how far I can

get.

With the Tables of Contents and have got quite far…
  The new mini TOC’s seem to be behaving ok, and respond to depth changes,
but the initial Table of Contents still lists everything. I have tried a
number of things including…
\setcounter{minitocdepth}{1}
\dominitoc
\tableofcontents

Or …

\mtcsetdepth{minitoc}{1}
\dominitoc
\tableofcontents

But whatever figure I put in, the initial TOC depth remains unchanged,
listing everything.
I am probably missing something obvious, or it will be when pointed out

Best Regards
Mark




An update...

I have now inserted the commands into a Lyx document using the Lyx
environment.
However I am still getting the problem of being unable to control the depth
of the initial Table of contents.



This is controlled in LyX by going to Document  Settings  Numbering  
TOC and adjusting the slider.


Andrew


Re: New Feature Request: Chapter Contents

2013-10-13 Thread Mark Horton
Andrew Parsloe aparsloe at clear.net.nz writes:

 
 
 On 9/10/2013 11:34 a.m., Andrew Parsloe wrote:
 
  Stephano has replied, but he has not used MikTeX and doesn't use 
windows.
  Combining that with my near complete ignorance he has quite sensibly
  suggested I try to find out about installing packages with MikTeX.
 
  Having so far managed to produce a pretty impressive document (if only 
by
  weight) in LyX I am quite keen to keep it up and finish it in LyX if I
  can.
 
 
  Mark
 
 
  Have you managed to produce a pdf version of your document? If you have
  then you most likely already have MiKTeX installed on your system. Go to
  the Start button,  click on All Programs and scan down the list to
  MiKTeX, click on that, then on Maintenance, then on Package Manager.
  Scan down the list of packages until you come to minitoc. If it is
  already installed there will be a date in the Installed on column. If
  not, select minitoc and click the + button, upper left of the package
  manager window. Assuming you are currently connected to the internet,
  the minitoc package will be downloaded and installed for you.
 
  I omitted one item in the recipe for using minitoc in my previous
  posting. The sequence is this:
 
  1. Add \usepackage{minitoc} to your document preamble
 
  2. Insert \dominitoc in ERT (or TeX code) *before* your document's table
  of contents
 
  3. After each chapter heading insert \minitoc in ERT
 
  That's it. All the rest is tinkering or catering for special
  circumstances. The minitoc documentation is large, but only the first
  two chapters are relevant to the user.
 
  Andrew
 
 
 Further to the above, I've attached a summary about using minitoc with 
 LyX -- changing various settings. I was going to put it on the wiki, but 
 it's not clear to me exactly where to put it.
 
 Andrew
 
 Attachment (minitoc.lyx): application/x-lyx, 13 KiB


Hi Andrew

Thanks for that, I have a bit of your solution working...

Firstly your attached file is Binary, and I don't know what to do with it, 
it may lead to the info I need. If it is a link to the minitoc user manual I 
have it.

Next I tried to edit the latex “source”, as described. Because that doesn’t 
seem to be possible in Lyx I used TexWorks,  as found in the MiTeX2.9 
directory. 
However this meant exporting from Lyx to latex plain format. After doing the 
edits and re-importing back into Lyx I found that firstly the links to 
graphics were broken. The loss of graphics is not  a major problem because 
there are only 9 graphics in the whole document.
More of a problem (I think) is that I cannot view what I have done so far, 
(I have not used any option settings just put code in as suggested.) because 
lots of errors come up.
For the graphics there are…
LaTeX Error: Cannot determine size of graphic in 
C:/stringC:/Users/Mark/Download
For the command lines you said to insert there are…
Undefined control sequence.

Nevertheless I have continued to work in TeXworks to see how far I can get. 
With the Tables of Contents and have got quite far…
 The new mini TOC’s seem to be behaving ok, and respond to depth changes,  
but the initial Table of Contents still lists everything. I have tried a 
number of things including…
\setcounter{minitocdepth}{1}
\dominitoc
\tableofcontents

Or …

\mtcsetdepth{minitoc}{1}
\dominitoc
\tableofcontents

But whatever figure I put in, the initial TOC depth remains unchanged, 
listing everything.
I am probably missing something obvious, or it will be when pointed out :-)

Best Regards
Mark :-) 







Re: New Feature Request: Chapter Contents

2013-10-13 Thread Mark Horton
Mark Horton mark.horton001 at yahoo.co.uk writes:


 Nevertheless I have continued to work in TeXworks to see how far I can 
get. 
 With the Tables of Contents and have got quite far…
  The new mini TOC’s seem to be behaving ok, and respond to depth changes,  
 but the initial Table of Contents still lists everything. I have tried a 
 number of things including…
 \setcounter{minitocdepth}{1}
 \dominitoc
 \tableofcontents
 
 Or …
 
 \mtcsetdepth{minitoc}{1}
 \dominitoc
 \tableofcontents
 
 But whatever figure I put in, the initial TOC depth remains unchanged, 
 listing everything.
 I am probably missing something obvious, or it will be when pointed out 
 
 Best Regards
 Mark  
 
 

An update...

I have now inserted the commands into a Lyx document using the Lyx 
environment.
However I am still getting the problem of being unable to control the depth 
of the initial Table of contents.





Re: New Feature Request: Chapter Contents

2013-10-13 Thread Andrew Parsloe



On 14/10/2013 4:08 a.m., Mark Horton wrote:

Andrew Parsloe aparsloe at clear.net.nz writes:




On 9/10/2013 11:34 a.m., Andrew Parsloe wrote:



Stephano has replied, but he has not used MikTeX and doesn't use

windows.

Combining that with my near complete ignorance he has quite sensibly
suggested I try to find out about installing packages with MikTeX.

Having so far managed to produce a pretty impressive document (if only

by

weight) in LyX I am quite keen to keep it up and finish it in LyX if I
can.


Mark



Have you managed to produce a pdf version of your document? If you have
then you most likely already have MiKTeX installed on your system. Go to
the Start button,  click on All Programs and scan down the list to
MiKTeX, click on that, then on Maintenance, then on Package Manager.
Scan down the list of packages until you come to minitoc. If it is
already installed there will be a date in the Installed on column. If
not, select minitoc and click the + button, upper left of the package
manager window. Assuming you are currently connected to the internet,
the minitoc package will be downloaded and installed for you.

I omitted one item in the recipe for using minitoc in my previous
posting. The sequence is this:

1. Add \usepackage{minitoc} to your document preamble

2. Insert \dominitoc in ERT (or TeX code) *before* your document's table
of contents

3. After each chapter heading insert \minitoc in ERT

That's it. All the rest is tinkering or catering for special
circumstances. The minitoc documentation is large, but only the first
two chapters are relevant to the user.

Andrew



Further to the above, I've attached a summary about using minitoc with
LyX -- changing various settings. I was going to put it on the wiki, but
it's not clear to me exactly where to put it.

Andrew

Attachment (minitoc.lyx): application/x-lyx, 13 KiB



Hi Andrew

Thanks for that, I have a bit of your solution working...

Firstly your attached file is Binary, and I don't know what to do with it,
it may lead to the info I need. If it is a link to the minitoc user manual I
have it.

My apologies, I should have mentioned. I saved the file in compressed 
format so as not to burden the list with unnecessary bytes. If you open 
the file in LyX and look on the menu bar under Document, you will see 
Compressed there, with a tick beside it. Click on it to clear the 
compression. Next time you save the document it will be saved in 
uncompressed format. (The save icon may be greyed out. You may have to, 
e.g., tap the space bar then erase the space to enable the icon.)


Andrew


Next I tried to edit the latex “source”, as described. Because that doesn’t
seem to be possible in Lyx I used TexWorks,  as found in the MiTeX2.9
directory.
However this meant exporting from Lyx to latex plain format. After doing the
edits and re-importing back into Lyx I found that firstly the links to
graphics were broken. The loss of graphics is not  a major problem because
there are only 9 graphics in the whole document.
More of a problem (I think) is that I cannot view what I have done so far,
(I have not used any option settings just put code in as suggested.) because
lots of errors come up.
For the graphics there are…
LaTeX Error: Cannot determine size of graphic in
C:/stringC:/Users/Mark/Download
For the command lines you said to insert there are…
Undefined control sequence.

Nevertheless I have continued to work in TeXworks to see how far I can get.
With the Tables of Contents and have got quite far…
  The new mini TOC’s seem to be behaving ok, and respond to depth changes,
but the initial Table of Contents still lists everything. I have tried a
number of things including…
\setcounter{minitocdepth}{1}
\dominitoc
\tableofcontents

Or …

\mtcsetdepth{minitoc}{1}
\dominitoc
\tableofcontents

But whatever figure I put in, the initial TOC depth remains unchanged,
listing everything.
I am probably missing something obvious, or it will be when pointed out :-)

Best Regards
Mark :-)








Re: New Feature Request: Chapter Contents

2013-10-13 Thread Andrew Parsloe



On 14/10/2013 5:35 a.m., Mark Horton wrote:

Mark Horton mark.horton001 at yahoo.co.uk writes:



Nevertheless I have continued to work in TeXworks to see how far I can

get.

With the Tables of Contents and have got quite far…
  The new mini TOC’s seem to be behaving ok, and respond to depth changes,
but the initial Table of Contents still lists everything. I have tried a
number of things including…
\setcounter{minitocdepth}{1}
\dominitoc
\tableofcontents

Or …

\mtcsetdepth{minitoc}{1}
\dominitoc
\tableofcontents

But whatever figure I put in, the initial TOC depth remains unchanged,
listing everything.
I am probably missing something obvious, or it will be when pointed out

Best Regards
Mark




An update...

I have now inserted the commands into a Lyx document using the Lyx
environment.
However I am still getting the problem of being unable to control the depth
of the initial Table of contents.



This is controlled in LyX by going to Document  Settings  Numbering  
TOC and adjusting the slider.


Andrew


Re: New Feature Request: Chapter Contents

2013-10-13 Thread Mark Horton
Andrew Parsloe  clear.net.nz> writes:

> 
> 
> On 9/10/2013 11:34 a.m., Andrew Parsloe wrote:
> >
> >> Stephano has replied, but he has not used MikTeX and doesn't use 
windows.
> >> Combining that with my near complete ignorance he has quite sensibly
> >> suggested I try to find out about installing packages with MikTeX.
> >>
> >> Having so far managed to produce a pretty impressive document (if only 
by
> >> weight) in LyX I am quite keen to keep it up and finish it in LyX if I
> >> can.
> >>
> >>
> >> Mark
> >>
> >
> > Have you managed to produce a pdf version of your document? If you have
> > then you most likely already have MiKTeX installed on your system. Go to
> > the Start button,  click on All Programs and scan down the list to
> > MiKTeX, click on that, then on Maintenance, then on Package Manager.
> > Scan down the list of packages until you come to minitoc. If it is
> > already installed there will be a date in the "Installed on" column. If
> > not, select minitoc and click the + button, upper left of the package
> > manager window. Assuming you are currently connected to the internet,
> > the minitoc package will be downloaded and installed for you.
> >
> > I omitted one item in the recipe for using minitoc in my previous
> > posting. The sequence is this:
> >
> > 1. Add \usepackage{minitoc} to your document preamble
> >
> > 2. Insert \dominitoc in ERT (or TeX code) *before* your document's table
> > of contents
> >
> > 3. After each chapter heading insert \minitoc in ERT
> >
> > That's it. All the rest is tinkering or catering for special
> > circumstances. The minitoc documentation is large, but only the first
> > two chapters are relevant to the user.
> >
> > Andrew
> >
> 
> Further to the above, I've attached a summary about using minitoc with 
> LyX -- changing various settings. I was going to put it on the wiki, but 
> it's not clear to me exactly where to put it.
> 
> Andrew
> 
> Attachment (minitoc.lyx): application/x-lyx, 13 KiB


Hi Andrew

Thanks for that, I have a bit of your solution working...

Firstly your attached file is Binary, and I don't know what to do with it, 
it may lead to the info I need. If it is a link to the minitoc user manual I 
have it.

Next I tried to edit the latex “source”, as described. Because that doesn’t 
seem to be possible in Lyx I used TexWorks,  as found in the MiTeX2.9 
directory. 
However this meant exporting from Lyx to latex plain format. After doing the 
edits and re-importing back into Lyx I found that firstly the links to 
graphics were broken. The loss of graphics is not  a major problem because 
there are only 9 graphics in the whole document.
More of a problem (I think) is that I cannot view what I have done so far, 
(I have not used any option settings just put code in as suggested.) because 
lots of errors come up.
For the graphics there are…
LaTeX Error: Cannot determine size of graphic in 
C:/string"C:/Users/Mark/Download
For the command lines you said to insert there are…
Undefined control sequence.

Nevertheless I have continued to work in TeXworks to see how far I can get. 
With the Tables of Contents and have got quite far…
 The new mini TOC’s seem to be behaving ok, and respond to depth changes,  
but the initial Table of Contents still lists everything. I have tried a 
number of things including…
\setcounter{minitocdepth}{1}
\dominitoc
\tableofcontents

Or …

\mtcsetdepth{minitoc}{1}
\dominitoc
\tableofcontents

But whatever figure I put in, the initial TOC depth remains unchanged, 
listing everything.
I am probably missing something obvious, or it will be when pointed out :-)

Best Regards
Mark :-) 







Re: New Feature Request: Chapter Contents

2013-10-13 Thread Mark Horton
Mark Horton  yahoo.co.uk> writes:


> Nevertheless I have continued to work in TeXworks to see how far I can 
get. 
> With the Tables of Contents and have got quite far…
>  The new mini TOC’s seem to be behaving ok, and respond to depth changes,  
> but the initial Table of Contents still lists everything. I have tried a 
> number of things including…
> \setcounter{minitocdepth}{1}
> \dominitoc
> \tableofcontents
> 
> Or …
> 
> \mtcsetdepth{minitoc}{1}
> \dominitoc
> \tableofcontents
> 
> But whatever figure I put in, the initial TOC depth remains unchanged, 
> listing everything.
> I am probably missing something obvious, or it will be when pointed out 
> 
> Best Regards
> Mark  
> 
> 

An update...

I have now inserted the commands into a Lyx document using the Lyx 
environment.
However I am still getting the problem of being unable to control the depth 
of the initial Table of contents.





Re: New Feature Request: Chapter Contents

2013-10-13 Thread Andrew Parsloe



On 14/10/2013 4:08 a.m., Mark Horton wrote:

Andrew Parsloe  clear.net.nz> writes:




On 9/10/2013 11:34 a.m., Andrew Parsloe wrote:



Stephano has replied, but he has not used MikTeX and doesn't use

windows.

Combining that with my near complete ignorance he has quite sensibly
suggested I try to find out about installing packages with MikTeX.

Having so far managed to produce a pretty impressive document (if only

by

weight) in LyX I am quite keen to keep it up and finish it in LyX if I
can.


Mark



Have you managed to produce a pdf version of your document? If you have
then you most likely already have MiKTeX installed on your system. Go to
the Start button,  click on All Programs and scan down the list to
MiKTeX, click on that, then on Maintenance, then on Package Manager.
Scan down the list of packages until you come to minitoc. If it is
already installed there will be a date in the "Installed on" column. If
not, select minitoc and click the + button, upper left of the package
manager window. Assuming you are currently connected to the internet,
the minitoc package will be downloaded and installed for you.

I omitted one item in the recipe for using minitoc in my previous
posting. The sequence is this:

1. Add \usepackage{minitoc} to your document preamble

2. Insert \dominitoc in ERT (or TeX code) *before* your document's table
of contents

3. After each chapter heading insert \minitoc in ERT

That's it. All the rest is tinkering or catering for special
circumstances. The minitoc documentation is large, but only the first
two chapters are relevant to the user.

Andrew



Further to the above, I've attached a summary about using minitoc with
LyX -- changing various settings. I was going to put it on the wiki, but
it's not clear to me exactly where to put it.

Andrew

Attachment (minitoc.lyx): application/x-lyx, 13 KiB



Hi Andrew

Thanks for that, I have a bit of your solution working...

Firstly your attached file is Binary, and I don't know what to do with it,
it may lead to the info I need. If it is a link to the minitoc user manual I
have it.

My apologies, I should have mentioned. I saved the file in compressed 
format so as not to burden the list with unnecessary bytes. If you open 
the file in LyX and look on the menu bar under Document, you will see 
Compressed there, with a tick beside it. Click on it to clear the 
compression. Next time you save the document it will be saved in 
uncompressed format. (The save icon may be greyed out. You may have to, 
e.g., tap the space bar then erase the space to enable the icon.)


Andrew


Next I tried to edit the latex “source”, as described. Because that doesn’t
seem to be possible in Lyx I used TexWorks,  as found in the MiTeX2.9
directory.
However this meant exporting from Lyx to latex plain format. After doing the
edits and re-importing back into Lyx I found that firstly the links to
graphics were broken. The loss of graphics is not  a major problem because
there are only 9 graphics in the whole document.
More of a problem (I think) is that I cannot view what I have done so far,
(I have not used any option settings just put code in as suggested.) because
lots of errors come up.
For the graphics there are…
LaTeX Error: Cannot determine size of graphic in
C:/string"C:/Users/Mark/Download
For the command lines you said to insert there are…
Undefined control sequence.

Nevertheless I have continued to work in TeXworks to see how far I can get.
With the Tables of Contents and have got quite far…
  The new mini TOC’s seem to be behaving ok, and respond to depth changes,
but the initial Table of Contents still lists everything. I have tried a
number of things including…
\setcounter{minitocdepth}{1}
\dominitoc
\tableofcontents

Or …

\mtcsetdepth{minitoc}{1}
\dominitoc
\tableofcontents

But whatever figure I put in, the initial TOC depth remains unchanged,
listing everything.
I am probably missing something obvious, or it will be when pointed out :-)

Best Regards
Mark :-)








Re: New Feature Request: Chapter Contents

2013-10-13 Thread Andrew Parsloe



On 14/10/2013 5:35 a.m., Mark Horton wrote:

Mark Horton  yahoo.co.uk> writes:



Nevertheless I have continued to work in TeXworks to see how far I can

get.

With the Tables of Contents and have got quite far…
  The new mini TOC’s seem to be behaving ok, and respond to depth changes,
but the initial Table of Contents still lists everything. I have tried a
number of things including…
\setcounter{minitocdepth}{1}
\dominitoc
\tableofcontents

Or …

\mtcsetdepth{minitoc}{1}
\dominitoc
\tableofcontents

But whatever figure I put in, the initial TOC depth remains unchanged,
listing everything.
I am probably missing something obvious, or it will be when pointed out

Best Regards
Mark




An update...

I have now inserted the commands into a Lyx document using the Lyx
environment.
However I am still getting the problem of being unable to control the depth
of the initial Table of contents.



This is controlled in LyX by going to Document > Settings > Numbering & 
TOC and adjusting the slider.


Andrew


Re: New Feature Request: Chapter Contents

2013-10-09 Thread Andrew Parsloe



On 9/10/2013 11:34 a.m., Andrew Parsloe wrote:



Stephano has replied, but he has not used MikTeX and doesn't use windows.
Combining that with my near complete ignorance he has quite sensibly
suggested I try to find out about installing packages with MikTeX.

Having so far managed to produce a pretty impressive document (if only by
weight) in LyX I am quite keen to keep it up and finish it in LyX if I
can.


Mark



Have you managed to produce a pdf version of your document? If you have
then you most likely already have MiKTeX installed on your system. Go to
the Start button,  click on All Programs and scan down the list to
MiKTeX, click on that, then on Maintenance, then on Package Manager.
Scan down the list of packages until you come to minitoc. If it is
already installed there will be a date in the Installed on column. If
not, select minitoc and click the + button, upper left of the package
manager window. Assuming you are currently connected to the internet,
the minitoc package will be downloaded and installed for you.

I omitted one item in the recipe for using minitoc in my previous
posting. The sequence is this:

1. Add \usepackage{minitoc} to your document preamble

2. Insert \dominitoc in ERT (or TeX code) *before* your document's table
of contents

3. After each chapter heading insert \minitoc in ERT

That's it. All the rest is tinkering or catering for special
circumstances. The minitoc documentation is large, but only the first
two chapters are relevant to the user.

Andrew



Further to the above, I've attached a summary about using minitoc with 
LyX -- changing various settings. I was going to put it on the wiki, but 
it's not clear to me exactly where to put it.


Andrew


minitoc.lyx
Description: application/lyx


Re: New Feature Request: Chapter Contents

2013-10-09 Thread Andrew Parsloe



On 9/10/2013 11:34 a.m., Andrew Parsloe wrote:



Stephano has replied, but he has not used MikTeX and doesn't use windows.
Combining that with my near complete ignorance he has quite sensibly
suggested I try to find out about installing packages with MikTeX.

Having so far managed to produce a pretty impressive document (if only by
weight) in LyX I am quite keen to keep it up and finish it in LyX if I
can.


Mark



Have you managed to produce a pdf version of your document? If you have
then you most likely already have MiKTeX installed on your system. Go to
the Start button,  click on All Programs and scan down the list to
MiKTeX, click on that, then on Maintenance, then on Package Manager.
Scan down the list of packages until you come to minitoc. If it is
already installed there will be a date in the Installed on column. If
not, select minitoc and click the + button, upper left of the package
manager window. Assuming you are currently connected to the internet,
the minitoc package will be downloaded and installed for you.

I omitted one item in the recipe for using minitoc in my previous
posting. The sequence is this:

1. Add \usepackage{minitoc} to your document preamble

2. Insert \dominitoc in ERT (or TeX code) *before* your document's table
of contents

3. After each chapter heading insert \minitoc in ERT

That's it. All the rest is tinkering or catering for special
circumstances. The minitoc documentation is large, but only the first
two chapters are relevant to the user.

Andrew



Further to the above, I've attached a summary about using minitoc with 
LyX -- changing various settings. I was going to put it on the wiki, but 
it's not clear to me exactly where to put it.


Andrew


minitoc.lyx
Description: application/lyx


Re: New Feature Request: Chapter Contents

2013-10-09 Thread Andrew Parsloe



On 9/10/2013 11:34 a.m., Andrew Parsloe wrote:



Stephano has replied, but he has not used MikTeX and doesn't use windows.
Combining that with my near complete ignorance he has quite sensibly
suggested I try to find out about installing packages with MikTeX.

Having so far managed to produce a pretty impressive document (if only by
weight) in LyX I am quite keen to keep it up and finish it in LyX if I
can.


Mark



Have you managed to produce a pdf version of your document? If you have
then you most likely already have MiKTeX installed on your system. Go to
the Start button,  click on All Programs and scan down the list to
MiKTeX, click on that, then on Maintenance, then on Package Manager.
Scan down the list of packages until you come to minitoc. If it is
already installed there will be a date in the "Installed on" column. If
not, select minitoc and click the + button, upper left of the package
manager window. Assuming you are currently connected to the internet,
the minitoc package will be downloaded and installed for you.

I omitted one item in the recipe for using minitoc in my previous
posting. The sequence is this:

1. Add \usepackage{minitoc} to your document preamble

2. Insert \dominitoc in ERT (or TeX code) *before* your document's table
of contents

3. After each chapter heading insert \minitoc in ERT

That's it. All the rest is tinkering or catering for special
circumstances. The minitoc documentation is large, but only the first
two chapters are relevant to the user.

Andrew



Further to the above, I've attached a summary about using minitoc with 
LyX -- changing various settings. I was going to put it on the wiki, but 
it's not clear to me exactly where to put it.


Andrew


minitoc.lyx
Description: application/lyx


Re: New Feature Request: Chapter Contents

2013-10-08 Thread Mark Horton
stefano franchi stefano.franchi at gmail.com writes:

 
 
 
 On Mon, Oct 7, 2013 at 5:17 PM, Mark Horton mark.horton001 at 
yahoo.co.uk wrote:I found the package to do the job called Minitoc. 
 Unfortunately being anignorant beginner in this field  I don't know how to 
Install it  and make
 it work from Latex.
 
 
 
 Mark,
 
 installation of a Latex package is usually done, nowadays, by invoking the 
TeX package manager used by your TeX distribution. But there are several of 
those, and we can't help you further unless you tell us more about your 
system. Which platform are you on? Linux, Mac, Windows? How did you install 
(La)TeX? Detailed instructions on how to install the minitoc package depends 
on the answers to those questions.Cheers,Stefano
 
  
 
 
 -- __Stefano 
FranchiAssociate Research ProfessorDepartment of Hispanic Studies            
Ph:   +1 (979) 845-2125
 Texas AM University                          Fax:  +1 (979) 845-
6421College Station, Texas, USAstefano at 
tamu.eduhttp://stefano.cleinias.org
 
 
Wow Thanks Stephano, this is a very helpful group.

I am Using Windows 7 Home Premium and Lyx ver 2.06
I have downloaded an upgrade and don't remember exactly how I did the 
original.
I do remember it was very simple. I downloaded the Lyx file and then ran the 
Lyx installer application, choosing whatever defaults were offered. 
I don't recall installing La(Tex) in a separate process.

Regards

Mark :-)
 





Re: New Feature Request: Chapter Contents

2013-10-08 Thread Mark Horton
Mark Horton mark.horton001 at yahoo.co.uk writes:

 
 stefano franchi stefano.franchi at gmail.com writes:
 
  
  
  
  On Mon, Oct 7, 2013 at 5:17 PM, Mark Horton mark.horton001 at 
 yahoo.co.uk wrote:I found the package to do the job called Minitoc. 
  Unfortunately being anignorant beginner in this field  I don't know how 
to 
 Install it  and make
  it work from Latex.
  
  
  
  Mark,
  
  installation of a Latex package is usually done, nowadays, by invoking 
the 
 TeX package manager used by your TeX distribution. But there are several 
of 
 those, and we can't help you further unless you tell us more about your 
 system. Which platform are you on? Linux, Mac, Windows? How did you 
install 
 (La)TeX? Detailed instructions on how to install the minitoc package 
depends 
 on the answers to those questions.Cheers,Stefano
  
   
  
  
  -- __Stefano 
 FranchiAssociate Research ProfessorDepartment of Hispanic Studies         
   
 Ph:   +1 (979) 845-2125
  Texas AM University                          Fax:  +1 (979) 845-
 6421College Station, Texas, USAstefano at 
 tamu.eduhttp://stefano.cleinias.org
  
  
 Wow Thanks Stephano, this is a very helpful group.
 
 I am Using Windows 7 Home Premium and Lyx ver 2.06
 I have downloaded an upgrade and don't remember exactly how I did the 
 original.
 I do remember it was very simple. I downloaded the Lyx file and then ran 
the 
 Lyx installer application, choosing whatever defaults were offered. 
 I don't recall installing La(Tex) in a separate process.
 
 Regards
 
 Mark 
 
 
Stephano has replied, but he has not used MikTeX and doesn't use windows. 
Combining that with my near complete ignorance he has quite sensibly 
suggested I try to find out about installing packages with MikTeX.

Having so far managed to produce a pretty impressive document (if only by 
weight) in LyX I am quite keen to keep it up and finish it in LyX if I can.


Mark  







Re: New Feature Request: Chapter Contents

2013-10-08 Thread Andrew Parsloe



Stephano has replied, but he has not used MikTeX and doesn't use windows.
Combining that with my near complete ignorance he has quite sensibly
suggested I try to find out about installing packages with MikTeX.

Having so far managed to produce a pretty impressive document (if only by
weight) in LyX I am quite keen to keep it up and finish it in LyX if I can.


Mark



Have you managed to produce a pdf version of your document? If you have 
then you most likely already have MiKTeX installed on your system. Go to 
the Start button,  click on All Programs and scan down the list to 
MiKTeX, click on that, then on Maintenance, then on Package Manager. 
Scan down the list of packages until you come to minitoc. If it is 
already installed there will be a date in the Installed on column. If 
not, select minitoc and click the + button, upper left of the package 
manager window. Assuming you are currently connected to the internet, 
the minitoc package will be downloaded and installed for you.


I omitted one item in the recipe for using minitoc in my previous 
posting. The sequence is this:


1. Add \usepackage{minitoc} to your document preamble

2. Insert \dominitoc in ERT (or TeX code) *before* your document's table 
of contents


3. After each chapter heading insert \minitoc in ERT

That's it. All the rest is tinkering or catering for special 
circumstances. The minitoc documentation is large, but only the first 
two chapters are relevant to the user.


Andrew


Re: New Feature Request: Chapter Contents

2013-10-08 Thread Mark Horton
stefano franchi stefano.franchi at gmail.com writes:

 
 
 
 On Mon, Oct 7, 2013 at 5:17 PM, Mark Horton mark.horton001 at 
yahoo.co.uk wrote:I found the package to do the job called Minitoc. 
 Unfortunately being anignorant beginner in this field  I don't know how to 
Install it  and make
 it work from Latex.
 
 
 
 Mark,
 
 installation of a Latex package is usually done, nowadays, by invoking the 
TeX package manager used by your TeX distribution. But there are several of 
those, and we can't help you further unless you tell us more about your 
system. Which platform are you on? Linux, Mac, Windows? How did you install 
(La)TeX? Detailed instructions on how to install the minitoc package depends 
on the answers to those questions.Cheers,Stefano
 
  
 
 
 -- __Stefano 
FranchiAssociate Research ProfessorDepartment of Hispanic Studies            
Ph:   +1 (979) 845-2125
 Texas AM University                          Fax:  +1 (979) 845-
6421College Station, Texas, USAstefano at 
tamu.eduhttp://stefano.cleinias.org
 
 
Wow Thanks Stephano, this is a very helpful group.

I am Using Windows 7 Home Premium and Lyx ver 2.06
I have downloaded an upgrade and don't remember exactly how I did the 
original.
I do remember it was very simple. I downloaded the Lyx file and then ran the 
Lyx installer application, choosing whatever defaults were offered. 
I don't recall installing La(Tex) in a separate process.

Regards

Mark :-)
 





Re: New Feature Request: Chapter Contents

2013-10-08 Thread Mark Horton
Mark Horton mark.horton001 at yahoo.co.uk writes:

 
 stefano franchi stefano.franchi at gmail.com writes:
 
  
  
  
  On Mon, Oct 7, 2013 at 5:17 PM, Mark Horton mark.horton001 at 
 yahoo.co.uk wrote:I found the package to do the job called Minitoc. 
  Unfortunately being anignorant beginner in this field  I don't know how 
to 
 Install it  and make
  it work from Latex.
  
  
  
  Mark,
  
  installation of a Latex package is usually done, nowadays, by invoking 
the 
 TeX package manager used by your TeX distribution. But there are several 
of 
 those, and we can't help you further unless you tell us more about your 
 system. Which platform are you on? Linux, Mac, Windows? How did you 
install 
 (La)TeX? Detailed instructions on how to install the minitoc package 
depends 
 on the answers to those questions.Cheers,Stefano
  
   
  
  
  -- __Stefano 
 FranchiAssociate Research ProfessorDepartment of Hispanic Studies         
   
 Ph:   +1 (979) 845-2125
  Texas AM University                          Fax:  +1 (979) 845-
 6421College Station, Texas, USAstefano at 
 tamu.eduhttp://stefano.cleinias.org
  
  
 Wow Thanks Stephano, this is a very helpful group.
 
 I am Using Windows 7 Home Premium and Lyx ver 2.06
 I have downloaded an upgrade and don't remember exactly how I did the 
 original.
 I do remember it was very simple. I downloaded the Lyx file and then ran 
the 
 Lyx installer application, choosing whatever defaults were offered. 
 I don't recall installing La(Tex) in a separate process.
 
 Regards
 
 Mark 
 
 
Stephano has replied, but he has not used MikTeX and doesn't use windows. 
Combining that with my near complete ignorance he has quite sensibly 
suggested I try to find out about installing packages with MikTeX.

Having so far managed to produce a pretty impressive document (if only by 
weight) in LyX I am quite keen to keep it up and finish it in LyX if I can.


Mark  







Re: New Feature Request: Chapter Contents

2013-10-08 Thread Andrew Parsloe



Stephano has replied, but he has not used MikTeX and doesn't use windows.
Combining that with my near complete ignorance he has quite sensibly
suggested I try to find out about installing packages with MikTeX.

Having so far managed to produce a pretty impressive document (if only by
weight) in LyX I am quite keen to keep it up and finish it in LyX if I can.


Mark



Have you managed to produce a pdf version of your document? If you have 
then you most likely already have MiKTeX installed on your system. Go to 
the Start button,  click on All Programs and scan down the list to 
MiKTeX, click on that, then on Maintenance, then on Package Manager. 
Scan down the list of packages until you come to minitoc. If it is 
already installed there will be a date in the Installed on column. If 
not, select minitoc and click the + button, upper left of the package 
manager window. Assuming you are currently connected to the internet, 
the minitoc package will be downloaded and installed for you.


I omitted one item in the recipe for using minitoc in my previous 
posting. The sequence is this:


1. Add \usepackage{minitoc} to your document preamble

2. Insert \dominitoc in ERT (or TeX code) *before* your document's table 
of contents


3. After each chapter heading insert \minitoc in ERT

That's it. All the rest is tinkering or catering for special 
circumstances. The minitoc documentation is large, but only the first 
two chapters are relevant to the user.


Andrew


Re: New Feature Request: Chapter Contents

2013-10-08 Thread Mark Horton
stefano franchi  gmail.com> writes:

> 
> 
> 
> On Mon, Oct 7, 2013 at 5:17 PM, Mark Horton  
yahoo.co.uk> wrote:I found the "package" to do the job called Minitoc. 
 Unfortunately being anignorant beginner in this field  I don't know how to 
"Install it " and make
> it work from Latex.
> 
> 
> 
> Mark,
> 
> installation of a Latex package is usually done, nowadays, by invoking the 
TeX package manager used by your TeX distribution. But there are several of 
those, and we can't help you further unless you tell us more about your 
system. Which platform are you on? Linux, Mac, Windows? How did you install 
(La)TeX? Detailed instructions on how to install the minitoc package depends 
on the answers to those questions.Cheers,Stefano
> 
>  
> 
> 
> -- __Stefano 
FranchiAssociate Research ProfessorDepartment of Hispanic Studies            
Ph:   +1 (979) 845-2125
> Texas A University                          Fax:  +1 (979) 845-
6421College Station, Texas, USAstefano  
tamu.eduhttp://stefano.cleinias.org
> 
> 
Wow Thanks Stephano, this is a very helpful group.

I am Using Windows 7 Home Premium and Lyx ver 2.06
I have downloaded an upgrade and don't remember exactly how I did the 
original.
I do remember it was very simple. I downloaded the Lyx file and then ran the 
Lyx installer application, choosing whatever defaults were offered. 
I don't recall installing La(Tex) in a separate process.

Regards

Mark :-)
 





Re: New Feature Request: Chapter Contents

2013-10-08 Thread Mark Horton
Mark Horton  yahoo.co.uk> writes:

> 
> stefano franchi  gmail.com> writes:
> 
> > 
> > 
> > 
> > On Mon, Oct 7, 2013 at 5:17 PM, Mark Horton  
> yahoo.co.uk> wrote:I found the "package" to do the job called Minitoc. 
>  Unfortunately being anignorant beginner in this field  I don't know how 
to 
> "Install it " and make
> > it work from Latex.
> > 
> > 
> > 
> > Mark,
> > 
> > installation of a Latex package is usually done, nowadays, by invoking 
the 
> TeX package manager used by your TeX distribution. But there are several 
of 
> those, and we can't help you further unless you tell us more about your 
> system. Which platform are you on? Linux, Mac, Windows? How did you 
install 
> (La)TeX? Detailed instructions on how to install the minitoc package 
depends 
> on the answers to those questions.Cheers,Stefano
> > 
> >  
> > 
> > 
> > -- __Stefano 
> FranchiAssociate Research ProfessorDepartment of Hispanic Studies         
   
> Ph:   +1 (979) 845-2125
> > Texas A University                          Fax:  +1 (979) 845-
> 6421College Station, Texas, USAstefano  
> tamu.eduhttp://stefano.cleinias.org
> > 
> > 
> Wow Thanks Stephano, this is a very helpful group.
> 
> I am Using Windows 7 Home Premium and Lyx ver 2.06
> I have downloaded an upgrade and don't remember exactly how I did the 
> original.
> I do remember it was very simple. I downloaded the Lyx file and then ran 
the 
> Lyx installer application, choosing whatever defaults were offered. 
> I don't recall installing La(Tex) in a separate process.
> 
> Regards
> 
> Mark 
> 
> 
Stephano has replied, but he has not used MikTeX and doesn't use windows. 
Combining that with my near complete ignorance he has quite sensibly 
suggested I try to find out about installing packages with MikTeX.

Having so far managed to produce a pretty impressive document (if only by 
weight) in LyX I am quite keen to keep it up and finish it in LyX if I can.


Mark  







Re: New Feature Request: Chapter Contents

2013-10-08 Thread Andrew Parsloe



Stephano has replied, but he has not used MikTeX and doesn't use windows.
Combining that with my near complete ignorance he has quite sensibly
suggested I try to find out about installing packages with MikTeX.

Having so far managed to produce a pretty impressive document (if only by
weight) in LyX I am quite keen to keep it up and finish it in LyX if I can.


Mark



Have you managed to produce a pdf version of your document? If you have 
then you most likely already have MiKTeX installed on your system. Go to 
the Start button,  click on All Programs and scan down the list to 
MiKTeX, click on that, then on Maintenance, then on Package Manager. 
Scan down the list of packages until you come to minitoc. If it is 
already installed there will be a date in the "Installed on" column. If 
not, select minitoc and click the + button, upper left of the package 
manager window. Assuming you are currently connected to the internet, 
the minitoc package will be downloaded and installed for you.


I omitted one item in the recipe for using minitoc in my previous 
posting. The sequence is this:


1. Add \usepackage{minitoc} to your document preamble

2. Insert \dominitoc in ERT (or TeX code) *before* your document's table 
of contents


3. After each chapter heading insert \minitoc in ERT

That's it. All the rest is tinkering or catering for special 
circumstances. The minitoc documentation is large, but only the first 
two chapters are relevant to the user.


Andrew


Re: New Feature Request: Chapter Contents

2013-10-07 Thread Guenter Milde
On 2013-10-06, Andrew Parsloe wrote:
 On 7/10/2013 4:49 a.m., Richard Heck wrote:
 On 10/06/2013 07:33 AM, Mark Horton wrote:
 Hi Developers

 It would make navigation a lot easier for large documents if we had the
 the ability to generate a contents of Chapters at the start.

 Plus a more detailed contents page at the start of each Chapter.

...

 I've used the LaTeX minitoc package successfully with LyX for a large 
 book (600 pages). It creates a table of contents for each chapter, 
 inserted at the start of the chapter. I restricted the main TOC at the 
 start of the book to section level, but each chapter TOC was to 
 subsubsection level. Each chapter has \minitoc in ERT after the chapter 
 heading, but that's all, so ERT use is minimal. The preamble to the 
 master document (each chapter is a child document  has nothing in the 
 preamble) has

 \usepackage[tight]{minitoc}
 \setcounter{minitocdepth}{3}
 \setlength{\mtcindent}{24pt}
 \renewcommand{\mtcfont}{\small\rm}
 \renewcommand{\mtcSfont}{\small\bf}
 \renewcommand{\mtcSSSfont}{\footnotesize\it}
 \renewcommand{\mtctitle}{}

 which shows the kind of tailoring to individual whims that is possible.

It should be fairly easy to create a LyX module to support the minitoc
package.

Günter



Re: New Feature Request: Chapter Contents

2013-10-07 Thread Mark Horton
Guenter Milde milde at users.sf.net writes:

 
 On 2013-10-06, Andrew Parsloe wrote:
  On 7/10/2013 4:49 a.m., Richard Heck wrote:
  On 10/06/2013 07:33 AM, Mark Horton wrote:
  Hi Developers
 
  It would make navigation a lot easier for large documents if we had 
the
  the ability to generate a contents of Chapters at the start.
 
  Plus a more detailed contents page at the start of each Chapter.
 
 ...
 
  I've used the LaTeX minitoc package successfully with LyX for a large 
  book (600 pages). It creates a table of contents for each chapter, 
  inserted at the start of the chapter. I restricted the main TOC at the 
  start of the book to section level, but each chapter TOC was to 
  subsubsection level. Each chapter has \minitoc in ERT after the chapter 
  heading, but that's all, so ERT use is minimal. The preamble to the 
  master document (each chapter is a child document  has nothing in the 
  preamble) has
 
  \usepackage[tight]{minitoc}
  \setcounter{minitocdepth}{3}
  \setlength{\mtcindent}{24pt}
  \renewcommand{\mtcfont}{\small\rm}
  \renewcommand{\mtcSfont}{\small\bf}
  \renewcommand{\mtcSSSfont}{\footnotesize\it}
  \renewcommand{\mtctitle}{}
 
  which shows the kind of tailoring to individual whims that is possible.
 
 It should be fairly easy to create a LyX module to support the minitoc
 package.
 
 Günter
 
 
Hi Richard Andrew and Günter

Thanks for your replies.

I found the package to do the job called Minitoc.  Unfortunately being an 
ignorant beginner in this field  I don't know how to Install it  and make 
it work from Latex.

It appears to have no windows type executable or install files in the set I 
have downloaded. Though I guess some of them may be some sort of macro 
runable in Latex based software.

The installation instructions suggest were some files should go, but I 
haven't found were all of them should go yet. Even if they were all located 
it gives no indication as to what to do next. 
 
Is there somewhere on the LyX site which gives some general guide to the 
principles of installing such packages to use from Lyx?  Or am I thinking 
nonsense that won't happen for reasons I don't understand? Is the long 
learning curve of Latex the only way forwards for me?

Best Regards

Mark :-)





Re: New Feature Request: Chapter Contents

2013-10-07 Thread stefano franchi
On Mon, Oct 7, 2013 at 5:17 PM, Mark Horton mark.horton...@yahoo.co.ukwrote:

 I found the package to do the job called Minitoc.  Unfortunately being an
 ignorant beginner in this field  I don't know how to Install it  and make
 it work from Latex.


Mark,

installation of a Latex package is usually done, nowadays, by invoking the
TeX package manager used by your TeX distribution. But there are several of
those, and we can't help you further unless you tell us more about your
system. Which platform are you on? Linux, Mac, Windows? How did you install
(La)TeX? Detailed instructions on how to install the minitoc package
depends on the answers to those questions.


Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: New Feature Request: Chapter Contents

2013-10-07 Thread Guenter Milde
On 2013-10-06, Andrew Parsloe wrote:
 On 7/10/2013 4:49 a.m., Richard Heck wrote:
 On 10/06/2013 07:33 AM, Mark Horton wrote:
 Hi Developers

 It would make navigation a lot easier for large documents if we had the
 the ability to generate a contents of Chapters at the start.

 Plus a more detailed contents page at the start of each Chapter.

...

 I've used the LaTeX minitoc package successfully with LyX for a large 
 book (600 pages). It creates a table of contents for each chapter, 
 inserted at the start of the chapter. I restricted the main TOC at the 
 start of the book to section level, but each chapter TOC was to 
 subsubsection level. Each chapter has \minitoc in ERT after the chapter 
 heading, but that's all, so ERT use is minimal. The preamble to the 
 master document (each chapter is a child document  has nothing in the 
 preamble) has

 \usepackage[tight]{minitoc}
 \setcounter{minitocdepth}{3}
 \setlength{\mtcindent}{24pt}
 \renewcommand{\mtcfont}{\small\rm}
 \renewcommand{\mtcSfont}{\small\bf}
 \renewcommand{\mtcSSSfont}{\footnotesize\it}
 \renewcommand{\mtctitle}{}

 which shows the kind of tailoring to individual whims that is possible.

It should be fairly easy to create a LyX module to support the minitoc
package.

Günter



Re: New Feature Request: Chapter Contents

2013-10-07 Thread Mark Horton
Guenter Milde milde at users.sf.net writes:

 
 On 2013-10-06, Andrew Parsloe wrote:
  On 7/10/2013 4:49 a.m., Richard Heck wrote:
  On 10/06/2013 07:33 AM, Mark Horton wrote:
  Hi Developers
 
  It would make navigation a lot easier for large documents if we had 
the
  the ability to generate a contents of Chapters at the start.
 
  Plus a more detailed contents page at the start of each Chapter.
 
 ...
 
  I've used the LaTeX minitoc package successfully with LyX for a large 
  book (600 pages). It creates a table of contents for each chapter, 
  inserted at the start of the chapter. I restricted the main TOC at the 
  start of the book to section level, but each chapter TOC was to 
  subsubsection level. Each chapter has \minitoc in ERT after the chapter 
  heading, but that's all, so ERT use is minimal. The preamble to the 
  master document (each chapter is a child document  has nothing in the 
  preamble) has
 
  \usepackage[tight]{minitoc}
  \setcounter{minitocdepth}{3}
  \setlength{\mtcindent}{24pt}
  \renewcommand{\mtcfont}{\small\rm}
  \renewcommand{\mtcSfont}{\small\bf}
  \renewcommand{\mtcSSSfont}{\footnotesize\it}
  \renewcommand{\mtctitle}{}
 
  which shows the kind of tailoring to individual whims that is possible.
 
 It should be fairly easy to create a LyX module to support the minitoc
 package.
 
 Günter
 
 
Hi Richard Andrew and Günter

Thanks for your replies.

I found the package to do the job called Minitoc.  Unfortunately being an 
ignorant beginner in this field  I don't know how to Install it  and make 
it work from Latex.

It appears to have no windows type executable or install files in the set I 
have downloaded. Though I guess some of them may be some sort of macro 
runable in Latex based software.

The installation instructions suggest were some files should go, but I 
haven't found were all of them should go yet. Even if they were all located 
it gives no indication as to what to do next. 
 
Is there somewhere on the LyX site which gives some general guide to the 
principles of installing such packages to use from Lyx?  Or am I thinking 
nonsense that won't happen for reasons I don't understand? Is the long 
learning curve of Latex the only way forwards for me?

Best Regards

Mark :-)





Re: New Feature Request: Chapter Contents

2013-10-07 Thread stefano franchi
On Mon, Oct 7, 2013 at 5:17 PM, Mark Horton mark.horton...@yahoo.co.ukwrote:

 I found the package to do the job called Minitoc.  Unfortunately being an
 ignorant beginner in this field  I don't know how to Install it  and make
 it work from Latex.


Mark,

installation of a Latex package is usually done, nowadays, by invoking the
TeX package manager used by your TeX distribution. But there are several of
those, and we can't help you further unless you tell us more about your
system. Which platform are you on? Linux, Mac, Windows? How did you install
(La)TeX? Detailed instructions on how to install the minitoc package
depends on the answers to those questions.


Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: New Feature Request: Chapter Contents

2013-10-07 Thread Guenter Milde
On 2013-10-06, Andrew Parsloe wrote:
> On 7/10/2013 4:49 a.m., Richard Heck wrote:
>> On 10/06/2013 07:33 AM, Mark Horton wrote:
>>> Hi Developers

>>> It would make navigation a lot easier for large documents if we had the
>>> the ability to generate a contents of Chapters at the start.

>>> Plus a more detailed contents page at the start of each Chapter.

...

> I've used the LaTeX minitoc package successfully with LyX for a large 
> book (600 pages). It creates a table of contents for each chapter, 
> inserted at the start of the chapter. I restricted the main TOC at the 
> start of the book to section level, but each chapter TOC was to 
> subsubsection level. Each chapter has \minitoc in ERT after the chapter 
> heading, but that's all, so ERT use is minimal. The preamble to the 
> master document (each chapter is a child document & has nothing in the 
> preamble) has

> \usepackage[tight]{minitoc}
> \setcounter{minitocdepth}{3}
> \setlength{\mtcindent}{24pt}
> \renewcommand{\mtcfont}{\small\rm}
> \renewcommand{\mtcSfont}{\small\bf}
> \renewcommand{\mtcSSSfont}{\footnotesize\it}
> \renewcommand{\mtctitle}{}

> which shows the kind of tailoring to individual whims that is possible.

It should be fairly easy to create a LyX module to support the minitoc
package.

Günter



Re: New Feature Request: Chapter Contents

2013-10-07 Thread Mark Horton
Guenter Milde  users.sf.net> writes:

> 
> On 2013-10-06, Andrew Parsloe wrote:
> > On 7/10/2013 4:49 a.m., Richard Heck wrote:
> >> On 10/06/2013 07:33 AM, Mark Horton wrote:
> >>> Hi Developers
> 
> >>> It would make navigation a lot easier for large documents if we had 
the
> >>> the ability to generate a contents of Chapters at the start.
> 
> >>> Plus a more detailed contents page at the start of each Chapter.
> 
> ...
> 
> > I've used the LaTeX minitoc package successfully with LyX for a large 
> > book (600 pages). It creates a table of contents for each chapter, 
> > inserted at the start of the chapter. I restricted the main TOC at the 
> > start of the book to section level, but each chapter TOC was to 
> > subsubsection level. Each chapter has \minitoc in ERT after the chapter 
> > heading, but that's all, so ERT use is minimal. The preamble to the 
> > master document (each chapter is a child document & has nothing in the 
> > preamble) has
> 
> > \usepackage[tight]{minitoc}
> > \setcounter{minitocdepth}{3}
> > \setlength{\mtcindent}{24pt}
> > \renewcommand{\mtcfont}{\small\rm}
> > \renewcommand{\mtcSfont}{\small\bf}
> > \renewcommand{\mtcSSSfont}{\footnotesize\it}
> > \renewcommand{\mtctitle}{}
> 
> > which shows the kind of tailoring to individual whims that is possible.
> 
> It should be fairly easy to create a LyX module to support the minitoc
> package.
> 
> Günter
> 
> 
Hi Richard Andrew and Günter

Thanks for your replies.

I found the "package" to do the job called Minitoc.  Unfortunately being an 
ignorant beginner in this field  I don't know how to "Install it " and make 
it work from Latex.

It appears to have no windows type executable or install files in the set I 
have downloaded. Though I guess some of them may be some sort of macro 
runable in Latex based software.

The installation "instructions" suggest were some files should go, but I 
haven't found were all of them should go yet. Even if they were all located 
it gives no indication as to what to do next. 
 
Is there somewhere on the LyX site which gives some general guide to the 
principles of installing such packages to use from Lyx?  Or am I thinking 
nonsense that won't happen for reasons I don't understand? Is the long 
learning curve of Latex the only way forwards for me?

Best Regards

Mark :-)





Re: New Feature Request: Chapter Contents

2013-10-07 Thread stefano franchi
On Mon, Oct 7, 2013 at 5:17 PM, Mark Horton wrote:

> I found the "package" to do the job called Minitoc.  Unfortunately being an
> ignorant beginner in this field  I don't know how to "Install it " and make
> it work from Latex.
>
>
Mark,

installation of a Latex package is usually done, nowadays, by invoking the
TeX package manager used by your TeX distribution. But there are several of
those, and we can't help you further unless you tell us more about your
system. Which platform are you on? Linux, Mac, Windows? How did you install
(La)TeX? Detailed instructions on how to install the minitoc package
depends on the answers to those questions.


Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


New Feature Request: Chapter Contents

2013-10-06 Thread Mark Horton
Hi Developers

It would make navigation a lot easier for large documents if we had the
the ability to generate a contents of Chapters at the start.

Plus a more detailed contents page at the start of each Chapter. 


Best Regards

Mark Horton



Re: New Feature Request: Chapter Contents

2013-10-06 Thread Richard Heck

On 10/06/2013 07:33 AM, Mark Horton wrote:

Hi Developers

It would make navigation a lot easier for large documents if we had the
the ability to generate a contents of Chapters at the start.

Plus a more detailed contents page at the start of each Chapter.


This is a LaTeX issue, first and foremost. It's easy to get only the 
chapters in the TOC initially. (See Document Settings Numbering and 
TOC). It's getting the TOCs for each chapter that is the issue. But I 
believe there are LaTeX packages that will do this. Go to CTAN.org and 
search for them, or try googling. If you can find it, then, at a bare 
minimum, you could do this with ERT, and you can also file an 
enhancement request for native support for the package.


Richard



Re: New Feature Request: Chapter Contents

2013-10-06 Thread Andrew Parsloe

On 7/10/2013 4:49 a.m., Richard Heck wrote:

On 10/06/2013 07:33 AM, Mark Horton wrote:

Hi Developers

It would make navigation a lot easier for large documents if we had the
the ability to generate a contents of Chapters at the start.

Plus a more detailed contents page at the start of each Chapter.


This is a LaTeX issue, first and foremost. It's easy to get only the
chapters in the TOC initially. (See Document Settings Numbering and
TOC). It's getting the TOCs for each chapter that is the issue. But I
believe there are LaTeX packages that will do this. Go to CTAN.org and
search for them, or try googling. If you can find it, then, at a bare
minimum, you could do this with ERT, and you can also file an
enhancement request for native support for the package.

Richard



I've used the LaTeX minitoc package successfully with LyX for a large 
book (600 pages). It creates a table of contents for each chapter, 
inserted at the start of the chapter. I restricted the main TOC at the 
start of the book to section level, but each chapter TOC was to 
subsubsection level. Each chapter has \minitoc in ERT after the chapter 
heading, but that's all, so ERT use is minimal. The preamble to the 
master document (each chapter is a child document  has nothing in the 
preamble) has


\usepackage[tight]{minitoc}
\setcounter{minitocdepth}{3}
\setlength{\mtcindent}{24pt}
\renewcommand{\mtcfont}{\small\rm}
\renewcommand{\mtcSfont}{\small\bf}
\renewcommand{\mtcSSSfont}{\footnotesize\it}
\renewcommand{\mtctitle}{}

which shows the kind of tailoring to individual whims that is possible.

Andrew


Re: New Feature Request: Chapter Contents

2013-10-06 Thread Richard Heck

On 10/06/2013 07:33 AM, Mark Horton wrote:

 Hi Developers

 It would make navigation a lot easier for large documents if we had the
 the ability to generate a contents of Chapters at the start.

 Plus a more detailed contents page at the start of each Chapter.

This is a LaTeX issue, first and foremost. It's easy to get only the 
chapters in the TOC initially. (See Document Settings Numbering and 
TOC). It's getting the TOCs for each chapter that is the issue. But I 
believe there are LaTeX packages that will do this. Go to CTAN.org 
and search for them, or try googling. If you can find it, then, at a 
bare minimum, you could do this with ERT, and you can also file an 
enhancement request for native support for the package.




Thanks for the prompt reply.

I have found a package to do the job called Minitoc. Unfortunately 
being an ignorant beginner in this field  I don't know how to Install 
it  and make it work from Latex.


What OS are you using? There's probably a Package Manager of some sort 
you can use to install the package.


Andrew's instructions on how to use minitoc can be explained in more 
detail once we have the package installed.


Richard

PS Keep replies on the list, in case someone else has similar questions.



New Feature Request: Chapter Contents

2013-10-06 Thread Mark Horton
Hi Developers

It would make navigation a lot easier for large documents if we had the
the ability to generate a contents of Chapters at the start.

Plus a more detailed contents page at the start of each Chapter. 


Best Regards

Mark Horton



Re: New Feature Request: Chapter Contents

2013-10-06 Thread Richard Heck

On 10/06/2013 07:33 AM, Mark Horton wrote:

Hi Developers

It would make navigation a lot easier for large documents if we had the
the ability to generate a contents of Chapters at the start.

Plus a more detailed contents page at the start of each Chapter.


This is a LaTeX issue, first and foremost. It's easy to get only the 
chapters in the TOC initially. (See Document Settings Numbering and 
TOC). It's getting the TOCs for each chapter that is the issue. But I 
believe there are LaTeX packages that will do this. Go to CTAN.org and 
search for them, or try googling. If you can find it, then, at a bare 
minimum, you could do this with ERT, and you can also file an 
enhancement request for native support for the package.


Richard



Re: New Feature Request: Chapter Contents

2013-10-06 Thread Andrew Parsloe

On 7/10/2013 4:49 a.m., Richard Heck wrote:

On 10/06/2013 07:33 AM, Mark Horton wrote:

Hi Developers

It would make navigation a lot easier for large documents if we had the
the ability to generate a contents of Chapters at the start.

Plus a more detailed contents page at the start of each Chapter.


This is a LaTeX issue, first and foremost. It's easy to get only the
chapters in the TOC initially. (See Document Settings Numbering and
TOC). It's getting the TOCs for each chapter that is the issue. But I
believe there are LaTeX packages that will do this. Go to CTAN.org and
search for them, or try googling. If you can find it, then, at a bare
minimum, you could do this with ERT, and you can also file an
enhancement request for native support for the package.

Richard



I've used the LaTeX minitoc package successfully with LyX for a large 
book (600 pages). It creates a table of contents for each chapter, 
inserted at the start of the chapter. I restricted the main TOC at the 
start of the book to section level, but each chapter TOC was to 
subsubsection level. Each chapter has \minitoc in ERT after the chapter 
heading, but that's all, so ERT use is minimal. The preamble to the 
master document (each chapter is a child document  has nothing in the 
preamble) has


\usepackage[tight]{minitoc}
\setcounter{minitocdepth}{3}
\setlength{\mtcindent}{24pt}
\renewcommand{\mtcfont}{\small\rm}
\renewcommand{\mtcSfont}{\small\bf}
\renewcommand{\mtcSSSfont}{\footnotesize\it}
\renewcommand{\mtctitle}{}

which shows the kind of tailoring to individual whims that is possible.

Andrew


Re: New Feature Request: Chapter Contents

2013-10-06 Thread Richard Heck

On 10/06/2013 07:33 AM, Mark Horton wrote:

 Hi Developers

 It would make navigation a lot easier for large documents if we had the
 the ability to generate a contents of Chapters at the start.

 Plus a more detailed contents page at the start of each Chapter.

This is a LaTeX issue, first and foremost. It's easy to get only the 
chapters in the TOC initially. (See Document Settings Numbering and 
TOC). It's getting the TOCs for each chapter that is the issue. But I 
believe there are LaTeX packages that will do this. Go to CTAN.org 
and search for them, or try googling. If you can find it, then, at a 
bare minimum, you could do this with ERT, and you can also file an 
enhancement request for native support for the package.




Thanks for the prompt reply.

I have found a package to do the job called Minitoc. Unfortunately 
being an ignorant beginner in this field  I don't know how to Install 
it  and make it work from Latex.


What OS are you using? There's probably a Package Manager of some sort 
you can use to install the package.


Andrew's instructions on how to use minitoc can be explained in more 
detail once we have the package installed.


Richard

PS Keep replies on the list, in case someone else has similar questions.



New Feature Request: Chapter Contents

2013-10-06 Thread Mark Horton
Hi Developers

It would make navigation a lot easier for large documents if we had the
the ability to generate a contents of Chapters at the start.

Plus a more detailed contents page at the start of each Chapter. 


Best Regards

Mark Horton



Re: New Feature Request: Chapter Contents

2013-10-06 Thread Richard Heck

On 10/06/2013 07:33 AM, Mark Horton wrote:

Hi Developers

It would make navigation a lot easier for large documents if we had the
the ability to generate a contents of Chapters at the start.

Plus a more detailed contents page at the start of each Chapter.


This is a LaTeX issue, first and foremost. It's easy to get only the 
chapters in the TOC initially. (See Document> Settings> Numbering and 
TOC). It's getting the TOCs for each chapter that is the issue. But I 
believe there are LaTeX packages that will do this. Go to CTAN.org and 
search for them, or try googling. If you can find it, then, at a bare 
minimum, you could do this with ERT, and you can also file an 
enhancement request for native support for the package.


Richard



Re: New Feature Request: Chapter Contents

2013-10-06 Thread Andrew Parsloe

On 7/10/2013 4:49 a.m., Richard Heck wrote:

On 10/06/2013 07:33 AM, Mark Horton wrote:

Hi Developers

It would make navigation a lot easier for large documents if we had the
the ability to generate a contents of Chapters at the start.

Plus a more detailed contents page at the start of each Chapter.


This is a LaTeX issue, first and foremost. It's easy to get only the
chapters in the TOC initially. (See Document> Settings> Numbering and
TOC). It's getting the TOCs for each chapter that is the issue. But I
believe there are LaTeX packages that will do this. Go to CTAN.org and
search for them, or try googling. If you can find it, then, at a bare
minimum, you could do this with ERT, and you can also file an
enhancement request for native support for the package.

Richard



I've used the LaTeX minitoc package successfully with LyX for a large 
book (600 pages). It creates a table of contents for each chapter, 
inserted at the start of the chapter. I restricted the main TOC at the 
start of the book to section level, but each chapter TOC was to 
subsubsection level. Each chapter has \minitoc in ERT after the chapter 
heading, but that's all, so ERT use is minimal. The preamble to the 
master document (each chapter is a child document & has nothing in the 
preamble) has


\usepackage[tight]{minitoc}
\setcounter{minitocdepth}{3}
\setlength{\mtcindent}{24pt}
\renewcommand{\mtcfont}{\small\rm}
\renewcommand{\mtcSfont}{\small\bf}
\renewcommand{\mtcSSSfont}{\footnotesize\it}
\renewcommand{\mtctitle}{}

which shows the kind of tailoring to individual whims that is possible.

Andrew


Re: New Feature Request: Chapter Contents

2013-10-06 Thread Richard Heck

On 10/06/2013 07:33 AM, Mark Horton wrote:

> Hi Developers
>
> It would make navigation a lot easier for large documents if we had the
> the ability to generate a contents of Chapters at the start.
>
> Plus a more detailed contents page at the start of each Chapter.

This is a LaTeX issue, first and foremost. It's easy to get only the 
chapters in the TOC initially. (See Document> Settings> Numbering and 
TOC). It's getting the TOCs for each chapter that is the issue. But I 
believe there are LaTeX packages that will do this. Go to CTAN.org 
and search for them, or try googling. If you can find it, then, at a 
bare minimum, you could do this with ERT, and you can also file an 
enhancement request for native support for the package.




Thanks for the prompt reply.

I have found a "package" to do the job called Minitoc. Unfortunately 
being an ignorant beginner in this field  I don't know how to "Install 
it " and make it work from Latex.


What OS are you using? There's probably a Package Manager of some sort 
you can use to install the package.


Andrew's instructions on how to use minitoc can be explained in more 
detail once we have the package installed.


Richard

PS Keep replies on the list, in case someone else has similar questions.