tableofcontents.py: try and allow for differecnt dot kinds
tableofcontents.py: try and allow for differecnt dot kinds

Distrotech/reportlab,Distrotech/reportlab,Distrotech/reportlab,kanarelo/reportlab,kanarelo/reportlab,Distrotech/reportlab,Distrotech/reportlab,kanarelo/reportlab,kanarelo/reportlab,kanarelo/reportlab