* Hair space and non-breaking hyphen
@ 2007-12-07 2:36 Maurício
2007-12-07 8:34 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Maurício @ 2007-12-07 2:36 UTC (permalink / raw)
To: ntg-context
Hi,
I've seen two interesting Unicode characters
that I would like to use:
Hair space: U+200A (it's supposed to be a
space that's small, used around emdashes
sometimes).
Non-breaking hyphen: U+2011 (an hyphen where
the word is not supposed to be broken by
hyphenation).
I would like to know if I can use them in
Context. Is Context going to respect
non-breaking hyphens in hyphenation
algorithms? Is hair space going to be what it
is supposed to, no matter which font I use?
Thanks,
Maurício
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Hair space and non-breaking hyphen
2007-12-07 2:36 Hair space and non-breaking hyphen Maurício
@ 2007-12-07 8:34 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2007-12-07 8:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
Maurício wrote:
> Hi,
>
> I've seen two interesting Unicode characters
> that I would like to use:
>
> Hair space: U+200A (it's supposed to be a
> space that's small, used around emdashes
> sometimes).
>
> Non-breaking hyphen: U+2011 (an hyphen where
> the word is not supposed to be broken by
> hyphenation).
>
> I would like to know if I can use them in
> Context. Is Context going to respect
> non-breaking hyphens in hyphenation
> algorithms? Is hair space going to be what it
> is supposed to, no matter which font I use?
there is in mkiv a mechanism for auto-break support
\setbreakpoints[compound]
currently + - / ( ) are supported but it's no big deal to handle more
characters too
however, i prefer to handle this all at once, so you (an others) need to
collect al relevant cases and provide examples
also, more complex hyphenation exceptions are possible in luatex;
currently we're experimenting with new dutch patterns but it's no
problem to support other languages as well
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-07 8:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-07 2:36 Hair space and non-breaking hyphen Maurício
2007-12-07 8:34 ` Hans Hagen
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).