emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "András Major" <andras.g.major@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence
Date: Fri, 19 Aug 2011 18:39:50 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110819T201550-155@post.gmane.org> (raw)
In-Reply-To: CAKchnZNR20BumYo8pVt6ycXgKq8BZDTCukE4X3ssUQPOTnu_EQ@mail.gmail.com

Hi Will,

> > 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

For that, you can use \frenchspacing in the latex header.

> 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.

True, but that is, in my experience, a very rare thing to happen.  In
all the years of writing documents in (La)TeX, I don't think I've had
a single occurrence of this case.  You can, of course, make the export
code even more sophisticated and check for this case and adapt the
output accordingly.  Then the only rule for the user to remember would
be as simple as this: single space in org maps to inter-word space in
the output, double space maps to inter-sentence space.

> 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.

I think that the same people wouldn't mind slightly wrong spacing in
the printed output either.

  András

  reply	other threads:[~2011-08-19 18:40 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 [this message]
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=loom.20110819T201550-155@post.gmane.org \
    --to=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).