From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112827 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Wolfgang Schuster via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Image cropped Date: Sun, 12 Sep 2021 16:49:50 +0200 Message-ID: <50de0164-1230-4f44-e217-eb582f5f4d21@gmail.com> References: <8b07c9e6-4464-fdc9-f06c-cb636acad5df@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3914903770708051366==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21545"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.49 Cc: Wolfgang Schuster To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 12 16:50:35 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 1mPQoV-0005Qm-7Z for gctc-ntg-context-518@m.gmane-mx.org; Sun, 12 Sep 2021 16:50:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B5DBE287484; Sun, 12 Sep 2021 16:49:58 +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 gS1IVdZKYqRv; Sun, 12 Sep 2021 16:49:57 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2BD31287224; Sun, 12 Sep 2021 16:49:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2BDB0287224 for ; Sun, 12 Sep 2021 16:49:55 +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 WCkF_J6YenEz for ; Sun, 12 Sep 2021 16:49:54 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.52; helo=mail-wr1-f52.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Original-Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 575232871CE for ; Sun, 12 Sep 2021 16:49:54 +0200 (CEST) Original-Received: by mail-wr1-f52.google.com with SMTP id t18so10552564wrb.0 for ; Sun, 12 Sep 2021 07:49:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=bygo9/csj5ZUsjLX1IOTmhE6ozibtC3p9drr4etU3kI=; b=LMcPaL+wfpu2v1J0w7gSWSswjCN9iJpIDvB5vOFR/iKHI0h+ey3Wd6Ya6yLM/cbM9t bK/7/Z8qYLXvd4gvAdBmDIxVBgEW+jeXv2EE6hYe68avJDNjdS6c1+HjBAhlB/IUgOM8 8B03DGmqHfRuNto6q3949a0XMYI4gSIKAJWZLdC1nx4RuCDegDHMbEbVIxaDYH60hm00 AbESOb/bgAcMVWx2clgbU86Vw92Z2w3iwNGnXRSl2INN1X/NKBkIWWkLZGRt9jq00EQo G77icuhtrJ8Y0muoofsxniLdQ72Jj1jjGAbAaJOjSVpW9YgDNkY1ZIX7vd5+Vnr9b0C1 wW5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=bygo9/csj5ZUsjLX1IOTmhE6ozibtC3p9drr4etU3kI=; b=MgqqsuPSZ3fSYgpfAQrp9T1Gu5UkEAM1K8Ah4GO+9HCv0RgCIDIvLOllFyJjRfoxyd Hz5oxXiwdaMPMp41roDzSbs0gBNN2WAFKkOypBiO4b6UrcGyPDJbLZHVPyiBHKF+g5wC D6HcG4nYtUWK4umzORD86LeAxb9WCX/cYpNpszUP9y9SXek7lZqSfigFSP5unuj1P6XT GMXaeacsdF9Z5LsNpm3nxwFRoEPtfqMpUr8iiL1zKGpYfMLRyKeqgL+Bp4Si8+wrnYD6 fRaVdSWl8rmbNVyk+r8ZhfM81zBuysqIFDnQv55UcuLjrgXZ982hkVbC6tesSZBfxA7I N9Qw== X-Gm-Message-State: AOAM533mQfYN8gh7IDRbyUv39giUWcsrpgAvKBvgLp0VIgbkgUdeI+mn JY4Xr8KJELE32GMReiZrmTJtNN2lq+U= X-Google-Smtp-Source: ABdhPJw3IkrwgNLZQf5SM2kvLHO0lH/xkS6JDdfub9RFXc7fTexUTejqrmVoIW+IH1K3RK6FOjEAPA== X-Received: by 2002:a5d:4411:: with SMTP id z17mr5012618wrq.146.1631458193825; Sun, 12 Sep 2021 07:49:53 -0700 (PDT) Original-Received: from [192.168.0.227] (ip1f10f98b.dynamic.kabel-deutschland.de. [31.16.249.139]) by smtp.gmail.com with ESMTPSA id b16sm4745835wrp.82.2021.09.12.07.49.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Sep 2021 07:49:52 -0700 (PDT) In-Reply-To: Content-Language: en-US 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:112827 Archived-At: This is a multi-part message in MIME format. --===============3914903770708051366== Content-Type: multipart/alternative; boundary="------------C0BCDAAFAFB7F4F28F812E07" Content-Language: en-US This is a multi-part message in MIME format. --------------C0BCDAAFAFB7F4F28F812E07 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------C0BCDAAFAFB7F4F28F812E07 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit 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

--------------C0BCDAAFAFB7F4F28F812E07-- --===============3914903770708051366== 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== --===============3914903770708051366==--