Ken Mankoff <mank...@gmail.com> writes: > * On 2014-07-10 at 17:08, Thomas S. Dye wrote: >> Aloha Ken, >> >> Ken Mankoff <mank...@gmail.com> writes: >> >>> When exporting to LaTeX, fourth-level headings become \enumerate. In >>> LaTeX, the item below \subsubsection is \paragraph, not \enumerate. >>> >>> Here is what happens: >>> >>> * Top becomes \section >>> ** Second becomes \subsection >>> *** Third becomes \subsubsection >>> **** Fourth becomes \enumerate >>> >>> Is there a way to set Fourth to either \paragraph or just nothing? >> >> Only the first three outline levels will be used as headings. Deeper >> levels will become itemized lists. You can change the location of this >> switch globally by setting the variable org-export-headline-levels, or >> on a per-file basis with a line >> >> #+OPTIONS: H:4 >> > > Thanks. That makes sense. I thought that was just for controlling the > TOC depth, but it makes sense it controls content headings too.
The table of contents is normally inserted directly before the first headline of the file. #+OPTIONS: toc:2 (only to two levels in TOC) #+OPTIONS: toc:nil (no TOC at all) hth, Tom -- T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com