emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Klein <RoKlein@roklein.de>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: foot note / enumeration question
Date: Sun, 03 Jul 2011 09:46:57 +0200	[thread overview]
Message-ID: <4E101E71.4040600@roklein.de> (raw)
In-Reply-To: <878vsh9k7k.fsf@gmail.com>

Hi,

On 07/02/2011 10:10 AM, Nicolas Goaziou wrote:
> Hello,
>
> Robert Klein<RoKlein@roklein.de>  writes:
>
>> A file of
>>
>> #+begin_example
>> * Title
>>
>> This is a text [fn:: the
>> 1. footnote] with a footnote.
>> #+end_example
>>
>> begins an enumeration inside the footenote and then
>> forgets to close the footnote (which in LaTeX export
>> gets closed at the next \section or so).
>>
>> I'm not sure what the expected behavior should be -- I'd
>> obviously prefer no enumerations in footnotes :)  Is there
>> a way to specify this in the header, e.g.
>> enum-in-footnotes: nil or similar?   Just thinking when
>> someone pute literary references in footnotes this could
>> be useful (e.g.: [fn:: My fun. pp. 3-5, 12. edition, O'Really,
>> 1996. London, New York...] )
> This confusing case shouldn't happen, unless the user somehow does it on
> purpose. Indeed, Org prevents auto-filling to break a line where it
> would create a new list item.
>
> This looks to me as a false problem ; I don't think we should write some
> workaround for it.
>
> Regards,
>

Thanks for your help.  I figured out now,  there's a special case I 
triggered:

It is due to the closing square bracket right after "29."


My minimal .emacs file only loads org-mode:

#+begin_example
(setq load-path (cons "~/.emacs.d/org-mode/lisp" load-path))
#+end_example

and my test file is:
#+begin_example
* Title

Alpha gamma, phi beta epsilon phi gamma, psi iota omega, phi mu beta
lambda kappa sigma zeta theta eta, phi psi iota chi gamma[fn:: Eta. 1,
29.]. Alpha gamma
#+end_example

When I press Alt-q to reformat the paragraph nothing happens.

When I delete the last line and continue after the "[fn::Eta 1," with
" 29.]. Alpha" Emacs breaks the line after I type the blank before "Alpha",
so the new line begins with:

#+begin_example
.29].
#end_example

Now, when I put a blank after the "29" and before the closing
square bracket it works.

So, that's it. I'm going to put spaces between the dots and
closing brackets now.

Again, thanks for your help and pointing me to the right place.

Best regards
Robert

      reply	other threads:[~2011-07-03  7:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-01 20:37 foot note / enumeration question Robert Klein
2011-07-02  8:10 ` Nicolas Goaziou
2011-07-03  7:46   ` Robert Klein [this message]

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=4E101E71.4040600@roklein.de \
    --to=roklein@roklein.de \
    --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).