0

I have a rather large online textbook with four levels (from part to subsection) and about 50 to 70 elements in the toc. All of them are shown in the minitoc on the left side. This makes it very uneasy to read. I would like to have in the minitoc only the top level entries (part) and for the one part in which I'm reading a page to show all entries. Is that possible, and how? Best,

Christian

  • Welcome. You can modify the counters tocdepth and minitocdepth. See: tex.stackexchange.com/questions/348278/… – Marco Daniel Mar 20 '17 at 11:51
  • Thanks, but that is not what I want. I'll try to be more specific. If I view a page in part 3, I'd like the toc to show: Part 1, Part 2, Part 3, Chapter 3.1, Section 3.1.1, Sec, 3.1.2,Chapter 3.2, Sec. 3.2.1, Sec. 3.2.2, Part 4, Part 5... So the details only for the chapter I'm currently reading. If I go to a page in Part 1 (e.g. with a link) then the toc should show details of Part 1, but not of Part 3 anymore. – ChristianB Mar 20 '17 at 12:02
  • can you please show us a minimal example of your code? – touhami Mar 20 '17 at 12:57
  • How is this connected to htlatex? – user31729 Mar 20 '17 at 15:04
  • @ChristianHupfer hello :-) tex.stackexchange.com/questions/317686/… – touhami Mar 20 '17 at 17:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.