setuplayerframed broken?
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)
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Henning Hraban Ramm