Re: [NTG-context] Image cropped
Hi Wolfgang, I had done the same thing but I thought this solution was not the most elegant, and I wanted to know what the specialists were going to do. Thank you. Fabrice Le dim. 12 sept. 2021 à 16:50, Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> a écrit : > Fabrice Couvreur via ntg-context schrieb am 12.09.2021 um 12:10: > > Hi Wolfgang, > That's what I understood but the problem is that if I reduce the margin, > the logo is too small in my opinion : what would you do ? > > > Place the logo with a layer or shift is inwards. > > \setuplayout > [width=middle, >height=middle] > > \setupfootertexts > [margin] > [] > [{\offset[x=-1cm,y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] > [] > [{\offset[x=1cm,y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] > > %\showframe > > \starttext > \dorecurse{8}{\samplefile{knuth}} > \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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Image cropped
Fabrice Couvreur via ntg-context schrieb am 12.09.2021 um 12:10: Hi Wolfgang, That's what I understood but the problem is that if I reduce the margin, the logo is too small in my opinion : what would you do ? Place the logo with a layer or shift is inwards. \setuplayout [width=middle, height=middle] \setupfootertexts [margin] [] [{\offset[x=-1cm,y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] [] [{\offset[x=1cm,y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] %\showframe \starttext \dorecurse{8}{\samplefile{knuth}} \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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Image cropped
Hi Wolfgang, That's what I understood but the problem is that if I reduce the margin, the logo is too small in my opinion : what would you do ? Indeed the line is green but you will have understood: =) Fabrice Le sam. 11 sept. 2021 à 19:17, Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> a écrit : > Fabrice Couvreur via ntg-context schrieb am 11.09.2021 um 17:52: > > Hi Wolfgang, > The red frame is the print area ? > > > The *green* frame are the margins of the A4 paper which is positioned in > the middle of the A3 paper. > > The larger paper allows you to the see the part of the margins which are > outside of the printable area. > > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Image cropped
Fabrice Couvreur via ntg-context schrieb am 11.09.2021 um 17:52: Hi Wolfgang, The red frame is the print area ? The *green* frame are the margins of the A4 paper which is positioned in the middle of the A3 paper. The larger paper allows you to the see the part of the margins which are outside of the printable area. 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Image cropped
Hi Wolfgang, The red frame is the print area ? Le sam. 11 sept. 2021 à 16:43, Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> a écrit : > Fabrice Couvreur via ntg-context schrieb am 11.09.2021 um 16:32: > > Hello, > I like to put a logo on my statements but I noticed that the image is > cropped on the edge. > I tried to change the printer's print settings but was unsuccessful. > > > Add these settings to your example and you see the problem. > > \setuppapersize[A4][A3] > > \setuplayout[location=middle] > > \setuplayout[width=middle,height=middle] > > \setupfootertexts >[margin] >[] >[{\offset[y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] >[] >[{\offset[y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] > > \showframe > > \starttext > \dorecurse{8}{\input knuth} > \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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Image cropped
Fabrice Couvreur via ntg-context schrieb am 11.09.2021 um 16:32: Hello, I like to put a logo on my statements but I noticed that the image is cropped on the edge. I tried to change the printer's print settings but was unsuccessful. Add these settings to your example and you see the problem. \setuppapersize[A4][A3] \setuplayout[location=middle] \setuplayout[width=middle,height=middle] \setupfootertexts [margin] [] [{\offset[y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] [] [{\offset[y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] \showframe \starttext \dorecurse{8}{\input knuth} \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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___