From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence Date: Fri, 19 Aug 2011 23:16:10 +0200 Message-ID: <87d3g16r1h.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuWPd-0003Ka-Lz for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 17:15:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuWPc-0007Oq-CD for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 17:15:33 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:52601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuWPc-0007Ol-3r for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 17:15:32 -0400 Received: by wwf10 with SMTP id 10so2791476wwf.30 for ; Fri, 19 Aug 2011 14:15:31 -0700 (PDT) In-Reply-To: (Andras Major's message of "Fri, 19 Aug 2011 08:50:52 +0200") 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: Andras Major Cc: emacs-orgmode Hi Andras, Andras Major writes: > - If, in the source, the "." precedes a double space " " or a newline, > use ". ". > > - In any other case, use ".\ ". I wonder how such a function would look like. Does anyone wants to try to write it? Even pseudo-code would be fine at this stage. > The reason this would work is the Emacs convention of writing ASCII > such that there is at least one more space (at least two) between > sentences. I believe that the Emacs fill-* functions also make use of > this convention. C-h v sentence-end TAB gives several variable that let the user change the number of spaces after a sentence. So I guess this is not really "Emacs convention of writing ASCII", but a more general American convention. Would the values of sentence-end* be taken into account by the feature you describe above? -- Bastien