From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Klein Subject: Re: foot note / enumeration question Date: Sun, 03 Jul 2011 09:46:57 +0200 Message-ID: <4E101E71.4040600@roklein.de> References: <4E0E2FEC.6010606@roklein.de> <878vsh9k7k.fsf@gmail.com> 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 ([140.186.70.92]:32821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdHO7-0000u8-SD for emacs-orgmode@gnu.org; Sun, 03 Jul 2011 03:46:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QdHO6-0005q4-6B for emacs-orgmode@gnu.org; Sun, 03 Jul 2011 03:46:43 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:52618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdHO5-0005pS-PD for emacs-orgmode@gnu.org; Sun, 03 Jul 2011 03:46:42 -0400 In-Reply-To: <878vsh9k7k.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: Org Mode List Hi, On 07/02/2011 10:10 AM, Nicolas Goaziou wrote: > Hello, > > Robert Klein 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