From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Otterson Subject: Latex export fails for plain lists deeper than four, works for html Date: Sat, 3 Dec 2016 17:45:09 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a114425d67bfa0a0542c3c9a3 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDDRm-0006wO-JA for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 11:45:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDDRi-0001hD-3a for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 11:45:58 -0500 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:34832) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cDDRh-0001fn-HM for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 11:45:54 -0500 Received: by mail-wm0-x233.google.com with SMTP id a197so43786345wmd.0 for ; Sat, 03 Dec 2016 08:45:52 -0800 (PST) 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" To: "Emacs-orgmode@gnu.org" --001a114425d67bfa0a0542c3c9a3 Content-Type: multipart/alternative; boundary=001a114425d67bfa060542c3c9a1 --001a114425d67bfa060542c3c9a1 Content-Type: text/plain; charset=UTF-8 If a plain list has more than four levels, org-mode will produce latex that crashes. See attached. On the other hand, html export works fine, even for much deeper lists. In a large org file, this export error is pretty time consuming for a naive user (me) to isolate, so I'd like to suggest that, before crashing latexmk, org-mode should at least print a human-readable warning -- especially since deep list export works for other export types. Better yet, would be deeper latex lists. There are ways: http://tex.stackexchange.com/questions/41408/a-five-level-deep-list --001a114425d67bfa060542c3c9a1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
If a plain list has more than four levels, org-mode w= ill produce latex that crashes.=C2=A0 See attached.=C2=A0 On the other hand= , html export works fine, even for much deeper lists. =C2=A0

=
In a large org file, this export error is pretty time consuming = for a naive user (me) to isolate, so I'd like to suggest that, before c= rashing latexmk, org-mode should at least print a human-readable warning --= especially since deep list export works for other export types.
=
Better yet, would be deeper latex lists.=C2=A0 There are way= s:

