emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: William Henney <whenney@gmail.com>
To: "András Major" <andras.g.major@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence
Date: Fri, 19 Aug 2011 08:51:15 -0500	[thread overview]
Message-ID: <CAKchnZNR20BumYo8pVt6ycXgKq8BZDTCukE4X3ssUQPOTnu_EQ@mail.gmail.com> (raw)
In-Reply-To: <loom.20110819T125942-618@post.gmane.org>

Hi András

2011/8/19 András Major <andras.g.major@gmail.com>:
>> > There is always a longer space between sentences than after a "."
>> > that doesn't mark the end of a sentence
>>
>> This could easily be turned off with the use of a single \frenchspacing
>> in the preamble (or in the document; you may switch between the two in
>> the document as often as you like; e.g. \frenchspacing is active
>> starting from the point TeX reads the macro until it is set back to
>> \nonfrenchspacing).
>
> I'm fully aware of that, but that also messes up the spacing between
> sentences.  My proposed solution should be robust enough to be
> more-or-less foolproof yet produce nice-looking output.
>

What is nice-looking is a matter of personal taste. Personally, I tend
to prefer everything close-set, as with \frenchspacing, although that
is mainly because it is very easy to screw up with LaTeX's default
spacing, and then things look terrible. There is an interesting
discussion at
http://en.wikipedia.org/wiki/History_of_sentence_spacing

If you _do_ want to keep the wider inter-sentence spacing, then you
also need to worry about sentences that end with upper-case letters.
For instance, in LaTeX you should write:

"The paper by A. Major et~al.\ was discussed by the General Assembly
of the UN\@."

Without the "\@" LaTeX would not recognize the period following "UN"
to be sentence-ending. Note that there is no need to do anything
special after the "A."

If you are going to go this way, I think it should be optional. Not
everyone uses double spaces between sentences in their ascii text.

Cheers

Will

-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia

  reply	other threads:[~2011-08-19 13:51 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 [this message]
2011-08-19 18:39       ` András Major
2011-08-19 19:50         ` Sebastien Vauban
2011-08-19 11:22 ` Carsten Dominik
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=CAKchnZNR20BumYo8pVt6ycXgKq8BZDTCukE4X3ssUQPOTnu_EQ@mail.gmail.com \
    --to=whenney@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).