ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \stretched fails with accents
@ 2005-04-11  3:04 David Munger
  2005-04-11  9:28 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: David Munger @ 2005-04-11  3:04 UTC (permalink / raw)


Hello,


Both of these fail (the second one is assumed to be unicode).

\hbox to \textwidth {\stretched{pr\'edoctoral}}
\hbox to \textwidth {\stretched{prédoctoral}}


Regards,

David

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: \stretched fails with accents
  2005-04-11  3:04 \stretched fails with accents David Munger
@ 2005-04-11  9:28 ` Hans Hagen
  2005-04-11 13:47   ` David Munger
  2005-04-11 14:49   ` \stretched fails with accents + \hyphenation David Munger
  0 siblings, 2 replies; 5+ messages in thread
From: Hans Hagen @ 2005-04-11  9:28 UTC (permalink / raw)


David Munger wrote:

> Both of these fail (the second one is assumed to be unicode).
> 
> \hbox to \textwidth {\stretched{pr\'edoctoral}}
> \hbox to \textwidth {\stretched{prédoctoral}}

\hbox to \textwidth {\stretched{pr{\'e}doctoral}}
\hbox to \textwidth {\stretched{pr{é}doctoral}}

an other alternative is to use the properties mechanism

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: \stretched fails with accents
  2005-04-11  9:28 ` Hans Hagen
@ 2005-04-11 13:47   ` David Munger
  2005-04-11 14:49   ` \stretched fails with accents + \hyphenation David Munger
  1 sibling, 0 replies; 5+ messages in thread
From: David Munger @ 2005-04-11 13:47 UTC (permalink / raw)


> \hbox to \textwidth {\stretched{pr{\'e}doctoral}}
> \hbox to \textwidth {\stretched{pr{é}doctoral}}

Right. Thanks.

> an other alternative is to use the properties mechanism

Do you mean with something like:
\hbox to \textwidth
{\setuptolerance[stretch]inter word space is stretched} ?


David

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: \stretched fails with accents + \hyphenation
  2005-04-11  9:28 ` Hans Hagen
  2005-04-11 13:47   ` David Munger
@ 2005-04-11 14:49   ` David Munger
  2005-04-11 21:45     ` Hans Hagen
  1 sibling, 1 reply; 5+ messages in thread
From: David Munger @ 2005-04-11 14:49 UTC (permalink / raw)


Hi again,

I ran into the same problem with unicode strings in \hyphenation{...}.
Any clue?

\hyphenation{ma-gn{é}-to-hy-dro-dy-na-mi-que}


Regards,

David


Le lundi 11 avril 2005 à 11:28 +0200, Hans Hagen a écrit :
> David Munger wrote:
> 
> > Both of these fail (the second one is assumed to be unicode).
> > 
> > \hbox to \textwidth {\stretched{pr\'edoctoral}}
> > \hbox to \textwidth {\stretched{prédoctoral}}
> 
> \hbox to \textwidth {\stretched{pr{\'e}doctoral}}
> \hbox to \textwidth {\stretched{pr{é}doctoral}}
> 
> an other alternative is to use the properties mechanism
> 
> 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
> -----------------------------------------------------------------
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: \stretched fails with accents + \hyphenation
  2005-04-11 14:49   ` \stretched fails with accents + \hyphenation David Munger
@ 2005-04-11 21:45     ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2005-04-11 21:45 UTC (permalink / raw)


David Munger wrote:

> I ran into the same problem with unicode strings in \hyphenation{...}.
> Any clue?
> 
> \hyphenation{ma-gn{é}-to-hy-dro-dy-na-mi-que}

from xtag-hyp:

% \mainlanguage[nl] \setupbodyfont[pos] \useXMLfilter[utf,hyp]
%
% \starttext
%
% \hyphenatedword{pati\ediaeresis nten}
% \hyphenatedword{pati\ediaeresis ntenorganisatie}
% \hyphenatedword{pati\ediaeresis ntenplatform}
%
% \startXMLdata
%   <hyphenations language='nl' regime='utf'>
%     <hyphenation>pa-tiën-ten</hyphenation>
%     <hyphenation>pa-tiën-ten-or-ga-ni-sa-tie</hyphenation>
%     <hyphenation>pa-tiën-ten-plat-form</hyphenation>
%   </hyphenations>
% \stopXMLdata
%
% \hyphenatedword{pati\ediaeresis nten}
% \hyphenatedword{pati\ediaeresis ntenorganisatie}
% \hyphenatedword{pati\ediaeresis ntenplatform}
%
% \stoptext

so, you can use named glyphs

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-04-11 21:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-11  3:04 \stretched fails with accents David Munger
2005-04-11  9:28 ` Hans Hagen
2005-04-11 13:47   ` David Munger
2005-04-11 14:49   ` \stretched fails with accents + \hyphenation David Munger
2005-04-11 21:45     ` 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).