* layer problem
@ 2010-09-07 12:59 Andrea Valle
2010-09-07 13:22 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Andrea Valle @ 2010-09-07 12:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1811 bytes --]
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.valle@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)
[-- Attachment #1.2: Type: text/html, Size: 3873 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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] 2+ messages in thread
* Re: layer problem
2010-09-07 12:59 layer problem Andrea Valle
@ 2010-09-07 13:22 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2010-09-07 13:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-07 13:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-07 12:59 layer problem Andrea Valle
2010-09-07 13:22 ` 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).