ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Robert-André Mauchin" <zebob.m@pengzone.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: French typography is back
Date: Fri, 22 May 2009 14:44:00 +0200	[thread overview]
Message-ID: <4A169E10.6020209@pengzone.org> (raw)
In-Reply-To: <4A168B4D.6010702@elvenkind.com>

 > Hans Hagen a écrit :
 > > Robert-André Mauchin wrote:
 > >
 > > The best would be to get rid off
 > > \setcharacterspacing[frenchpunctuation] and adapt the frenchb Babel
 > > module from Daniel Flipo (source and explanation here
 > > http://daniel.flipo.free.fr/frenchb/ ), as a module (t-french
 > > modification), or when loading the language, but I really
 > > don't know how hard it would be since it handles a lot more than
 > > just punctuation marks.
 >
 > no, active chars for such things are no solution and will not be
 > supported in mkiv; setcharacterspacing is the way to go (and if it
 > breaks that should be fixed instead); language support shoul dbe
 > in the kernel anyway
 >
 > Hans


I don't specifically talk about active chars (I don't really not what 
this is, I'm an user, not a coder), but instead of arbitrary adding a 
0.25em before and 1em after the punctuation mark you should use the real 
nnbsp (U+202F) before and real normal space (U+0020) after.

Why? Let me take your example again:

{\setcharacterspacing[frenchpunctuation]a? aa? aaa? abba?}

a\,? aa\,? aaa\,? abba\,?

Surprise: the first line is longer than the second. It's because sizes 
of the U+0020 and U+202F depend on the font design, their size are not 
exactly 1em and 0.25em.

Moreover, this is true that in french typography we should use a thin 
space before some punctuation mark, and a thin space in France *was* one 
fourth of an em. BUT due to modern digital typography, a thin space now 
correspond to something like one fifth of an em.
In digital typography, the normal space, i.e. inter-word separation, 
i.e. "espace justifiante" in French, has generally a size around one 
fourth of an em, calculated by the engine (you know that better than 
me). The thin space is a bit more than a half of the inter-word 
separation, i.e. between 1/8 and 1/6 of an em.

So I *really* believe that you should not define space before and after 
punctuation with "arbitrary" em spacing. There must be a way to do a 
"search and replace" with the correct glyphs (U+202F and U+0020) before 
and after punctuation marks.

 > language support should be in the kernel anyway

I agree of course, but although I believe this would encourage french 
"texers" to use Context, I don't think typography for a specific 
language is the priority for you&Taco right now.

I wish you luck for the next beta release!

Bob.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2009-05-22 12:44 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-20  6:25 MkIV italic correction? Corsair
2009-05-20  7:21 ` Yue Wang
2009-05-20  7:37   ` Corsair
2009-05-21  9:55 ` Hans Hagen
2009-05-21 11:55   ` Corsair
2009-05-21 11:59     ` Taco Hoekwater
2009-05-21 13:36       ` Corsair
2009-05-22  9:15         ` Taco Hoekwater
2009-05-21 13:20   ` Khaled Hosny
2009-05-22  9:25     ` Taco Hoekwater
2009-05-22 10:48       ` Hans Hagen
2009-05-22 11:23         ` Taco Hoekwater
2009-05-22 12:44           ` Robert-André Mauchin [this message]
2009-05-22 15:51             ` French typography is back Arthur Reutenauer
2009-05-22 16:38               ` Robert-André Mauchin
2009-05-22 22:58                 ` Arthur Reutenauer
2009-05-22 16:40               ` luigi scarso
2009-05-22 17:06                 ` Hans Hagen
2009-05-27  4:34           ` MkIV italic correction? Dohyun Kim
2009-05-27  8:11             ` Hans Hagen
2009-06-01 15:15             ` Khaled Hosny
2009-06-01 20:19               ` Hans Hagen
2009-05-21 12:28 French typography is back Robert-André Mauchin
2009-05-21 14:39 ` Peter Münster
2009-05-21 15:24 ` Arthur Reutenauer
2009-05-21 16:26 ` Hans Hagen
2009-05-21 16:29 ` Hans Hagen
2009-05-21 17:33   ` Wolfgang Schuster
     [not found] <mailman.0.1242930320.17979.ntg-context@ntg.nl>
2009-05-21 18:32 ` Robert-André Mauchin

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

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

  git send-email \
    --in-reply-to=4A169E10.6020209@pengzone.org \
    --to=zebob.m@pengzone.org \
    --cc=ntg-context@ntg.nl \
    /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.
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 NNTP newsgroup(s).