From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bausch Subject: Re: Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence Date: Fri, 19 Aug 2011 11:35:11 +0200 Message-ID: <201108191135.11247.DanielBausch@gmx.de> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuLSM-0007q3-GN for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 05:33:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuLSL-0005nv-KB for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 05:33:38 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:51134) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QuLSK-0005mh-SK for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 05:33:37 -0400 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: emacs-orgmode@gnu.org Hi, I'd like to note, that ".~" would lead to a hard space, that disallows a li= ne=20 break, so I think only ".\ " is correct, although Emacs M-q does not break= =20 after ". " with a single space, too, to be able to detect sentence ends. Daniel Am Freitag, 19. August 2011, 08:50:52 schrieb Andras Major: > 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. >=20 > 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: >=20 > - If, in the source, the "." precedes a double space " " or a newline, > use ". ". >=20 > - In any other case, use ".\ ". >=20 > 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. >=20 > Thanks, >=20 > Andr=E1s