I am using wkhtmltopdf 0.12.5 with NReco (Asp.net core). I have set TOC to true
HtmlToPdf.GenerateToc = true;
HtmlToPdf.TocHeaderText = "INNEHÅLLSFÖRTECKNING";
I am getting document outline with the proper header text but toc is not generated. Am I missing anything?