emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence
Date: Fri, 19 Aug 2011 21:50:23 +0200	[thread overview]
Message-ID: <80y5ypnpts.fsf@somewhere.org> (raw)
In-Reply-To: loom.20110819T201550-155@post.gmane.org

Hi all,

András Major wrote:
>> > 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.

The problem is that this rule can be true, and certainly is, in English. But
French typing conventions require those space before/after punctuation
symbols:

    | symobl | before | after |
    |--------+--------+-------|
    | ,      |      0 |     1 |
    | .      |      0 |     1 |
    | :      |      1 |     1 |
    | !      |      1 |     2 |
    | ?      |      1 |     2 |

for the most commons.

Hence, in French, there is never a double space inserted after a sentence
period -- well for exclamation or interrogation marks.

Best regards,
  Seb

-- 
Sebastien Vauban

  reply	other threads:[~2011-08-19 19:50 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 [this message]
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=80y5ypnpts.fsf@somewhere.org \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).