emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan L Tyree <alantyree@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [html] non-lists showing up as lists
Date: Mon, 03 Jun 2013 06:24:34 +1000	[thread overview]
Message-ID: <87fvx0clbx.fsf@breezy.my.home> (raw)
In-Reply-To: <87ppw5vtb2.fsf@gmail.com>


Nicolas Goaziou writes:

> Hello,
>
> Alan L Tyree <alantyree@gmail.com> writes:
>
>> Nicolas Goaziou writes:
>>
>>> Hello,
>>>
>>>
>>> Alan L Tyree <alantyree@gmail.com> 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

  parent reply	other threads:[~2013-06-02 20:24 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 [this message]
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
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=87fvx0clbx.fsf@breezy.my.home \
    --to=alantyree@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /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).