From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Subject: Re: latex export issue Date: Thu, 10 Mar 2011 09:24:05 +0100 Message-ID: <8739mvs7ru.fsf@gmail.com> References: <87zkp326yf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=37991 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxbAH-0005N6-Iv for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 03:24:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxbAG-0001hj-Ob for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 03:24:09 -0500 Received: from mail-ww0-f41.google.com ([74.125.82.41]:43638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxbAG-0001hU-Eh for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 03:24:08 -0500 Received: by wwi17 with SMTP id 17so1032721wwi.0 for ; Thu, 10 Mar 2011 00:24:07 -0800 (PST) In-Reply-To: (Scot Becker's message of "Thu, 10 Mar 2011 06:16:56 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Scot Becker Cc: emacs-orgmode@gnu.org, Stephen Eglen Hello, Scot Becker writes: > That sounds like it means that any documents you might want to export to > LaTeX (and format with hard line breaks) should always have non-breaking > spaces after the periods---or you should keep a manual eye on your paragraph > formatting to make sure no numbers come first on the line. Would that work for you? #+begin_src emacs-lisp (defun org-fill-item-nobreak-p () "Non-nil when line break would insert a new item." (and (looking-at (org-item-re)) (org-list-in-valid-block-p))) (add-to-list 'fill-nobreak-predicate 'org-fill-item-nobreak-p) #+end_src If it is fine, we may as well include it by default in Org. Regards, -- Nicolas