From: Alan L Tyree <alantyree@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [html] non-lists showing up as lists
Date: Mon, 03 Jun 2013 14:29:17 +1000 [thread overview]
Message-ID: <51AC1B9D.7040701@gmail.com> (raw)
In-Reply-To: <87mwr8j5tn.fsf@pierrot.dokosmarshall.org>
On 03/06/13 12:17, Nick Dokos wrote:
> Alan L Tyree <alantyree@gmail.com> 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
next prev parent reply other threads:[~2013-06-03 4:28 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-31 16:54 [html] non-lists showing up as lists Samuel Wales
2013-05-31 17:01 ` Nicolas Goaziou
2013-05-31 20:39 ` Alan L Tyree
2013-06-01 6:39 ` Nicolas Goaziou
2013-06-01 19:35 ` Alan L Tyree
2013-06-02 7:57 ` Nicolas Goaziou
2013-06-02 9:12 ` Nicolas Goaziou
2013-06-02 20:24 ` Alan L Tyree
2013-06-02 21:40 ` Nick Dokos
2013-06-02 23:05 ` Alan L Tyree
2013-06-03 2:17 ` Nick Dokos
2013-06-03 4:29 ` Alan L Tyree [this message]
2013-06-03 5:40 ` Samuel Wales
2013-06-03 5:45 ` Alan L Tyree
2013-06-03 7:52 ` Carsten Dominik
2013-06-03 19:59 ` Alan L Tyree
2013-06-06 16:37 ` Bernt Hansen
2013-06-06 17:25 ` Samuel Wales
2013-06-01 20:10 ` Samuel Wales
2013-06-01 20:18 ` Samuel Wales
2013-06-01 22:58 ` Alan L Tyree
-- strict thread matches above, loose matches on Subject: below --
2013-06-03 9:54 Michael Strey
2013-06-03 10:05 ` Carsten Dominik
2013-06-03 16:28 ` Samuel Wales
2013-06-04 10:02 ` Bastien
2013-06-04 17:49 ` Samuel Wales
2013-06-06 10:26 Michael Strey
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=51AC1B9D.7040701@gmail.com \
--to=alantyree@gmail.com \
--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).