emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Andras Major <andras.g.major@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence
Date: Fri, 19 Aug 2011 13:22:09 +0200	[thread overview]
Message-ID: <DFC5807D-0358-4809-B11B-95FC8FFC1921@gmail.com> (raw)
In-Reply-To: <CALPHr6xSRrVyNEXMhV=Q1X4mswLDxMqUGw40D11QtGoPLhwfoA@mail.gmail.com>


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

  parent reply	other threads:[~2011-08-19 11:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-19  6:50 Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence Andras Major
2011-08-19  9:35 ` Daniel Bausch
2011-08-19 10:00 ` Stefan Nobis
2011-08-19 11:03   ` András Major
2011-08-19 13:51     ` William Henney
2011-08-19 18:39       ` András Major
2011-08-19 19:50         ` Sebastien Vauban
2011-08-19 11:22 ` Carsten Dominik [this message]
2011-08-19 14:55 ` Rasmus
2011-08-19 15:02   ` suvayu ali
2011-08-19 19:07 ` Thomas S. Dye
2011-08-19 21:16 ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DFC5807D-0358-4809-B11B-95FC8FFC1921@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=andras.g.major@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).