|
From: | D. C. Toedt |
Subject: | [O] TOC local for specified heading and its subheadings - now broken? |
Date: | Mon, 30 Jul 2018 15:48:40 +0100 |
#+toc: headlines 1 :headline #headline
or
#+toc: headlines 1 :target #headline
since TOC keywords always refer to headlines.
#+TITLE: Test of subTOC for specified headline* Section 1:PROPERTIES::CUSTOM_ID: SectionOne:END:** Section 1.1:PROPERTIES::CUSTOM_ID: SecOneOne:END:Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam interdum dui eu commodo sodales. Nunc ac pulvinar augue. Suspendisse sagittis tempus aliquet. Ut placerat, magna quis blandit pretium, risus libero maximus dui, non sollicitudin ligula orci non massa. Morbi bibendum facilisis elit a congue. Suspendisse blandit iaculis quam, sed molestie leo. Nulla porttitor leo eu urna fermentum pretium. In congue nulla laoreet nunc accumsan, vel malesuada lacus porta. Praesent vulputate arcu lectus, vitae tincidunt elit laoreet eget. Suspendisse lobortis nibh sed est scelerisque imperdiet.** Another section: 1.2:PROPERTIES::CUSTOM_ID: SecOneTwo:END:Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam interdum dui eu commodo sodales. Nunc ac pulvinar augue. Suspendisse sagittis tempus aliquet. Ut placerat, magna quis blandit pretium, risus libero maximus dui, non sollicitudin ligula orci non massa. Morbi bibendum facilisis elit a congue. Suspendisse blandit iaculis quam, sed molestie leo. Nulla porttitor leo eu urna fermentum pretium. In congue nulla laoreet nunc accumsan, vel malesuada lacus porta. Praesent vulputate arcu lectus, vitae tincidunt elit laoreet eget. Suspendisse lobortis nibh sed est scelerisque imperdiet.* Next top-level section: Two:PROPERTIES::CUSTOM_ID: SecTwo:END:The next portion should be a sub-TOC for Section 1:#+TOC: headlines 2 :target #SectionOneBut what it produces is a complete table of contents.So let's try adding "local" as a keyword:#+TOC: headlines 2 local :target #SectionOneBut that produces no TOC at all.
[Prev in Thread] | Current Thread | [Next in Thread] |