[NTG-context] layer problem

2010-09-07 Thread Andrea Valle

Hi to all,

I'm using this code to insert a page from pdf into a layer:

\enableregime[utf8]
\mainlanguage[it]
\setupinteraction[state=start]
\setupcolors[state=start]
\setuppagenumbering[state=stop]
%%% Colors %%%

%\definepapersize [flyer][width=99mm, height=210mm]
\setuppapersize[A4][A4]
\setuplayout [width=fit,
  rightmargin=0cm,
  leftmargin=0cm,
  leftmargindistance=0pt,
  rightmargindistance=0pt,
  height=fit,
  header=0cm,
  footer=0cm,
  topspace=0cm,
  backspace=0cm,
%  cutspace=1cm,
  bottomspace=0cm,
  location=singlesided]


\starttext
\definelayer[layer0]

\setlayer   [layer0]
[x=0,y=20cm]
{\rotate[90]{\externalfigure[prog.pdf][page=3]}}

\setupbackgrounds[page][page][background=layer0, state=repeat]

\strut
\stoptext


Now, the only problem is that the y=20 parameters doesn't affect the  
output. But I have a 20cm printed into the pdf.
It's exactly the structure I'm using for many other projects. Where it  
works fine.

Any ideas?

Thanks a lot

-a-


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- http://www.myspace.com/andreavalle
-- http://www.flickr.com/photos/vanderaalle/
--  http://www.youtube.com/user/vanderaalle
-- andrea.va...@unito.it
--
 This is a very complicated case, Maude. You know, a lotta ins, a  
lotta outs, a lotta what-have-yous.

(Jeffrey 'The Dude' Lebowski)



___
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
___


Re: [NTG-context] layer problem

2010-09-07 Thread Wolfgang Schuster

Am 07.09.2010 um 14:59 schrieb Andrea Valle:

 Now, the only problem is that the y=20 parameters doesn't affect the output. 
 But I have a 20cm printed into the pdf.
 It's exactly the structure I'm using for many other projects. Where it works 
 fine.
 Any ideas?

“x” expects a dimension, when you write “x=0pt” the 20cm do no longer appear in 
the output.

Wolfgang


___
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
___