ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Setting the Non-Printable Area
@ 2009-04-06  8:19 Markus Hubig
  2009-04-06  8:36 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Markus Hubig @ 2009-04-06  8:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi @all,

i like to include a logo on the top-right-edge on every page in my Document.
The pagesize is A4, but our printer could not print into the first 5mm from
the borders. Now the Logo get's cut on the top and on the right side while
printing.

I defined my layout like this:

-----8<--------schnipp-----
\setuppapersize[A4][A4]
\setuplayout[backspace=20mm,
        width=160mm,
        topspace=20mm, top=0mm,
        header=0mm, footer=0mm,
        height=250mm, grid=yes]
-----8<--------schnapp-----

... and placed the logo like this:

-----8<--------schnipp-----
\definelogo
   [imko logo] [top] [rightedge]
   [command=\IMKOLogo,state=start]
-----8<--------schnapp-----

So how can I define the non-printable area of my A4 paper,
so the logo doesn't get cut.

- Markus

-- 
-------------------"it's like this"------
even samurai have teddy bears
and even teddy bears get drunk
___________________________________________________________________________________
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] 4+ messages in thread

* Re: Setting the Non-Printable Area
  2009-04-06  8:19 Setting the Non-Printable Area Markus Hubig
@ 2009-04-06  8:36 ` Wolfgang Schuster
  2009-04-06  9:32   ` Markus Hubig
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2009-04-06  8:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 06.04.2009 um 10:19 schrieb Markus Hubig:

> Hi @all,
>
> i like to include a logo on the top-right-edge on every page in my  
> Document.
> The pagesize is A4, but our printer could not print into the first  
> 5mm from
> the borders. Now the Logo get's cut on the top and on the right side  
> while
> printing.

Don't use logos, they're outdated (and removed from MkIV), layers are  
better.

\definelayer[logo][width=\paperwidth,height=\paperheight]

\setupbackgrounds[page][background=logo]

\setlayer[logo][preset=righttop,offset=5mm,state=repeat] 
{\externalfigure[logo]}

\starttext
...
\stoptext

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Setting the Non-Printable Area
  2009-04-06  8:36 ` Wolfgang Schuster
@ 2009-04-06  9:32   ` Markus Hubig
  2009-04-06 10:13     ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Markus Hubig @ 2009-04-06  9:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Ahh! Works nice, but now I have this logo just on the first site of my document.
How can I set this to be repeated on every page ... I structured my document
with environment -> project -> product -> component and I've put the layersetup
into my environment file.

- Markus

On Mon, Apr 6, 2009 at 10:36 AM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
>
> Am 06.04.2009 um 10:19 schrieb Markus Hubig:
>
>> Hi @all,
>>
>> i like to include a logo on the top-right-edge on every page in my
>> Document.
>> The pagesize is A4, but our printer could not print into the first 5mm
>> from
>> the borders. Now the Logo get's cut on the top and on the right side while
>> printing.
>
> Don't use logos, they're outdated (and removed from MkIV), layers are
> better.
>
> \definelayer[logo][width=\paperwidth,height=\paperheight]
>
> \setupbackgrounds[page][background=logo]
>
> \setlayer[logo][preset=righttop,offset=5mm,state=repeat]{\externalfigure[logo]}
>
> \starttext
> ...
> \stoptext
>
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>



-- 
-------------------"it's like this"------
even samurai have teddy bears
and even teddy bears get drunk
___________________________________________________________________________________
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] 4+ messages in thread

* Re: Setting the Non-Printable Area
  2009-04-06  9:32   ` Markus Hubig
@ 2009-04-06 10:13     ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2009-04-06 10:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 06.04.2009 um 11:32 schrieb Markus Hubig:

> Ahh! Works nice, but now I have this logo just on the first site of  
> my document.
> How can I set this to be repeated on every page ... I structured my  
> document
> with environment -> project -> product -> component and I've put the  
> layersetup
> into my environment file.

\definelayer[logo][width=\paperwidth,height=\paperheight,state=repeat]

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2009-04-06 10:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-06  8:19 Setting the Non-Printable Area Markus Hubig
2009-04-06  8:36 ` Wolfgang Schuster
2009-04-06  9:32   ` Markus Hubig
2009-04-06 10:13     ` 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).