ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* problem with layer: corner doesn't work
@ 2008-06-15 16:31 Uwe Koloska
  2008-06-15 20:57 ` Hans Hagen
  2008-06-16  9:46 ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Uwe Koloska @ 2008-06-15 16:31 UTC (permalink / raw)
  To: ntg-context

Hello,

still working on the CD Design, I tried to understand the layer mechanism. 
After some reading and trying I have found a problem with the 
parameter 'corner'.  The following setting doesn't work with the corner 
parameter but only with numeric placement of the reference point:

---------------------------------------------------------------
% engine=luatex

\setuppapersize[CD][A4]
\setuppagenumbering
  [location=,state=stop]
\showframe[edge]
\setuplayout[location=middle]

\definelayer
  [layer1]
  [width=\paperheight,heigth=\paperheight]

\setupbackgrounds
  [page]
  [background=layer1]

\starttext

\startstandardmakeup

\setlayerframed
  [layer1]
  [corner={left,bottom},
  %x=0cm,y=\paperheight,
  location={right,top}]
  [width=.5\paperwidth,
  height=.5\paperheight,
  background=screen]
  {BLOCK 1}
\setlayerframed
  [layer1]
  [corner={right,top},
  location={left,bottom}]
  [width=.5\paperwidth,
  height=.5\paperheight,
  background=screen]
  {BLOCK 2}

\stopstandardmakeup

\stoptext
---------------------------------------------------------------

I use a current context-minimal and have made an update today. The luatex 
version is:
> luatex --version
This is LuaTeX, Version snapshot-0.25.3-2008052302
...
This is build 0, created on 20080410T143312Z

Context is:
  ConTeXt  ver: 2008.06.11 22:25 MKIV  fmt: 2008.6.15  int: english/english


What is wrong here?
Uwe Koloska
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-16  9:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-15 16:31 problem with layer: corner doesn't work Uwe Koloska
2008-06-15 20:57 ` Hans Hagen
2008-06-15 22:36   ` Uwe Koloska
2008-06-15 23:40     ` Hans Hagen
2008-06-16  9:46 ` Wolfgang Schuster

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