It works! Sections in the toc now open and close:
Good that it works, thanks for the feedback.
\def\pd@tocsection#1{\ifnum\@tempcntb=\c@pd@section $\blacktriangledown$\bfseries\ #1\else $\blacktriangleright$\bfseries\ #1\fi} Thank's a lot Hendri (for the package and for the help!)
You're welcome. Best, -Hendri.