ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Olivier Guéry" <nemolivier@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: nbsp U+00A0 don’t work
Date: Tue, 17 Jun 2008 11:03:24 +0200	[thread overview]
Message-ID: <5c2c86e70806170203p7a267dc5tbc280b2af570a66b@mail.gmail.com> (raw)
In-Reply-To: <4856E36A.5010404@wxs.nl>

[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]

On Tue, Jun 17, 2008 at 12:04 AM, Hans Hagen <pragma@wxs.nl> wrote:
> Peter Münster wrote:
>> On Mon, Jun 16 2008, Olivier Guéry wrote:
>>
>>> Context deal with the nbsp when it's the « ~ », but with the U+00A0,
>>> not.
>>
>> This is a new bug in MKIV, I'm sure that it used to work at least
>> 1 or 2 months ago.
>
> maybe because now it's an active character
>
> can you make a test file showing the problem (not sure what it is)?

Here is the minimal code :

\setuppapersize[A4][A4]
\mainlanguage [fr] \language[fr]
\setcharacterspacing [frenchpunctuation]

\starttext
The « ; » signs shouldn't be at the beginning of a line : \crlf
toto titi toto titi toto titi toto titi toto titi toto titi toto titi
toto titi toto titiii Test ; test : test ? test ! « test » with nbsp
before punctuation \crlf
toto titi toto titi toto titi toto titi toto titi toto titi toto titi
toto titi toto titiii Test~; test~: test~? test~! «~test~» with \~\
before punctuation \crlf
\stoptext

I attached the source code because some mail programs (and firefox2)
remove the nbsp.
And a .pdf if you need it.

Olivier.

-- 
[Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ]
Olivier nemolivier@gmail.com http://nemolivier.blogspot.com

[-- Attachment #2: test-french-punctuation.pdf --]
[-- Type: application/pdf, Size: 5410 bytes --]

[-- Attachment #3: test-french-punctuation.tex --]
[-- Type: application/x-tex, Size: 1045 bytes --]

[-- Attachment #4: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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:[~2008-06-17  9:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-16 19:31 Olivier Guéry
2008-06-16 19:44 ` Hans Hagen
2008-06-17  9:05   ` Olivier Guéry
2008-07-01 13:27     ` Olivier Guéry
2008-06-16 20:24 ` Peter Münster
2008-06-16 22:04   ` Hans Hagen
2008-06-17  9:03     ` Olivier Guéry [this message]
2008-06-17 16:49     ` Peter Münster
2008-06-18 11:27       ` Hans Hagen

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=5c2c86e70806170203p7a267dc5tbc280b2af570a66b@mail.gmail.com \
    --to=nemolivier@gmail.com \
    --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).