Nicolas Goaziou <m...@nicolasgoaziou.fr> writes:

> Hello,
>
> 9661031 <9661...@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


Reply via email to