ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* broken: noligature AND hyphenation
@ 2006-11-29 12:36 Steffen Wolfrum
  2006-11-29 13:49 ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Steffen Wolfrum @ 2006-11-29 12:36 UTC (permalink / raw)


Hi,

just by chance I experienced that there seems to be a problem with  
ligatures and hyphenation in ConTeXt.

This is the example:

\usetypescript[postscript][\defaultencoding]
\setupencoding[default=texnansi]
\mainlanguage[de]
\enableregime[mac]
\setupbodyfont[postscript,10pt]

\starttext

Auflagen % the fl-ligature is wrong here

Auf\-lagen % this is the right fl

Auf\/lagen %this is the right fl

123456789012345678901234567890123456789012345678901234567890123456789012 
34567890 Auflagen % right hyphenation, but wrong ligature

123456789012345678901234567890123456789012345678901234567890123456789012 
34567890 Auf\-lagen % but this kills the other hyphenation Aufla-gen

123456789012345678901234567890123456789012345678901234567890123456789012 
34567890 Auf\/lagen %  but this kills the other hyphenation Aufla-gen

123456789012345678901234567890123456789012345678901234567890123456789012 
34567890 Auf"-lagen % this is used in (La)TeX, but doesn'T work in  
ConTeXt?!

% the next wrong causes an error (but would be perfect:
123456789012345678901234567890123456789012345678901234567890123456789012 
34567890 Auf"|lagen % this is used in (La)TeX, but doesn'T work in  
ConTeXt?!

\stoptext



What is needed is to ...
1) avoid the fl-ligature
2) preserve all the default hyphenation points

In TeX (or only LaTeX?) Auf"-lagen or Auf"|lagen would do this. But  
what is the equivalent in ConTeXt?


Steffen

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

* Re: broken: noligature AND hyphenation
  2006-11-29 12:36 broken: noligature AND hyphenation Steffen Wolfrum
@ 2006-11-29 13:49 ` Hans Hagen
  2006-11-29 14:01   ` Taco Hoekwater
  2006-11-29 14:38   ` Steffen Wolfrum
  0 siblings, 2 replies; 8+ messages in thread
From: Hans Hagen @ 2006-11-29 13:49 UTC (permalink / raw)


Steffen Wolfrum wrote:
> Hi,
>
> just by chance I experienced that there seems to be a problem with  
> ligatures and hyphenation in ConTeXt.
>
> This is the example:
>
> \usetypescript[postscript][\defaultencoding]
> \setupencoding[default=texnansi]
> \mainlanguage[de]
> \enableregime[mac]
> \setupbodyfont[postscript,10pt]
>
> \starttext
>
> Auflagen % the fl-ligature is wrong here
>
> Auf\-lagen % this is the right fl
>
> Auf\/lagen %this is the right fl
>
> 123456789012345678901234567890123456789012345678901234567890123456789012 
> 34567890 Auflagen % right hyphenation, but wrong ligature
>
> 123456789012345678901234567890123456789012345678901234567890123456789012 
> 34567890 Auf\-lagen % but this kills the other hyphenation Aufla-gen
>
> 123456789012345678901234567890123456789012345678901234567890123456789012 
> 34567890 Auf\/lagen %  but this kills the other hyphenation Aufla-gen
>
> 123456789012345678901234567890123456789012345678901234567890123456789012 
> 34567890 Auf"-lagen % this is used in (La)TeX, but doesn'T work in  
> ConTeXt?!
>
> % the next wrong causes an error (but would be perfect:
> 123456789012345678901234567890123456789012345678901234567890123456789012 
> 34567890 Auf"|lagen % this is used in (La)TeX, but doesn'T work in  
> ConTeXt?!
>
> \stoptext
>
>
>
> What is needed is to ...
> 1) avoid the fl-ligature
> 2) preserve all the default hyphenation points
>
> In TeX (or only LaTeX?) Auf"-lagen or Auf"|lagen would do this. But  
> what is the equivalent in ConTeXt?
>
>   
\-

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

* Re: broken: noligature AND hyphenation
  2006-11-29 13:49 ` Hans Hagen
@ 2006-11-29 14:01   ` Taco Hoekwater
  2006-11-29 14:44     ` Steffen Wolfrum
  2007-03-19 13:27     ` Steffen Wolfrum
  2006-11-29 14:38   ` Steffen Wolfrum
  1 sibling, 2 replies; 8+ messages in thread
From: Taco Hoekwater @ 2006-11-29 14:01 UTC (permalink / raw)




Hans Hagen wrote:
>>In TeX (or only LaTeX?) Auf"-lagen or Auf"|lagen would do this. But  
>>what is the equivalent in ConTeXt?
>>
> \-

To be precise, make that Auf|\-|lagen.

Taco

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

* Re: broken: noligature AND hyphenation
  2006-11-29 13:49 ` Hans Hagen
  2006-11-29 14:01   ` Taco Hoekwater