--001a114425d67bfa060542c3c9a1-- --001a114425d67bfa0a0542c3c9a3 Content-Type: application/octet-stream; name="only4plainListLevels.org" Content-Disposition: attachment; filename="only4plainListLevels.org" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iw9fo0xa2 MS4gbGV2ZWwgMS4xDQogICAxLiBsZXZlbCAyLjENCiAgICAgIDEuIGxldmVsIDMuMQ0KICAgICAg ICAgMS4gbGV2ZWwgNC4xDQogICAgICAgICAgICAxLiBsZXZlbCA1LjEgKHdvcmtzIGlmIHRoaXMg bGV2ZWwgaXMgZGVsZXRlZCkNCiAgICAgICAgICAgIDIuIGxldmVsIDUuMiAod29ya3MgaWYgdGhp cyBsZXZlbCBpcyBkZWxldGVkKQ0KICAgICAgICAgMi4gbGV2ZWwgNC4yDQogICAgICAyLiBsZXZl bCAzLjINCiAgIDIuIGxldmVsIDIuMg0KMi4gbGV2ZWwgMS4yDQoNCg== --001a114425d67bfa0a0542c3c9a3-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Latex export fails for plain lists deeper than four, works for html Date: Sat, 03 Dec 2016 22:10:07 +0100 Message-ID: <871sxod8i8.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDHZO-0000Hh-N1 for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 16:10:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDHZN-00084l-RV for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 16:10:06 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:58460) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cDHZN-00080z-Lx for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 16:10:05 -0500 In-Reply-To: (Scott Otterson's message of "Sat, 3 Dec 2016 17:45:09 +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" To: Scott Otterson Cc: "Emacs-orgmode@gnu.org" Hello, Scott Otterson writes: > If a plain list has more than four levels, org-mode will produce latex that > crashes. See attached. On the other hand, html export works fine, even > for much deeper lists. > > In a large org file, this export error is pretty time consuming for a naive > user (me) to isolate, so I'd like to suggest that, before crashing latexmk, > org-mode should at least print a human-readable warning -- especially since > deep list export works for other export types. > > Better yet, would be deeper latex lists. There are ways: > > http://tex.stackexchange.com/questions/41408/a-five-level-deep-list > 1. level 1.1 > 1. level 2.1 > 1. level 3.1 > 1. level 4.1 > 1. level 5.1 (works if this level is deleted) > 2. level 5.2 (works if this level is deleted) > 2. level 4.2 > 2. level 3.2 > 2. level 2.2 > 2. level 1.2 Again, this doesn't crash here. Also, the manual already gives hint about how to support more than four levels of nesting for lists. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Otterson Subject: Re: Latex export fails for plain lists deeper than four, works for html Date: Mon, 5 Dec 2016 09:30:11 +0100 Message-ID: References: <871sxod8i8.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bacb0f803fa5e0542e51bc3 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDog8-0000en-Eq for emacs-orgmode@gnu.org; Mon, 05 Dec 2016 03:31:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDog4-0007Ir-FS for emacs-orgmode@gnu.org; Mon, 05 Dec 2016 03:31:16 -0500 Received: from mail-wj0-x22f.google.com ([2a00:1450:400c:c01::22f]:35579) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cDog4-0007D9-7x for emacs-orgmode@gnu.org; Mon, 05 Dec 2016 03:31:12 -0500 Received: by mail-wj0-x22f.google.com with SMTP id v7so282799658wjy.2 for ; Mon, 05 Dec 2016 00:31:12 -0800 (PST) In-Reply-To: <871sxod8i8.fsf@nicolasgoaziou.fr> 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" To: Scott Otterson , "Emacs-orgmode@gnu.org" --047d7bacb0f803fa5e0542e51bc3 Content-Type: text/plain; charset=UTF-8 Hi Nicolas, thanks for trying to replicate this on Linux. What happens for you if it doesn't crash? Does the latex export just work and produce a pdf with a set of properly nested lists? Would you be willing to sent me .tex your latex export produces? It seems unlikely, but maybe org use a different/additional latex library on Linux than it does in Windows. Or alternatively, TexLive installs different/more libraries on Windows. Anyway, it would be nice to figure it out. I googled quickly for the hint you mentioned but couldn't find it. On Sat, Dec 3, 2016 at 10:10 PM, Nicolas Goaziou wrote: > Hello, > > Scott Otterson writes: > > > If a plain list has more than four levels, org-mode will produce latex > that > > crashes. See attached. On the other hand, html export works fine, even > > for much deeper lists. > > > > In a large org file, this export error is pretty time consuming for a > naive > > user (me) to isolate, so I'd like to suggest that, before crashing > latexmk, > > org-mode should at least print a human-readable warning -- especially > since > > deep list export works for other export types. > > > > Better yet, would be deeper latex lists. There are ways: > > > > http://tex.stackexchange.com/questions/41408/a-five-level-deep-list > > 1. level 1.1 > > 1. level 2.1 > > 1. level 3.1 > > 1. level 4.1 > > 1. level 5.1 (works if this level is deleted) > > 2. level 5.2 (works if this level is deleted) > > 2. level 4.2 > > 2. level 3.2 > > 2. level 2.2 > > 2. level 1.2 > > Again, this doesn't crash here. > > Also, the manual already gives hint about how to support more than four > levels of nesting for lists. > > Regards, > > -- > Nicolas Goaziou > --047d7bacb0f803fa5e0542e51bc3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Nicolas, thanks for trying to replicate this on Li= nux.=C2=A0 What happens for you if it doesn't crash?=C2=A0 Does the lat= ex export just work and produce a pdf with a set of properly nested lists?<= br>

Would you be willing to sent me .tex your late= x export produces?=C2=A0 It seems unlikely, but maybe org use a different/a= dditional latex library on Linux than it does in Windows.=C2=A0 Or alternat= ively, TexLive installs different/more libraries on Windows.=C2=A0 Anyway, = it would be nice to figure it out.

I googled quick= ly for the hint you mentioned but couldn't find it.

On Sat, Dec 3, 2016 at 10= :10 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:=
Hello,

Scott Otterson <scotto@sharpleaf= .org> writes:

> If a plain list has more than four levels, org-mode will produce latex= that
> crashes.=C2=A0 See attached.=C2=A0 On the other hand, html export work= s fine, even
> for much deeper lists.
>
> In a large org file, this export error is pretty time consuming for a = naive
> user (me) to isolate, so I'd like to suggest that, before crashing= latexmk,
> org-mode should at least print a human-readable warning -- especially = since
> deep list export works for other export types.
>
> Better yet, would be deeper latex lists.=C2=A0 There are ways:
>
> http://tex.stackexchange.com= /questions/41408/a-five-level-deep-list
> 1. level 1.1
>=C2=A0 =C2=A0 1. level 2.1
>=C2=A0 =C2=A0 =C2=A0 =C2=A01. level 3.1
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1. level 4.1
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01. level 5.1 (works if = this level is deleted)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A02. level 5.2 (works if = this level is deleted)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 2. level 4.2
>=C2=A0 =C2=A0 =C2=A0 =C2=A02. level 3.2
>=C2=A0 =C2=A0 2. level 2.2
> 2. level 1.2

Again, this doesn't crash here.

Also, the manual already gives hint about how to support more than four
levels of nesting for lists.

Regards,

--
Nicolas Goaziou

--047d7bacb0f803fa5e0542e51bc3-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Latex export fails for plain lists deeper than four, works for html Date: Wed, 07 Dec 2016 12:26:52 +0100 Message-ID: <87bmwohtdv.fsf@nicolasgoaziou.fr> References: <871sxod8i8.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEaN9-0004eu-Rl for emacs-orgmode@gnu.org; Wed, 07 Dec 2016 06:26:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEaN8-0003d6-SG for emacs-orgmode@gnu.org; Wed, 07 Dec 2016 06:26:51 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:51442) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cEaN8-0003cK-Lq for emacs-orgmode@gnu.org; Wed, 07 Dec 2016 06:26:50 -0500 In-Reply-To: (Scott Otterson's message of "Mon, 5 Dec 2016 09:30:11 +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" To: Scott Otterson Cc: "Emacs-orgmode@gnu.org" --=-=-= Content-Type: text/plain Hello, Scott Otterson writes: > Hi Nicolas, thanks for trying to replicate this on Linux. What happens for > you if it doesn't crash? Does the latex export just work and produce a pdf > with a set of properly nested lists? It produces a pdf with improperly nested lists (deeper levers are just treated as level 4). > Would you be willing to sent me .tex your latex export produces? It seems > unlikely, but maybe org use a different/additional latex library on Linux > than it does in Windows. Or alternatively, TexLive installs different/more > libraries on Windows. Anyway, it would be nice to figure it out. Here it is. Regards, -- Nicolas Goaziou --=-=-= Content-Type: text/x-tex Content-Disposition: inline; filename=only4plainlistlevels.tex % Created 2016-12-07 Wed 12:24 % Intended LaTeX compiler: pdflatex \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{grffile} \usepackage{longtable} \usepackage{wrapfig} \usepackage{rotating} \usepackage[normalem]{ulem} \usepackage{amsmath} \usepackage{textcomp} \usepackage{amssymb} \usepackage{capt-of} \usepackage{hyperref} \author{Nicolas Goaziou} \date{\today} \title{} \hypersetup{ pdfauthor={Nicolas Goaziou}, pdftitle={}, pdfkeywords={}, pdfsubject={}, pdfcreator={Emacs 25.1.1 (Org mode 9.0.1)}, pdflang={English}} \begin{document} \tableofcontents \begin{enumerate} \item level 1.1 \begin{enumerate} \item level 2.1 \begin{enumerate} \item level 3.1 \begin{enumerate} \item level 4.1 \begin{enumerate} \item level 5.1 (works if this level is deleted) \item level 5.2 (works if this level is deleted) \end{enumerate} \item level 4.2 \end{enumerate} \item level 3.2 \end{enumerate} \item level 2.2 \end{enumerate} \item level 1.2 \end{enumerate} \end{document} --=-=-=--