Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • Please include a link to the class Commented Sep 3 at 15:28
  • I edited the post with the link to the class, which is the following: github.com/fmarotta/kaobook Commented Sep 3 at 15:31
  • 1
    The class uses etoc and scrbook. The definition of \l@tomo is therefore completely wrong. Commented Sep 3 at 15:46
  • I know, but the question is different: is there any other way to achieve the same behaviour? I was mainly linking to previous replies to avoid getting flagged for duplicated question, as this is the same problem, but on a different class. Thanks, Commented Sep 3 at 15:50
  • ok, but there is not much point copying code you know will error when you know the reason. you could link the question and just say that it depends on code specific to memoir or whatever. it would be better to explain what you've found in the docs for the class you are using (or koma docs in this case). Commented Sep 3 at 18:04