From: Oliver Heins <olli@sopos.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: bleeding columnsetarea
Date: Tue, 08 Dec 2009 09:19:41 +0100 [thread overview]
Message-ID: <87ocm9khcy.fsf@sopos.org> (raw)
Hello,
the printing shop wants me to make the columnsetarea bleeding[1] (3mm).
However, the background stops at the edge of the a4paper and doesn't
even fill the margin.
Here's a minimal example:
% \startminimalexample
\setuppapersize[A4][A3]
\setuplayout[backspace=2cm,width=middle,
offset=0mm,
topspace=0cm,height=middle,
location=middle,
marking=on,
grid=yes,
]
\setupcolors[state=start]
\startuniqueMPgraphic{contrast}
fill OverlayBox withcolor white ;
fill OverlayBox withcolor transparent(1,.25,red) ;
fill OverlayBox withcolor transparent(1,.25,yellow) ;
\stopuniqueMPgraphic
\defineoverlay[contrast][\useMPgraphic{contrast}]
\showframe
\starttext
\definecolumnset[mycolumnset][n=2]
\definecolumnsetarea
[einschub][left]
[x=1,y=1,nx=4,ny=20,page=2,
background=contrast,align={hi,right},state=start]
\startcolumnset[mycolumnset]
\dorecurse{15}{\input tufte\par}
\stopcolumnset
\page
\showsetups
\stoptext
% \stopminimalexample
Thanks in advance,
olli
Footnotes:
[1] http://en.wikipedia.org/wiki/Bleed_(printing)
--
Oliver Heins heins@sopos.org http://oliverheins.net/
http://blog.overheins.net/ F27A BA8C 1CFB B905 65A8
http://scriptorium-adp.de/ 2544 0F07 B675 9A00 D827
1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827
Please avoid sending me Word or PowerPoint attachments:
http://www.gnu.org/philosophy/no-word-attachments.html
___________________________________________________________________________________
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
___________________________________________________________________________________
reply other threads:[~2009-12-08 8:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=87ocm9khcy.fsf@sopos.org \
--to=olli@sopos.org \
--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).