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