ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* lc code of `
@ 2004-09-02 11:55 Hans Hagen
  2004-09-02 12:22 ` Taco Hoekwater
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2004-09-02 11:55 UTC (permalink / raw)


Hi,

Currently, we have

\lccode`\'=`\'

set for all languages, but it seems that some languages get problems 
with hyphenation.

\de \hyphenatedword{Works''}
\nl \hyphenatedword{Works''}
\uk \hyphenatedword{Works''}
\en \hyphenatedword{Works''}

\de \hyphenatedword{Works}
\nl \hyphenatedword{Works}
\uk \hyphenatedword{Works}
\en \hyphenatedword{Works}

i did set the code because some languages needed it, but now i get puzzled:

we can do:

\startlanguagespecifics[nl,cz,sk,fr]
  \lccode`\'=`\'
\stoplanguagespecifics

but i wonder of this is the right approach.

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] 7+ messages in thread

* Re: lc code of `
  2004-09-02 11:55 lc code of ` Hans Hagen
@ 2004-09-02 12:22 ` Taco Hoekwater
  2004-09-02 12:54   ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2004-09-02 12:22 UTC (permalink / raw)


On Thu, 02 Sep 2004 13:55:21 +0200, Hans wrote:

> i did set the code because some languages needed it

What was it needed for? There's no escape possible from the rule

   if (\lccode != 0) { word_character = true}


-- 
groeten,

Taco

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

* Re: lc code of `
  2004-09-02 12:22 ` Taco Hoekwater
@ 2004-09-02 12:54   ` Hans Hagen
  2004-09-02 14:22     ` Taco Hoekwater
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2004-09-02 12:54 UTC (permalink / raw)


Taco Hoekwater wrote:

>>i did set the code because some languages needed it
>>    
>>
>
>What was it needed for? There's no escape possible from the rule
>
>   if (\lccode != 0) { word_character = true}
>  
>
dunno, maybe to get s`avonds and such ok? 

do you suggest that i just don't set that catcode? 

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] 7+ messages in thread

* Re: lc code of `
  2004-09-02 12:54   ` Hans Hagen
@ 2004-09-02 14:22     ` Taco Hoekwater
  2004-09-02 15:49       ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2004-09-02 14:22 UTC (permalink / raw)


On Thu, 02 Sep 2004 14:54:52 +0200, Hans wrote:

> 
> do you suggest that i just don't set that catcode? 

I was asking because the initial request was probably related to 
\uppercase/\lowercase, and if so, then it is probably better
to write explicitly iterating \CAP macros for that, than to mess with
the \lccodes. 

I, for one, consider 100% reliable hyphenation more important than 
100% correct case folding.


-- 
groeten,

Taco

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

* Re: lc code of `
  2004-09-02 14:22     ` Taco Hoekwater
@ 2004-09-02 15:49       ` Hans Hagen
  2004-09-03  7:30         ` Taco Hoekwater
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2004-09-02 15:49 UTC (permalink / raw)


Taco Hoekwater wrote:

>On Thu, 02 Sep 2004 14:54:52 +0200, Hans wrote:
>
>  
>
>>do you suggest that i just don't set that catcode? 
>>    
>>
>
>I was asking because the initial request was probably related to 
>\uppercase/\lowercase, and if so, then it is probably better
>to write explicitly iterating \CAP macros for that, than to mess with
>the \lccodes. 
>
>I, for one, consider 100% reliable hyphenation more important than 
>100% correct case folding.
>  
>
so i should drop the \lccode`\'=`\'

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] 7+ messages in thread

* Re: lc code of `
  2004-09-02 15:49       ` Hans Hagen
@ 2004-09-03  7:30         ` Taco Hoekwater
  2004-09-03  8:40           ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2004-09-03  7:30 UTC (permalink / raw)


On Thu, 02 Sep 2004 17:49:55 +0200, Hans wrote:

> >I, for one, consider 100% reliable hyphenation more important than 
> >100% correct case folding.
> >  
> >
> so i should drop the \lccode`\'=`\'

If nobody disagrees with me, I must be right :-)

-- 
groeten,

Taco

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

* Re: lc code of `
  2004-09-03  7:30         ` Taco Hoekwater
@ 2004-09-03  8:40           ` Hans Hagen
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2004-09-03  8:40 UTC (permalink / raw)


Taco Hoekwater wrote:

> <>If nobody disagrees with me, I must be right :-)

ok, i dropped it  

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] 7+ messages in thread

end of thread, other threads:[~2004-09-03  8:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-02 11:55 lc code of ` Hans Hagen
2004-09-02 12:22 ` Taco Hoekwater
2004-09-02 12:54   ` Hans Hagen
2004-09-02 14:22     ` Taco Hoekwater
2004-09-02 15:49       ` Hans Hagen
2004-09-03  7:30         ` Taco Hoekwater
2004-09-03  8:40           ` 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).