[NTG-context] A question on drawing functions in MetaFun

Hans Hagen pragma at wxs.nl
Mon Aug 15 13:56:18 CEST 2005


Jin-Hwan Cho wrote:

> On Aug 13, 2005, at 1:10 AM, Hans Hagen wrote:
>
>> \defineframed[Shaped][background=Shape,frame=off,location=low]
>
>
> Thanks. Still I could not get the right figure with
>
> \setuplayer[BackLayer][direction=reverse]
>
> Even though "direction=reverse" option was given, I got only the first
> figure. Means that the option did not work. Hope anyone fix my problem
> by checking the attached sample.

it took me a while to uncover but ... in page-lyr, 

\doifnotvalue{\layerparameter\c!direction}\v!reverse{\box\layerpagebox}%
        
should be 

\doifnot{\layerparameter\c!direction}\v!reverse{\box\layerpagebox}%

(bug introduced when \layerparameter was added) 

Hans 


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list