From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan L Tyree Subject: Re: [html] non-lists showing up as lists Date: Mon, 03 Jun 2013 06:24:34 +1000 Message-ID: <87fvx0clbx.fsf@breezy.my.home> References: , <874ndj13u5.fsf@gmail.com>, <51A90A6A.5090105@gmail.com>, <87a9na1gi9.fsf@gmail.com>, <87d2s58w0g.fsf@breezy.my.home>, <87ppw5vtb2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjEp6-0002sy-SV for emacs-orgmode@gnu.org; Sun, 02 Jun 2013 16:24:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjEp4-00017e-7n for emacs-orgmode@gnu.org; Sun, 02 Jun 2013 16:24:16 -0400 Received: from mail-pb0-x22e.google.com ([2607:f8b0:400e:c01::22e]:40136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjEp4-00017Y-1A for emacs-orgmode@gnu.org; Sun, 02 Jun 2013 16:24:14 -0400 Received: by mail-pb0-f46.google.com with SMTP id rq2so4739666pbb.19 for ; Sun, 02 Jun 2013 13:24:13 -0700 (PDT) In-reply-to: <87ppw5vtb2.fsf@gmail.com> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > Alan L Tyree writes: > >> Nicolas Goaziou writes: >> >>> Hello, >>> >>> >>> Alan L Tyree writes: >>> >>>> I have also been bedeviled by this problem. In a long manuscript it is >>>> all too common. Here is a real example of a footnote and its HTML >>>> export: >>>> >>>> ======= >>>> >>>> [fn:79] Some commentators have questioned whether it is an >>>> 'exception'. The argument is that it is merely part of the bank's duty >>>> not to be part of any fraud of which it has knowledge. See Ricky J >>>> Lee, Strict compliance and the fraud exception: balancing the >>>> interests of mercantile traders in the modern law of documentary >>>> credits, (2008) Macquarie Journal of Business Law >>>> 137. There is merit to this argument, but few >>>> practical consequences. >>>> >>> >>> [...] >>> >>> By default, a number followed by a dot or a parenthesis at the beginning >>> of a line starts a plain list. There is nothing new here. Use M-RET >>> after "but few", and you'll see this is not related to export. >>> >>> The filling mechanism should prevent this situation from happening. If >>> it's not the case, please provide an ECM, as I cannot find one. >>> >>> >>> Regards, >> Perhaps the filling mechanism should prevent it, but in my case it does >> not. > > I tried to fill the previous footnote definition at various places with > various fill-column values, to no avail. > >> Both of the paragraphs I sent were the result of filling. Perhaps there >> is some setting that prevents this from happening? What parameters do >> you need to know to reproduce the problem from the above examples? > > I wish I knew what's needed to reproduce the problem. What's your value > for `fill-nobreak-predicate' in an Org buffer? The function responsible > for preventing a list insertion is > `org-fill-paragraph-separate-nobreak-p'. > > Regards, Hi Nicolas, Thanks for taking the time to look at this. The problem is a little different from what I thought. The above paragraph does not refill when the '137.' is at the front of the line (And of course, it should not since org thinks it is a list item). It does fill properly when the '137.' is anywhere else. So: my problem is that somehow the '137.' got at the head of a line. I have no idea how that happened. I inserted references in this document using reftex, so I suppose that is one source to investigate. The other source is, no doubt, cut and paste. In a 60+ page document, I had four or five of these, so it is a very annoying problem. In view of this, should I explore further about the source of these or try out the patch you sent? Again, many thanks for your time and help. Cheers, Alan -- Alan L Tyree http://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:172385@iptel.org