On Friday, 4 Mar 2016 at 18:26, Eduardo Mercovich wrote: > Hi Eric. > >>> Troubleshooting a lack of ToC content in a exported PDF from org, I >>> found this issue. [...] > >> Make sure you have >> #+options: num:t >> set. Otherwise, sections are unnumbered. I'm not sure what the default >> is. Maybe you have "num:nil"? > > I had nothing in the document, and your suggestion did the trick. > Thank you! :) > > However, I can't find this in the documentation... shouldn't something > like this be the default? If not, the ToC and the links are not rendered > or non-functional.
It is documented, in [[info:org#Export%20settings][info:org#Export settings]], ,---- | ‘num:’ | Toggle section-numbers (‘org-export-with-section-numbers’). It can | also be set to a number ‘n’, so only headlines at that level or | above will be numbered. Finally, irrespective of the level of a | specific headline, the numbering of it can be disabled by setting | the ‘UNNUMBERED’ property to non-‘nil’. This also affects | subheadings. `---- Easy to miss as it is not LaTeX specific, of course. It's a general setting that affects potentially any export engine but is obviously only relevant to some. -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.4-626-gb62d55