2007/9/10, Steffen Wolfrum
Am 10.09.2007 um 13:38 schrieb Wolfgang Schuster:
You should write now in your documents "erste beruf|*|liche Laufbahn".
Please take a close-up at the minimal below. There are three components: hyphenation, ligatures and space in ligatures.
Up to now I couldn't find the *right* solution, where all three are correct.
Maybe some wizards know?
Steffen
\usetypescript[postscript][\defaultencoding] \setupencoding[default=texnansi] \mainlanguage[deo] \enableregime[mac] \setupbodyfont[postscript,36pt]
\starttext \showframe
%Auflagen {\txx the fl-ligature is wrong here}
%Auf\-lagen {\txx the right fl for false ligatures!}
%Auf\/lagen {\txx this is too much space in fl}
%Auf|*|lagen {\txx this is too much space in fl}
1234567890 Auflagen Auflagen {\txx right hyphenation, but wrong ligature\break - -}
1234567890 Auf\-lagen Auf\-lagen
1234567890 Auf\/lagen Auf\/lagen {\txx these -- and also \verbatim {Auf|\-|lagen} -- kill the other hyphenation Aufla-gen. Esp ugly for long words ... \break - -}
1234567890 Auf|*|lagen Auf|*|lagen {\txx right hyphenation, but too much space in fl\break - -}
% for the right space between fl see also ff:
Auf\-fangen {\txx perfect!}
Auf\/fangen {\txx too much space}
Auf|*|fangen {\txx too much space}
\stoptext
\stoptext
Hi Steffen, you can change the space between the characters the |*| inserts. % original definition %\definetextmodediscretionary * % {\prewordbreak\discretionary{-}{}{\kern.05em}\prewordbreak} \definetextmodediscretionary * {\prewordbreak\discretionary{-}{}{}\prewordbreak} Now Auf|*|lagen give for me the same output as Auf\-lagen. Wolfgang