ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setuplayerframed broken?
@ 2011-09-16  8:01 Henning Hraban Ramm
  2011-09-17  9:51 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2011-09-16  8:01 UTC (permalink / raw)
  To: mailing ConTeXt users list for

Hi ho,
with current standalone beta, the following minimal example (nearly  
the same as in http://wiki.contextgarden.net/Layers#Line_breaking_and_fixed_size) 
  doesn't work anymore:

---
\definelayer[MyBg][x=20mm,y=30mm,width=65mm,height=30mm,state=start]
\setupbackgrounds[paper][setups=ALayer,background=MyBg,state=start]

\starttext

\strut
\startsetups ALayer

\setlayerframed[MyBg] 
[width=65mm,height=30mm,frame=off,hoffset=0mm,voffset=0mm,align=right] 
{foo bar}

\stopsetups

\page

\stoptext
---

Versions:
This is LuaTeX, Version beta-0.70.1-2011051908 (rev 4277)  \write18  
enabled.
ConTeXt  ver: 2011.09.15 19:53 MKIV  fmt: 2011.9.16  int: english/ 
english
OSX-Intel

The error I get is:

! Missing number, treated as zero.

system          > tex > error on line 4 in file layertest.tex: Missing  
number, treated as zero ...

  1     \definelayer[MyBg] 
[x=20mm,y=30mm,width=65mm,height=30mm,state=start]
  2     \setupbackgrounds[paper] 
[setups=ALayer,background=MyBg,state=start]
  3
  4 >>  \starttext
  5
  6     \strut

<to be read again>
                    \let
\noshowargumenterror ->\let
                             \expectedarguments \noexpectedarguments
\dodoubleempty #1->\noshowargumenterror
                                         \doifnextoptionalelse  
{\dodoubleempt...
\offset ->\dodoubleempty \dooffsetbox
                                       [\hbox ]
\dodolocalframed ...loffset \dimexpr \localoffset
                                                   +\ruledlinewidth  
\relax \f...
<to be read again>
                    {
...
l.14


Is there any mistake on my side?


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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] 3+ messages in thread

* Re: setuplayerframed broken?
  2011-09-16  8:01 setuplayerframed broken? Henning Hraban Ramm
@ 2011-09-17  9:51 ` Hans Hagen
  2011-09-17 13:08   ` Henning Hraban Ramm
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2011-09-17  9:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm

On 16-9-2011 10:01, Henning Hraban Ramm wrote:

> ! Missing number, treated as zero.

fixed

-----------------------------------------------------------------
                                           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] 3+ messages in thread

* Re: setuplayerframed broken?
  2011-09-17  9:51 ` Hans Hagen
@ 2011-09-17 13:08   ` Henning Hraban Ramm
  0 siblings, 0 replies; 3+ messages in thread
From: Henning Hraban Ramm @ 2011-09-17 13:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 2011-09-17 um 11:51 schrieb Hans Hagen:

> On 16-9-2011 10:01, Henning Hraban Ramm wrote:
>
>> ! Missing number, treated as zero.
>
> fixed

thank you, it works again



Greetlings, Hraban
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2011-09-17 13:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-16  8:01 setuplayerframed broken? Henning Hraban Ramm
2011-09-17  9:51 ` Hans Hagen
2011-09-17 13:08   ` Henning Hraban Ramm

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