On Friday 01 March 2002 01:19, Hans Hagen wrote:
> At 05:38 PM 2/28/2002 +0100, Oliver Mihatsch wrote:
> >The minimal example I provided works perfectly now. However, when using
> > \tfa the hanging puntuation breakes. E.g.
> > ...
> >Interestingly,  \tfx does not switch off the hanging puntuation.
> >Also, \switchtobodyfont[...] seems to be  ok.
> >(Btw. Is it normal that neither \tfa nor \tfx adapt the interline spaces?)
>
> i tracked down the problem and repaired it (trivial patch actually but it
> took me a while to locate it); has to do with taking care of persistent
> font assignments and preventing duplicate defs
>
> I'll send you the patch for testing
>

Thank you, Hans, for your quick and helpful answer. With your patch all my 
problematic examples do work now. Unfortunately, I have got a new one :-(

It concernes hanging punctuation when \tfx or \switchtobodyfont[small] are 
present. Under normal circumstances there is no problem. However, a 
preceeding \switchtobodyfont[big]\switchtobodyfont[big] leads to an 
unexpected side effect. Hanging punctuation in all subsequent paragraphs with 
\tfx or \switchtobodyfont[small] fails.
See the following example.

\setupoutput[pdftex]
\usetypescript[serif][hanging][pure]
\setupalign [hanging]
\definetypeface[modern][rm][serif][computer-modern][default][handling=pure]
\showframe
\starttext
   \modern

   % Hanging punctuation whith \tfx or  \switchtobodyfont[small] works
   {\tfx\setupinterlinespace\input tufte \par}    % ok
   {\switchtobodyfont[small]\input tufte \par}   % ok

   % Hanging punctuation in the following paragraph works.
   % However, it has side effects on the subsequent paragraphs.
   {\switchtobodyfont[big]\switchtobodyfont[big]\input tufte \par} % ok
 
   % For some reason hanging punctuation is switched off now.
   {\tfx\setupinterlinespace\input tufte \par}    % no hanging :-(
   {\switchtobodyfont[small]\input tufte \par}   % no hanging :-(
\stoptext


Oliver

Reply via email to