ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: columnset & layers
Date: Tue, 06 Dec 2005 10:29:09 +0100	[thread overview]
Message-ID: <439559E5.6040108@wxs.nl> (raw)
In-Reply-To: <4394DE01.9000608@seznam.cz>

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).
> <recently read> \@@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

  reply	other threads:[~2005-12-06  9:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-06  0:40 Vit Zyka
2005-12-06  9:29 ` Hans Hagen [this message]
2005-12-06 14:06   ` Vit Zyka
2005-12-06 16:10     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=439559E5.6040108@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).