From: Andrea Valle <valle@di.unito.it>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: layer problem
Date: Tue, 7 Sep 2010 14:59:59 +0200 [thread overview]
Message-ID: <E3C27872-D9F4-4426-BF16-C7D52C658A68@di.unito.it> (raw)
[-- 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
___________________________________________________________________________________
next reply other threads:[~2010-09-07 12:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-07 12:59 Andrea Valle [this message]
2010-09-07 13:22 ` Wolfgang Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E3C27872-D9F4-4426-BF16-C7D52C658A68@di.unito.it \
--to=valle@di.unito.it \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).