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
___________________________________________________________________________________