From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Bug: incorrect export for LaTeX [8.2.10 (release_8.2.10 @ c:/emacs25-91/share/emacs/25.0.91/lisp/org/)] Date: Wed, 02 Mar 2016 22:20:18 +0100 Message-ID: <87d1rco9v1.fsf@gmx.us> References: <87io17qks4.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abEC6-0006cj-1J for emacs-orgmode@gnu.org; Wed, 02 Mar 2016 16:20:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abEC2-0004GR-RF for emacs-orgmode@gnu.org; Wed, 02 Mar 2016 16:20:29 -0500 Received: from plane.gmane.org ([80.91.229.3]:57068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abEC2-0004GM-KZ for emacs-orgmode@gnu.org; Wed, 02 Mar 2016 16:20:26 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1abEC0-0005Ab-O0 for emacs-orgmode@gnu.org; Wed, 02 Mar 2016 22:20:24 +0100 Received: from tsn109-201-152-26.dyn.nltelcom.net ([109.201.152.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Mar 2016 22:20:24 +0100 Received: from rasmus by tsn109-201-152-26.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Mar 2016 22:20:24 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > 9661031 <9661031@gmail.com> writes: > >> When you use a headline which is more than 7th level,the exported LaTeX file >> raises an error in typesetting. Here is an example (org file): >> >> === >> * one >> ** two >> *** three >> **** four >> ***** five >> ****** six >> ******* seven >> ******** eight >> === >> >> This happens because nesting of enumerate environment in LaTeX is limited. >> I think the program should export an LaTeX file that successfully makes >> a PDF file even though the solution is dirty. > > Fair enough. Do you have a proposal for deeply nested headlines (or > items)? Use this header: #+options: h:0 #+latex_header: \usepackage{enumitem} #+latex_header: \setlistdepth{9} #+latex_header: \setlist[enumerate]{label=(\arabic*)} I don’t think we need to do anything. If we wanted to support this we’d probably need to load enumerate (which is not a bad package...). We have worse offenders of manual config. Local TOCs spring to mind. http://orgmode.org/org.html#fn-113 Rasmus -- I almost cut my hair, it happened just the other day