ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* problem with cow font
@ 2012-05-27 22:20 Peter Münster
  2012-05-27 22:36 ` luigi scarso
  2012-05-28 11:48 ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Münster @ 2012-05-27 22:20 UTC (permalink / raw)
  To: ConTeXt users

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"

-- 
           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
___________________________________________________________________________________


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

* Re: problem with cow font
  2012-05-27 22:20 problem with cow font Peter Münster
@ 2012-05-27 22:36 ` luigi scarso
  2012-05-28 19:33   ` Peter Münster
  2012-05-28 11:48 ` Hans Hagen
  1 sibling, 1 reply; 5+ messages in thread
From: luigi scarso @ 2012-05-27 22:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, May 28, 2012 at 12:20 AM, Peter Münster <pmlists@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
___________________________________________________________________________________

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

* Re: problem with cow font
  2012-05-27 22:20 problem with cow font Peter Münster
  2012-05-27 22:36 ` luigi scarso
@ 2012-05-28 11:48 ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2012-05-28 11:48 UTC (permalink / raw)
  To: ConTeXt users

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
___________________________________________________________________________________


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

* Re: problem with cow font
  2012-05-27 22:36 ` luigi scarso
@ 2012-05-28 19:33   ` Peter Münster
  2012-05-28 20:24     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Münster @ 2012-05-28 19:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: problem with cow font
  2012-05-28 19:33   ` Peter Münster
@ 2012-05-28 20:24     ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2012-05-28 20:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


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

end of thread, other threads:[~2012-05-28 20:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-27 22:20 problem with cow font Peter Münster
2012-05-27 22:36 ` luigi scarso
2012-05-28 19:33   ` Peter Münster
2012-05-28 20:24     ` Wolfgang Schuster
2012-05-28 11:48 ` Hans Hagen

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