ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Image cropped
@ 2021-09-11 14:32 Fabrice Couvreur via ntg-context
  2021-09-11 14:42 ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Fabrice Couvreur via ntg-context @ 2021-09-11 14:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Fabrice Couvreur


[-- Attachment #1.1: Type: text/plain, Size: 461 bytes --]

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.
Thanks
Fabrice

\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

[-- Attachment #1.2: Type: text/html, Size: 1904 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Image cropped
  2021-09-11 14:32 Image cropped Fabrice Couvreur via ntg-context
@ 2021-09-11 14:42 ` Wolfgang Schuster via ntg-context
  2021-09-11 15:52   ` Fabrice Couvreur via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2021-09-11 14:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Wolfgang Schuster


[-- Attachment #1.1: Type: text/plain, Size: 677 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 2326 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Image cropped
  2021-09-11 14:42 ` Wolfgang Schuster via ntg-context
@ 2021-09-11 15:52   ` Fabrice Couvreur via ntg-context
  2021-09-11 17:17     ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Fabrice Couvreur via ntg-context @ 2021-09-11 15:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Fabrice Couvreur


[-- Attachment #1.1: Type: text/plain, Size: 1411 bytes --]

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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3508 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Image cropped
  2021-09-11 15:52   ` Fabrice Couvreur via ntg-context
@ 2021-09-11 17:17     ` Wolfgang Schuster via ntg-context
  2021-09-12 10:10       ` Fabrice Couvreur via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2021-09-11 17:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Wolfgang Schuster


[-- Attachment #1.1: Type: text/plain, Size: 336 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 1207 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Image cropped
  2021-09-11 17:17     ` Wolfgang Schuster via ntg-context
@ 2021-09-12 10:10       ` Fabrice Couvreur via ntg-context
  2021-09-12 14:49         ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Fabrice Couvreur via ntg-context @ 2021-09-12 10:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Fabrice Couvreur


[-- Attachment #1.1: Type: text/plain, Size: 1219 bytes --]

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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3287 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Image cropped
  2021-09-12 10:10       ` Fabrice Couvreur via ntg-context
@ 2021-09-12 14:49         ` Wolfgang Schuster via ntg-context
  2021-09-13 14:42           ` Fabrice Couvreur via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2021-09-12 14:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Wolfgang Schuster


[-- Attachment #1.1: Type: text/plain, Size: 593 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 1579 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Image cropped
  2021-09-12 14:49         ` Wolfgang Schuster via ntg-context
@ 2021-09-13 14:42           ` Fabrice Couvreur via ntg-context
  0 siblings, 0 replies; 7+ messages in thread
From: Fabrice Couvreur via ntg-context @ 2021-09-13 14:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Fabrice Couvreur


[-- Attachment #1.1: Type: text/plain, Size: 1461 bytes --]

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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3711 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2021-09-13 14:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-11 14:32 Image cropped Fabrice Couvreur via ntg-context
2021-09-11 14:42 ` Wolfgang Schuster via ntg-context
2021-09-11 15:52   ` Fabrice Couvreur via ntg-context
2021-09-11 17:17     ` Wolfgang Schuster via ntg-context
2021-09-12 10:10       ` Fabrice Couvreur via ntg-context
2021-09-12 14:49         ` Wolfgang Schuster via ntg-context
2021-09-13 14:42           ` Fabrice Couvreur via ntg-context

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).