Menu

#30 typo in KOMA-code: \@dottedtoclilne

KOMA-Script 3.37
closed
2022-06-18
2022-06-17
U_Fischer
No

This looks like a typo (\@dottedtoclilne instead of \@dottedtocline) :

 \newcommand*{\before@starttoc}[1]{%
   \let\scr@dottedtocline=\@dottedtoclilne        

See here for an example where it errors
https://tex.stackexchange.com/q/648056/2388

Discussion

  • Markus Kohm

    Markus Kohm - 2022-06-17
    • labels: --> scrbook, scrreprt, scrartcl, bug
    • status: open --> pending
    • assigned_to: Markus Kohm
     
  • Markus Kohm

    Markus Kohm - 2022-06-17

    Thank you for the report. Should be fixed in [r3892], but currently not tested.

     

    Related

    Commit: [r3892]

  • Markus Kohm

    Markus Kohm - 2022-06-18
    • status: pending --> closed
     
  • Markus Kohm

    Markus Kohm - 2022-06-18

    I've tested and the fix works.

    However the example on TeX.SX has some more issues. So I would also recommend to replace the deprecated options BCOR5mm and pointlessnumber and to add package scrhack. Moreover the \addcontentsline may be to late, i.e., if the (List of) Listings (which is titled Quellcodeverzeichnis in the Table of Contents) would have more than one page. This problem also could be solved using scrhack and features of tocbasic instead of the wrong placed \addcontentsline command.

    New pre-relase will be available soon. (The build process has been started and should successfully finish in about an hour).

     

    Last edit: Markus Kohm 2022-06-18

Log in to post a comment.