emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87d1rco9v1.fsf@gmx.us> (raw)
In-Reply-To: 87io17qks4.fsf@nicolasgoaziou.fr

Nicolas Goaziou <mail@nicolasgoaziou.fr> 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

  reply	other threads:[~2016-03-02 21:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-28 15:31 Bug: incorrect export for LaTeX [8.2.10 (release_8.2.10 @ c:/emacs25-91/share/emacs/25.0.91/lisp/org/)] 9661031
2016-02-29 21:16 ` Nicolas Goaziou
2016-03-02 21:20   ` Rasmus [this message]
2016-03-04  0:13     ` Nicolas Goaziou
2016-03-04 16:48       ` Nick Dokos
2016-03-06 19:07         ` Rasmus
2016-03-06 19:32           ` Nick Dokos
2016-03-06 19:57             ` Rasmus
2016-03-06 18:57       ` Rasmus
2016-03-07 11:12         ` Nicolas Goaziou
2016-03-07 13:35           ` Rasmus
2016-03-07 21:51             ` Nicolas Goaziou
2016-03-06 19:57     ` Marcin Borkowski
2016-03-14 11:05   ` 9661031

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d1rco9v1.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).