[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: incorrect export for LaTeX [8.2.10 (release_8.2.10 @ c:/ema

From: Rasmus
Subject: Re: [O] 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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:

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


I almost cut my hair, it happened just the other day

reply via email to

[Prev in Thread] Current Thread [Next in Thread]