Can't get Table of Contents to generate

I cannot get a table of contents to generate when compiling any format except Kindle.
That is fine for most of my projects, But I would like to compile a pdf, for example, and have the section titles become elements of my table of contents, as it does on the Kindle export.
I know how to do this after the fact in Word or HTML, but it would be nice if I could do it on compile.

Pablo

We do have plans to add a custom TOC feature for additional formats as we’re able to support them (in part it depends on the tools and such we have available for compiling to the different formats), but at the moment for non-ebook formats you’ll need to do this post-compile, in Word or such, as you’ve been doing.