From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112839 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Fabrice Couvreur via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Image cropped Date: Mon, 13 Sep 2021 16:42:55 +0200 Message-ID: References: <8b07c9e6-4464-fdc9-f06c-cb636acad5df@gmail.com> <50de0164-1230-4f44-e217-eb582f5f4d21@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3610676748605263938==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34278"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Fabrice Couvreur To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 13 16:45:49 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mPnDR-0008eS-7h for gctc-ntg-context-518@m.gmane-mx.org; Mon, 13 Sep 2021 16:45:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 43FF7287500; Mon, 13 Sep 2021 16:45:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WxnF-23FIDRK; Mon, 13 Sep 2021 16:45:19 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E03522874FC; Mon, 13 Sep 2021 16:45:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BBB572874F8 for ; Mon, 13 Sep 2021 16:45:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z6U3xp9gzI1Z for ; Mon, 13 Sep 2021 16:45:16 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.174; helo=mail-oi1-f174.google.com; envelope-from=fabrice1.couvreur@gmail.com; receiver= Original-Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 681D52874F5 for ; Mon, 13 Sep 2021 16:45:16 +0200 (CEST) Original-Received: by mail-oi1-f174.google.com with SMTP id c79so14311674oib.11 for ; Mon, 13 Sep 2021 07:45:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=5H+pdoTj+qeKxQiektPal8lbDvRyA0KcAyFjXLluFKw=; b=OynisEq9+Hvo/NXREMfH8DzJfM04arbM8KtF/6WOA0ztepqNnC8RSiahrg+ekdUA/+ oFOuBhIeX+X3+ttSLl16sMhTjZaMtozWTiSUCxgqlFgjJMGLdtfFzdaMrJVkiT5Pk34N ugfSHfhnr7XK+Jqojb0yme3jilWyV94UVuyLyEUNWoQ0SxSaGGPPKAhihDE5T9cRB/JB S77r4PH7IsreB5iveI7YOOPqmAdJZ7Qv80+wJAL61FwIjFsBuPd92WyVNeqSfRhx8Mls U1nYzXTCqsl0h/D10DnPtftaPZvO5f6j8ICF8SPKkz++ZTaxjb8TGwyXpoP9XWoRTQRY 9oXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=5H+pdoTj+qeKxQiektPal8lbDvRyA0KcAyFjXLluFKw=; b=zDOtzQeWzZ6c3S9APcq9I0T9UJiR/nkq8QBjUU/NSkULOrvlp0lTGAUAT2VCMbsELX J5zsthxvvhDvSi31ejdfxM6nx47m2LdCT/DA8E/Kf7ewC719mGugMxQ2x5ereN2zm2lb HRDhgG0oELsa7RphllzTq0K83lzlCy3Zbq4hlKsiFMZJqFAK2yRDJdIMd4N+qJVENVBm wGeGKu2ii61dWPicJ/Ch9a3btKuMdx3mDq09nGIq23aKyW8RaQ1mNfLGI7418U5PtA1U YBi2O8uJ3j5IP2f2q6EVkJLT883Jp6RhHu+yaSOrKAim3IxqO9w4eGCb9P/IXJJa37zS COHQ== X-Gm-Message-State: AOAM530DuZ6XDtsQlsQD22QQGeMpi+r/HTy3nZoAO9C3SvDsoSBAy1pp W4ZGvNjKDBvbvy7MuvqAFd/E8JaxVy7dS6miT05jzSew+Rk= X-Google-Smtp-Source: ABdhPJy5vPPiVeZlLiTAFMivNDZ4khGl9H0GaDEUlx2rwckBDVSrVYPQUqSlfzQhCTFGFBKZ528ivIcZeVRQFbE+MJI= X-Received: by 2002:aca:bec2:: with SMTP id o185mr7637148oif.151.1631544314271; Mon, 13 Sep 2021 07:45:14 -0700 (PDT) In-Reply-To: <50de0164-1230-4f44-e217-eb582f5f4d21@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:112839 Archived-At: --===============3610676748605263938== Content-Type: multipart/alternative; boundary="000000000000499bb805cbe183da" --000000000000499bb805cbe183da Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 =C3=A0 16:50, Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> a =C3=A9crit : > 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=3Dmiddle, > height=3Dmiddle] > > \setupfootertexts > [margin] > [] > [{\offset[x=3D-1cm,y=3D\strutdp]{\externalfigure[logo.pdf][factor=3Dmax= ]}}] > [] > [{\offset[x=3D1cm,y=3D\strutdp]{\externalfigure[logo.pdf][factor=3Dmax]= }}] > > %\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 > > _________________________________________________________________________= __________ > --000000000000499bb805cbe183da Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Wolfgang,
I had done the same thing but I thought this solu= tion was not the most elegant, and I wanted to know what the specialists we= re going to do.
Thank you.
Fabrice

Le=C2=A0dim. 12 = sept. 2021 =C3=A0=C2=A016:50, Wolfgang Schuster via ntg-context <ntg-context@ntg.nl> a =C3=A9crit=C2= =A0:
Fabrice Couvreur via ntg-context=20 schrieb am 12.09.2021 um 12:10:
=20
Hi Wolfgang,
That's what I understood but the problem is that if I reduce the margin, the=20 logo is too small in my opinion : what would you do ?

Place the logo with a layer or shift is inwards.

\setuplayout
=C2=A0 [width=3Dmiddle,
=C2=A0=C2=A0 height=3Dmiddle]

\setupfootertexts
=C2=A0 [margin]
=C2=A0 []
=C2=A0 [{\offset[x=3D-1cm,y=3D\strutdp]{\externalfigure[logo.pdf][factor=3D= max]}}]
=C2=A0 []
=C2=A0 [{\offset[x=3D1cm,y=3D\strutdp]{\externalfigure[logo.pdf][factor=3Dm= ax]}}]

%\showframe

\starttext
\dorecurse{8}{\samplefile{knuth}}
\stoptext

Wolfgang

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000499bb805cbe183da-- --===============3610676748605263938== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============3610676748605263938==--