Re: [NTG-context] Page background image
On Thu, 2012-04-05 at 04:41 +0200, Wolfgang Schuster wrote: > \defineoverlay[backgroundfigure][\overlayfigure{mill}] > > \setupbackgrounds[page][background=backgroundfigure] > > \starttext > \dorecurse{12}{\page[empty]} > \stoptext > > Wolfgang Thanks Wolfgang & Aditya. Both solutions are useful. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] Page background image
Am 04.04.2012 um 23:03 schrieb Kip Warner: > Hey list, > > I have an image that I would like to use as the page background on every > page of a document. The image matches the dimensions of the full page > already. I know how to insert it as a floating figure or as a logo in > the margin, but not as the entire page itself. \defineoverlay[backgroundfigure][\overlayfigure{mill}] \setupbackgrounds[page][background=backgroundfigure] \starttext \dorecurse{12}{\page[empty]} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page background image
On Wed, 4 Apr 2012, Kip Warner wrote: Hey list, I have an image that I would like to use as the page background on every page of a document. The image matches the dimensions of the full page already. I know how to insert it as a floating figure or as a logo in the margin, but not as the entire page itself. Use layers to set the image as a background image. http://wiki.contextgarden.net/Draft_Watermark Aditya ___ 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 ___
[NTG-context] Page background image
Hey list, I have an image that I would like to use as the page background on every page of a document. The image matches the dimensions of the full page already. I know how to insert it as a floating figure or as a logo in the margin, but not as the entire page itself. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] Page Background
Hello Wolfgang, >\definelayer[...][...,state=continue,...] I tried that before I posted my question but that didn't work. See below a minimal sample. I am using ConTeXt ver: 2009.10.02 13:14 MKIV and also tried it with ConTeXt ver: 2009.11.02 21:31 MKIV. best regards Wolfgang Murth % Minimal Sample \language[de] \mainlanguage[de] \setuplayout[ header=0.5cm, footer=1cm, width=16.5cm, height=22.7cm, topspace=3.8cm, leftmargindistance=2mm ] \startstandardmakeup \raggedcenter \vskip 0cm \definedfont[Bold sa 2]\setstrut \strut This is the titlepage\\ \vfill \stopstandardmakeup \starttext \useexternalfigure[headpict][cow.pdf][height=2cm] \useexternalfigure[footpict][cow.pdf][height=2cm] \definelayer[imgtopbot] [width=\paperwidth, height=\paperheight, x=0cm, y=0cm, frame=off, state=continue ] \setlayerframed[imgtopbot][voffset=0.5cm,frame=off] {\externalfigure[headpict]} \setlayerframed[imgtopbot][voffset=26.5cm,frame=off] {\externalfigure[footpict]} \setupbackgrounds[page][background=imgtopbot] \chapter{first} \dorecurse{10}{\input tufte } \chapter{second} \dorecurse{10}{\input davis } \chapter{third} \dorecurse{10}{\input zapf } \chapter{fourth} \dorecurse{10}{\input bryson } \stoptext ___ 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] Page background color. Does not cover the entire page.
Wow! Thanks for the reply. It is interesting the kind of things when using Context or for that matter any typesetting system. I thought I chose the letter size for my layout and I am printing it on a letter size paper. Also, the PDF shows green everywhere. Hence, getting the color on whole page should be easy. From your responses, it seems it is not possible because of the way printers are designed. On Fri, Apr 17, 2009 at 7:22 AM, John Devereux wrote: > Hans Hagen writes: > > > Curiouslearn wrote: > >> Hi, > >> I created the attached PDF file using ConTeXt. As you can see I have a > green > >> background, which covers the whole page. However, when I took it to the > >> printer today and he printed two copies for me, there was some white > space > >> left at four ends. The amount of space above, below, to the left and to > the > >> right was different. Here is my preamble. Can you suggest what I can do > so > >> that the whole page has the chosen green background color. > > > > -- print on larger paper and cut off the edges > > -- make your layout a bit smaller and cut off the edges > > Or > > -- get them to print it on light green paper? :) > > > -- > > John Devereux > > ___ > 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 > > ___ > ___ 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 ___
Re: [NTG-context] Page background color. Does not cover the entire page.
Hans Hagen writes: > Curiouslearn wrote: >> Hi, >> I created the attached PDF file using ConTeXt. As you can see I have a green >> background, which covers the whole page. However, when I took it to the >> printer today and he printed two copies for me, there was some white space >> left at four ends. The amount of space above, below, to the left and to the >> right was different. Here is my preamble. Can you suggest what I can do so >> that the whole page has the chosen green background color. > > -- print on larger paper and cut off the edges > -- make your layout a bit smaller and cut off the edges Or -- get them to print it on light green paper? :) -- John Devereux ___ 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 ___
Re: [NTG-context] Page background color. Does not cover the entire page.
Curiouslearn wrote: Hi, I created the attached PDF file using ConTeXt. As you can see I have a green background, which covers the whole page. However, when I took it to the printer today and he printed two copies for me, there was some white space left at four ends. The amount of space above, below, to the left and to the right was different. Here is my preamble. Can you suggest what I can do so that the whole page has the chosen green background color. -- print on larger paper and cut off the edges -- make your layout a bit smaller and cut off the edges only professional print will print to the edge and even then ... (normally you will use oversized paper and bleeding) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] Page background color. Does not cover the entire page.
2009/4/17 Curiouslearn : > Hi, > I created the attached PDF file using ConTeXt. As you can see I have a green > background, which covers the whole page. However, when I took it to the > printer today and he printed two copies for me, there was some white space > left at four ends. The amount of space above, below, to the left and to the > right was different. Here is my preamble. Can you suggest what I can do so > that the whole page has the chosen green background color. > Thanks very much. Hi, Curiouslearn, Generally speaking, many printers can't print a page without white spaces about 3mm unless you have a marginless printer. -- Best wishes, Li Yanrui * Gentoo Linux (~x86) * ConTeXt Minimals Beta (2009.04.16 15:20) ___ 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 ___