ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Frame problem...
@ 2002-02-10 17:46 Joop Susan
  2002-02-11  8:33 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Joop Susan @ 2002-02-10 17:46 UTC (permalink / raw)


Hello,

I updated my old 2001.08.28 Context source with 2002.01.28 and now frames 
with round corners don't work anymore.

Is this a problem in ConTeXt or my installation?

'framecorner=rectangular' works.

'framecorner=round' breaks.

The same happens with 'backgroundcorner='.

Thanks, 

Joop

======================

% interface=english paper=a4 output=pdf

\setupcolors[state=start]

\starttext

\framed
    [width=100mm,
     height=20mm,
     frame=on,
     framecorner=round,
     frameradius=20pt,
     frameoffset=2mm,
     framecolor=red]
    {Test}

\stoptext

======================

ConTeXt  ver: 2002.1.28  fmt: 2002.2.8  int: english  mes: english
This is pdfeTeX, Version 3.14159-14h-released-20010417-2.1 (Web2C 7.3.3.1)

! Illegal unit of measure (pt inserted).
<to be read again> 
                   \advance 
\doPDFovalcalc #1#2#3->\dimen 2=#1\advance 
                                           \dimen 2 #2\relax 
\PointsToBigPoi...

\doPDFovalbox ...oPDFovalcalc {0}{+\dimen 0}\xmin 
                                                  \doPDFovalcalc 
{#1}{-\dime...

\ovalbox ...p \ovallin \ovalrad \ovalstr \ovalfil 
                                                  \egroup 
<argument> ... {\@@framed \c!achtergrondstraal }\\
                                                  \fi 
\firstoftwoarguments #1#2->#1


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

* Re: Frame problem...
  2002-02-10 17:46 Frame problem Joop Susan
@ 2002-02-11  8:33 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2002-02-11  8:33 UTC (permalink / raw)
  Cc: ntg-context

At 06:46 PM 2/10/2002 +0100, Joop Susan wrote:

>Hello,
>
>I updated my old 2001.08.28 Context source with 2002.01.28 and now frames
>with round corners don't work anymore.
>
>Is this a problem in ConTeXt or my installation?
>
>'framecorner=rectangular' works.
>
>'framecorner=round' breaks.
>
>The same happens with 'backgroundcorner='.
>
>Thanks,

right, i changed the low level scaled point system to points (once i needed 
the sp for dvipsone, but nowadays just pt), and it seems that i forgot to 
adapt this macro in spec-fdf.tex:

\def\doPDFovalbox#1#2#3#4#5#6#7% todo: \scratchdimen/\scatchbox
   {\bgroup
    ......
    \doPDFovalcalc{0pt}{+\dimen0}\xmin

    \doPDFovalcalc{0pt}{+\dimen0}\xxmin
    ......

This file is loaded at runtime, so no format generation is needed.

I must admit that i always let MP do the rounded corners, so i never come 
to testing thsi feature -)

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-pod.nl
-------------------------------------------------------------------------


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

end of thread, other threads:[~2002-02-11  8:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-10 17:46 Frame problem Joop Susan
2002-02-11  8:33 ` 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).