LyXPartial ToC

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
marcos
Posts: 14
Joined: Mon Feb 04, 2013 10:45 am

Partial ToC

Post by marcos »

Hello,

I am trying to ear how to use the minitoc package to produce chapter-level
toc's for my thesis. And I am failing. I look at the previous messages on this
list, the wiki page, then into the package documentation...and I got
lost.

I have a book document (class books(Koma-script)) which is made up of a master
document and several sub-documents, one per chapter, which I include with the \include.

I tried
\userpackage{minitoc} in the preamble and \dominitoc at the top of the master document and then \minitoc at the place where I want the minitoc to appear in each subdocument. But nothing happens.

Sorry if this is an answered question but I'm at the end and had no much time to test other things.
Last edited by cgnieder on Tue May 07, 2013 6:56 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
tommytex
Posts: 39
Joined: Wed Jan 23, 2013 10:04 pm

Partial ToC

Post by tommytex »

Hi,

check if you used \usepackage not \userpackage. See the manual for closer description of the usage of minitoc. Try to use the commands written on page 4.


greez tommytex ;)
marcos
Posts: 14
Joined: Mon Feb 04, 2013 10:45 am

Partial ToC

Post by marcos »

Hello,

Thank you for your help. I tried again in another computer, and it works (don't know why and I have no time now to look at). I had other problem: the ToC of chapter 1 appears at the beginning of chapter 2 and so on. I have found a solution in this topic.

The problem now is that the ToC of the first chapter is not showed (all other chapters are OK) and I don't figure how to fix it.

Thank you again
User avatar
tommytex
Posts: 39
Joined: Wed Jan 23, 2013 10:04 pm

Partial ToC

Post by tommytex »

hm spooky :shock:

maybe you should check if
  • the chapter is listed: chapter vs. chapter*
  • you have set all the counters correctly (i don't know which minitoc uses, but maybe the chapter counter or section counter itself)
  • maybe there is not enough space on your page or some weird pagestyle -> check the warnings latex produces!!

greez tommytex :mrgreen:

good luck
marcos
Posts: 14
Joined: Mon Feb 04, 2013 10:45 am

Partial ToC

Post by marcos »

Thank you for your help.
Finally I found the solution: I had to use the

Code: Select all

\adjustmtc
just after the first chapter and not afther the second!!
Post Reply