Hi,

\wordright{something} don’t like it if the preceding line have a hyphenated 
word. It seems to work if one changes \allowbreak to hskip\zeropoint in the 
macro-definition.
Here an example:

\mainlanguage[de]

% \unprotect
% \def\dowordright[#1]%
%   {% don't change
%    \groupedcommand
%      {\removeunwantedspaces
%       \hfill
%       \allowbreak % changed back from \hskip\zeropoint
%       % \hskip\zeropoint % -> solves the problem
%       \strut
%       \hfill
%       \quad % decent spacing
%       \hbox}
%      {\doifelse{#1}\v!right{\kern-\rightskip}{\doifsomething{#1}{\kern-#1}}%
%       \parfillskip\zeropoint
%      %\finalhyphendemerits\zerocount % yes or no
%       \par}}
% \protect

\setupframedtexts
  [width=\dimexpr.65\textwidth,
   offset=none]
\starttext
\startframedtext
  ein Jahr da gewohnt in Rülzheim, waren noch Schwiegereltern dabei.. 
  \wordright{(S.\,3, Z.\,78–97)}
\stopframedtext

\startframedtext
  wenn du Ro, Mund aufmachst hörst das du nicht da geboren bist (lacht 
verlegen).
  \wordright{(S.\,4, Z.\,117–121)}
\stopframedtext

\startframedtext
  ein Jahr da gewohnt in Rülzheim, waren noch Schwie- gereltern dabei
  \wordright{(S.\,3, Z.\,78–97)}
\stopframedtext
\stoptext

By the way: I can’t make a minimal example yet but I have a text where the same 
word appears on one place with ligatures and on another place without. Perhaps 
this is known …?

Greetings
        Andreas
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to