From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [Bug] Level 2 text not exported in LaTeX (well in HTML) + some comments Date: Wed, 22 Sep 2010 13:35:49 +0200 Message-ID: References: <87ocdzw7gq.wl%n.goaziou@gmail.com> <43BA920D-4EA2-4C51-B941-33A60D097EB3@gmail.com> <87hbi6uprt.fsf@fastmail.fm> <87y6bhajrm.wl%n.goaziou@gmail.com> <87wrr1aexq.wl%n.goaziou@gmail.com> <448D9DB2-71DE-4B9B-BF5B-B575735D794D@yahoo.com> <878w3dlbqy.wl%n.goaziou@gmail.com> <87hbhomsl5.fsf_-_@mundaneum.com> <8762y4jsm0.wl%ucecesf@ucl.ac.uk> <87eicrorpr.wl%n.goaziou@gmail.com> <87fwx6hg5q.wl%ucecesf@ucl.ac.uk> <87d3saozly.wl%n.goaziou@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=51793 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyNcH-0002lz-O0 for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 07:36:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OyNc9-0004z8-II for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 07:35:54 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:61473) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OyNc9-0004z2-CZ for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 07:35:53 -0400 Received: by eyh5 with SMTP id 5so121400eyh.0 for ; Wed, 22 Sep 2010 04:35:52 -0700 (PDT) In-Reply-To: <87d3saozly.wl%n.goaziou@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: =?ISO-8859-1?Q?S=E9bastien_Vauban?= , Eric S Fraga , emacs-orgmode@gnu.org On Sep 19, 2010, at 11:24 AM, Nicolas Goaziou wrote: >>>>>> Eric S Fraga writes: > >> So you are saying, if I understand you correctly, that you cannot >> have something like this: > >> --8<---------------cut here---------------start------------->8--- >> 1. some text >> - a nested list >> - with two items >> some more text for the first numbered item >> - another nested list - with two items >> 2. the second outer list item >> --8<---------------cut here---------------end--------------->8--- > > Exactly. > >> If so, why not? This would seem to be quite a likely and useful >> scenario. > > It would require a slightly different model with an added depth of > complexity. To tell the truth, I had looked into this, but hadn't > found a satisfying (clean) solution. One clean solution I can think of is to allow terminating a list with a special item, like - one - a - b - @< (this means sublist ends here) One could also have - @<< to mean closing two levels. This would allow stable indentation control. - Carsten > > For example, how should Org handle indentation of such a line, or any > line within the list? Should it "round" the indentation to the closest > level of a sub-list? And if you add a new line, should the user insert > spaces to reach the desired level of sub-list, or should Org TAB-cycle > indentation through every level of the list? Wouldn't this be painful > on deeply nested lists? If the list is so long that you can't display > it's first items, what happens when you want to end the 4th of 6 > sub-lists? Could you remember what proper indentation is needed? > > Those questions are more rhetorical than anything else. My point is > just that this kind of scenario, while certainly doable, would need > more thought, and much more work to implement. Is it _that_ useful? > >> I do this all the time in latex and I was sure that I had done this >> before in org. Is my recollection wrong? Was this not possible >> before? > > As far as I remember, LaTeX exporter has never been able to parse > this, though the HTML one did. > > Note that a TAB on your line of text was (i.e. in the latest stable > release) indenting it past the second nested list item. That signifies > even Org wasn't understanding properly the meaning of your list. > > Regards, > > -- Nicolas > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten