Jason-S-Ross / ox-context

An Org Mode export backend for ConTeXt
13 stars 4 forks source link

#+OPTIONS: toc:nil Not respected by exporter #3

Closed Jason-S-Ross closed 2 years ago

Jason-S-Ross commented 2 years ago

Per email from Axel https://orgmode.org/list/5A3DD97F-AFA0-4A5A-A62A-3A7BDA822689@axelkielhorn.de/

\placecontent commands are now part of org-context-inner-templates-alist so they don't respect #+options: toc anymore.

A potential fix is to add a specification character to the inner templates for the table of contents command and check if the table of contents is enabled before placing it in the document.