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 14:29:17 +1000 Message-ID: <51AC1B9D.7040701@gmail.com> References: <874ndj13u5.fsf@gmail.com> <51A90A6A.5090105@gmail.com> <87a9na1gi9.fsf@gmail.com> <87d2s58w0g.fsf@breezy.my.home> <87ppw5vtb2.fsf@gmail.com> <87fvx0clbx.fsf@breezy.my.home> <87r4gkjio7.fsf@pierrot.dokosmarshall.org> <51ABCFD5.7040208@gmail.com> <87mwr8j5tn.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjMO0-0006s3-Ck for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 00:28:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjMNk-00040R-4h for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 00:28:48 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:34608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjMNj-00040N-RN for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 00:28:31 -0400 Received: by mail-pd0-f169.google.com with SMTP id y11so5081718pdj.28 for ; Sun, 02 Jun 2013 21:28:30 -0700 (PDT) Received: from [192.168.1.1] (202.63.32.163.static.rev.eftel.com. [202.63.32.163]) by mx.google.com with ESMTPSA id pm7sm18220585pbb.31.2013.06.02.21.28.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 02 Jun 2013 21:28:30 -0700 (PDT) In-Reply-To: <87mwr8j5tn.fsf@pierrot.dokosmarshall.org> 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: emacs-orgmode@gnu.org On 03/06/13 12:17, Nick Dokos wrote: > Alan L Tyree writes: > >> Indeed, an exercise which I have already done in the form of a lisp >> function to catch the nasty little numbers at the beginning of lines. >> >> For the earlier exporter, I used this to insert non-printing spaces, >> export, then remove non-printing space. Far from elegant :-). >> > > Wouldn't it be better to fix the file once and for all? After all, if > you do that and then paste it into the org file, then refilling is > *never* going to create the problem (assuming that there is no bug in > the filling code of course: if there is, then it has to get fixed.) Yes, probably, but I implemented the other when there was also a problem with footnotes that looked like [1942]. I have hundreds of these in a normal file (legal case references) and so I needed to disable them at each export. That problem doesn't exist now since Bastien kindly did a patch for org-footnote.el. > > I may have misunderstood but I took the question to be the following: if > I get an arbitrary file from somewhere, and I want to make an org > document out of it, can I paste it in? The answer is "yes, but...": > there might be problems. Checking the file with a script shows the > problems, then you go in and fix them (by hand if necessary: four or > five instances of the problem in 60+ pages seems insignificant, assuming > that you *know* that the problem is there.) That is only part of the problem. I'm pretty sure that the footnote example that we have been discussing did *not* come from a cut and paste file. But I don't know where it did come from. Samuel seemed to think that he had a filling problem. In short, I don't know exactly what the problem is or if there is a single source. I'm facing some serious deadlines right now, but when I get clear of the fog I will investigate further and report back, hoping to clarify the problem. Thanks again for your time on this. > >> I still like the suggestion that there should be an option so that >> lists cannot begin at the beginning of a line. Like Samuel earlier in >> this thread, I always indent lists. >> > > Who's to guarantee that the file you are pasting in does not have > indented dashes or numbers at the beginning of some lines? Wouldn't > that cause the same problem? > Yes, it does, but it's not a problem that I have ever seen. I probably will see it now on the next cut and paste :-). Thanks again for all your time on this. Cheers, Alan -- Alan L Tyree http://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:172385@iptel.org