@ 2006-11-29 14:38   ` Steffen Wolfrum
  1 sibling, 0 replies; 8+ messages in thread
From: Steffen Wolfrum @ 2006-11-29 14:38 UTC (permalink / raw)


No, unfortunately.

\- also kills the other hyphenation points (or do you still get Aufla- 
gen?)
The same with \kern0em.

So we have the choice between wrong ligatures and automatic hyphenation
and avoided ligatures but only manually set hyphenations?


Steffen




Am 29.11.2006 um 14:49 schrieb Hans Hagen:

> Steffen Wolfrum wrote:
>> Hi,
>>
>> just by chance I experienced that there seems to be a problem with
>> ligatures and hyphenation in ConTeXt.
>>
>> This is the example:
>>
>> \usetypescript[postscript][\defaultencoding]
>> \setupencoding[default=texnansi]
>> \mainlanguage[de]
>> \enableregime[mac]
>> \setupbodyfont[postscript,10pt]
>>
>> \starttext
>>
>> Auflagen % the fl-ligature is wrong here
>>
>> Auf\-lagen % this is the right fl
>>
>> Auf\/lagen %this is the right fl
>>
>> 123456789012345678901234567890123456789012345678901234567890123456789 
>> 012
>> 34567890 Auflagen % right hyphenation, but wrong ligature
>>
>> 123456789012345678901234567890123456789012345678901234567890123456789 
>> 012
>> 34567890 Auf\-lagen % but this kills the other hyphenation Aufla-gen
>>
>> 123456789012345678901234567890123456789012345678901234567890123456789 
>> 012
>> 34567890 Auf\/lagen %  but this kills the other hyphenation Aufla-gen
>>
>> 123456789012345678901234567890123456789012345678901234567890123456789 
>> 012
>> 34567890 Auf"-lagen % this is used in (La)TeX, but doesn'T work in
>> ConTeXt?!
>>
>> % the next wrong causes an error (but would be perfect:
>> 123456789012345678901234567890123456789012345678901234567890123456789 
>> 012
>> 34567890 Auf"|lagen % this is used in (La)TeX, but doesn'T work in
>> ConTeXt?!
>>
>> \stoptext
>>
>>
>>
>> What is needed is to ...
>> 1) avoid the fl-ligature
>> 2) preserve all the default hyphenation points
>>
>> In TeX (or only LaTeX?) Auf"-lagen or Auf"|lagen would do this. But
>> what is the equivalent in ConTeXt?
>>
>>
> \-
>
> -----------------------------------------------------------------
>                                           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] 8+ messages in thread

* Re: broken: noligature AND hyphenation
  2006-11-29 14:01   ` Taco Hoekwater
@ 2006-11-29 14:44     ` Steffen Wolfrum
  2006-11-29 15:06       ` Taco Hoekwater
  2007-03-19 13:27     ` Steffen Wolfrum
  1 sibling, 1 reply; 8+ messages in thread
From: Steffen Wolfrum @ 2006-11-29 14:44 UTC (permalink / raw)


Yes, that's it!!

Thank you Taco!
(Great as always ...)


Steffen


Am 29.11.2006 um 15:01 schrieb Taco Hoekwater:

>
>
> Hans Hagen wrote:
>>> In TeX (or only LaTeX?) Auf"-lagen or Auf"|lagen would do this. But
>>> what is the equivalent in ConTeXt?
>>>
>> \-
>
> To be precise, make that Auf|\-|lagen.
>
> Taco
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

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

* Re: broken: noligature AND hyphenation
  2006-11-29 14:44     ` Steffen Wolfrum
@ 2006-11-29 15:06       ` Taco Hoekwater
  0 siblings, 0 replies; 8+ messages in thread
From: Taco Hoekwater @ 2006-11-29 15:06 UTC (permalink / raw)




Steffen Wolfrum wrote:
> Yes, that's it!!
> 

Thinkling of it like this helps: || is an operator that breaks the left
and right side into separate words. What you see inbetween is controlled
by the optional token inside the bars (the default is a dash).

Taco

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

* Re: broken: noligature AND hyphenation
  2006-11-29 14:01   ` Taco Hoekwater
  2006-11-29 14:44     ` Steffen Wolfrum
@ 2007-03-19 13:27     ` Steffen Wolfrum
  2007-03-20  6:24       ` Hans Hagen
  1 sibling, 1 reply; 8+ messages in thread
From: Steffen Wolfrum @ 2007-03-19 13:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Taco Hoekwater

Just for the records:

One has to be careful with this kind of avoiding ligatures.
In most cases it works perfect, but when the word moves towards the end of the line and should be broken
then the hyphen misses!

But I guess there is no solution that fits *both* situations: regularly on a line and cross lines?

Steffen


On Wed, 29 Nov 2006 15:01:14 +0100, Taco Hoekwater wrote:
> 
> 
> Hans Hagen wrote:
>>> In TeX (or only LaTeX?) Auf"-lagen or Auf"|lagen would do this. But  
>>> what is the equivalent in ConTeXt?
>>> 
>> \-
> 
> To be precise, make that Auf|\-|lagen.
> 
> Taco
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 

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

* Re: broken: noligature AND hyphenation
  2007-03-19 13:27     ` Steffen Wolfrum
@ 2007-03-20  6:24       ` Hans Hagen
  0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2007-03-20  6:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Taco Hoekwater

Steffen Wolfrum wrote:
> Just for the records:
>
> One has to be careful with this kind of avoiding ligatures.
> In most cases it works perfect, but when the word moves towards the end of the line and should be broken
> then the hyphen misses!
>
> But I guess there is no solution that fits *both* situations: regularly on a line and cross lines?
>   
not yet, luatex will be more clever

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

end of thread, other threads:[~2007-03-20  6:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-29 12:36 broken: noligature AND hyphenation Steffen Wolfrum
2006-11-29 13:49 ` Hans Hagen
2006-11-29 14:01   ` Taco Hoekwater
2006-11-29 14:44     ` Steffen Wolfrum
2006-11-29 15:06       ` Taco Hoekwater
2007-03-19 13:27     ` Steffen Wolfrum
2007-03-20  6:24       ` Hans Hagen
2006-11-29 14:38   ` Steffen Wolfrum

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