From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence Date: Fri, 19 Aug 2011 13:22:09 +0200 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuN9T-0001Xq-7H for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 07:22:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuN9R-000626-FE for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 07:22:14 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:48668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuN9R-00061x-8q for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 07:22:13 -0400 Received: by ewy9 with SMTP id 9so1232745ewy.0 for ; Fri, 19 Aug 2011 04:22:12 -0700 (PDT) In-Reply-To: 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 On Aug 19, 2011, at 8:50 AM, Andras Major wrote: > Hi, > > in TeX and LaTeX, the width of the glue (blank space) after a "." can > be one of two different values, depending on the context. There is > always a longer space between sentences than after a "." that doesn't > mark the end of a sentence (abbreviations, dates, etc.). Since > TeX/LaTeX usually can't recognize the latter case by itself, one can > help out by writing ".\ " or ".~" explicitly to enforce a short space. > Without these hints, printed output will look typographically wrong. > > Org-mode export doesn't allow me to easily include these hints without > affecting readability and export to other formats. Therefore I ask > that LaTeX export places ". " or ".\ " in the output automatically > depending on the context: > > - If, in the source, the "." precedes a double space " " or a newline, > use ". ". > > - In any other case, use ".\ ". > > 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. +1 I do like this idea. I am a big fan of the Emacs convention to use two spaces after a sentence - such a big fan that I have trouble reading ascii text where this convention is not used. - Carsten