From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24180 Path: news.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: Re: columnset & layers Date: Tue, 06 Dec 2005 15:06:30 +0100 Message-ID: <43959AE6.30002@seznam.cz> References: <4394DE01.9000608@seznam.cz> <439559E5.6040108@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133878125 24660 80.91.229.2 (6 Dec 2005 14:08:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Dec 2005 14:08:45 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 06 15:08:35 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EjdSq-00048M-O4 for gctc-ntg-context-518@m.gmane.org; Tue, 06 Dec 2005 15:06:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 559D91289D; Tue, 6 Dec 2005 15:06:40 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01453-02; Tue, 6 Dec 2005 15:06:36 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 916E812880; Tue, 6 Dec 2005 15:06:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A927212880 for ; Tue, 6 Dec 2005 15:06:35 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01298-04-2 for ; Tue, 6 Dec 2005 15:06:34 +0100 (CET) Original-Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id A66BB12831 for ; Tue, 6 Dec 2005 15:06:34 +0100 (CET) Original-Received: (qmail 23388 invoked from network); 6 Dec 2005 14:06:33 -0000 Original-Received: from unknown (HELO ?127.0.0.1?) (vit.zyka@62.240.166.134) by tic.go.seznam.cz with ESMTPA; 6 Dec 2005 14:06:33 -0000 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <439559E5.6040108@wxs.nl> X-Antivirus: avast! (VPS 0547-4, 24.11.2005), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24180 Archived-At: Hans Hagen wrote: > Vit Zyka wrote: > >> Hello, >> >> there is some collision between columnset and layer. See following >> example: >> >> ----------------------------------------------------- >> \newdimen\tgrX \newdimen\tgrY >> \tgrX=3cm \tgrY=2cm >> >> \starttext >> \startcolumnset >> \definelayer[tgr-cow][position=no,corner=top] >> \setlayer[tgr-cow][x=.0\tgrX,y=.0\tgrY,location=middle]{O}% >> \framed >> [width=fit,height=fit,offset=none, >> background={foreground,tgr-cow},frame=off] >> {\externalfigure[cow][width=\tgrX,height=\tgrY]}% >> \stopcolumnset >> \stoptext >> ------------------------------------------------------- >> >> I got the error: >> >> ! Bad character code (361). >> \@@layerboxtgr-cow >> >> I am a bit puzzled by strange error message. If the columnset is >> commented, the code is proceeded as expected. > > > define the layer outside the columnset; it's probably a grouping problem > > Hans OK, it works and is sufficient for me since I know a number of needed layers. But generally it is not a clean solution. Can be solved counting number of layers in one pass and defining in the second, but... Hans, do you think is the grouping problem doable? If yes I will put the note to the collector. Thanks Vit