Re: [NTG-context] problem with cow font

2012-05-28 Thread Hans Hagen

On 28-5-2012 00:20, Peter Münster wrote:

Hi,

About one year ago, the following example worked fine, but with the
latest beta, the text is no more centred:


afaiks the current behaviour is consistent with mkii

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] problem with cow font

2012-05-28 Thread Peter Münster
On Mon, May 28 2012, luigi scarso wrote:

 \framed[height=1cm,align=lohi,strut=no]{bla\par bla}

Thanks!  But isn't the strut too high?
Is it wanted?  And if yes, than why?

-- 
   Peter
___
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
___


Re: [NTG-context] problem with cow font

2012-05-28 Thread Wolfgang Schuster

Am 28.05.2012 um 21:33 schrieb Peter Münster:

 On Mon, May 28 2012, luigi scarso wrote:
 
 \framed[height=1cm,align=lohi,strut=no]{bla\par bla}
 
 Thanks!  But isn't the strut too high?
 Is it wanted?  And if yes, than why?

You get better results when you decrease the interlinespace.

\setupbodyfont[cow]
\setupinterlinespace[line=2ex]
\starttext
\input knuth
\stoptext

Wolfgang
___
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
___


Re: [NTG-context] problem with cow font

2012-05-27 Thread luigi scarso
On Mon, May 28, 2012 at 12:20 AM, Peter Münster pmli...@free.fr wrote:
 Hi,

 About one year ago, the following example worked fine, but with the
 latest beta, the text is no more centred:

 --8---cut here---start-8---
 \setupbodyfont[cow]
 \starttext
 \framed[height=1cm, align=lohi]{bla\par bla}
 \stoptext
 --8---cut here---end---8---

 Workaround: \vskip-3.8ex


\setupbodyfont[cow]
\starttext
\framed[height=1cm,align=lohi,strut=no]{bla\par bla}
\stoptext


-- 
luigi
___
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
___