From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107059 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jack Steyn Newsgroups: gmane.comp.tex.context Subject: Trouble setting PDF boxes Date: Sat, 25 Apr 2020 22:37:34 +1000 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0249776677194611758==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="81503"; mail-complaints-to="usenet@ciao.gmane.io" To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 25 14:38:31 2020 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 1jSK4k-000L5K-Tz for gctc-ntg-context-518@m.gmane-mx.org; Sat, 25 Apr 2020 14:38:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 74B34183567; Sat, 25 Apr 2020 14:38:05 +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 Tk91gBpwPtKK; Sat, 25 Apr 2020 14:38:04 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8F16B18364A; Sat, 25 Apr 2020 14:38:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 783A1183695 for ; Sat, 25 Apr 2020 14:38:03 +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 V0rRvDwclQZA for ; Sat, 25 Apr 2020 14:38:02 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.214.173; helo=mail-pl1-f173.google.com; envelope-from=steynjack@gmail.com; receiver= Original-Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (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 AEF82183567 for ; Sat, 25 Apr 2020 14:38:02 +0200 (CEST) Original-Received: by mail-pl1-f173.google.com with SMTP id h11so4799384plr.11 for ; Sat, 25 Apr 2020 05:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=moQQ3U2yMm8OBpd8gY3QZ0lcOKJHQq+VTlZfHcF5AlM=; b=tRUUcW439tB+VwnIp8FEHl7kZy1W/59PGDAGmcE42eePC/1i5KoIdPrlIaXpNIa6cQ nxa7il+Yud7TP74ou792uy55u7QdL3fakVffr9ke/hs7JXnysPqMtRP+2gIroeSyfnE5 XzYNDwFofi7Oqo2BCvQjk5poA0QPGYRFAQCEK/Uk16+9M1YJJoqH1eKkydwlUUpIu32O tDqB79h9Mbu3mj56iCJFysHYAe9VfxsCcIUUWWm5ITEbHQbXYJPVQpnVon8o82WtwwyU lKeTQRWV91xzKo5ItHxIvb9B5OiGtskb5AJUEbMzfd9u8Bxk8d0BfiZLiJppVuldWCzq p4Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=moQQ3U2yMm8OBpd8gY3QZ0lcOKJHQq+VTlZfHcF5AlM=; b=nSYUQJIsOI+FIVsOqD3Hy4sWIFajOWVszYoEYOgm/2JYqR61fc4kUeV6IClf83GxgK c1v6TQSanWHYK/SBbIZnbTYAR+1MVejDh2pjf0yBsznZ4mesN7DQIuvVE/L4AC9dMDUx J2yqGwkJK9nWw2J3XN+4HQ7ZbVvoYr0TdT8jgTJb9QzC8YlxHT2eedCTkfLiY7GHyuyZ sLLEGk5eaEEoZujlUH33soX71U8Dc9P5fI2HGCJoFA+aVtzErudXt138bmBm4mYKlmXf Fc8oQlQ1U/cL2HaNmLcoYs1zue/lzbLcKJ2PL1ABSHx3Cl1uZMzP3EnT98TupgWVnVYX wzhg== X-Gm-Message-State: AGi0PuadF2kgLiNoYFOe1dNZ/OESlvK4EXSwQyCL4TpG8Debzo/OURv5 xpCf7nYgU6hqYB6BYJtBU7gUYPZyu7AkCfEMQt8Ohclu X-Google-Smtp-Source: APiQypKlNTd/FuZwqNbE0w7D4P8HDJb7g6Y6+yhDj8BxjrOVCA9Hz/BmFimd6BeMSZdA0ndazBpw+1TWiAF6Uac0jSk= X-Received: by 2002:a17:90a:c707:: with SMTP id o7mr11989881pjt.135.1587818280086; Sat, 25 Apr 2020 05:38:00 -0700 (PDT) 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:107059 Archived-At: --===============0249776677194611758== Content-Type: multipart/alternative; boundary="0000000000008d6fca05a41cc0f9" --0000000000008d6fca05a41cc0f9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I am having trouble setting the PDF boxes to my desired dimensions. Suppose I have \setuppapersize[*a*][*b*]. I want CropBox =3D MediaBox =3D *b*. So f= ar, so good: I can just use cropoffset=3D0mm in \setuplayout. But I want TrimBo= x =3D *a*. However, as far as I can see, I can't achieve this using trimoffse= t in \setuplayout unless (width of *b*) =E2=80=93 (width of *a*) =3D (height = of *b*) =E2=80=93 (height of *a*), which does not hold in my case. So it looks like I need to find another way to set the TrimBox (and the BleedBox, which I want to be 3mm wider and taller than the TrimBox). Does anyone know how to do this? Best, Jack --0000000000008d6fca05a41cc0f9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I am having trouble setting the PDF= boxes to my desired dimensions. Suppose I have \setuppapersize[a][<= i>b].=C2=A0I want CropBox =3D MediaBox =3D=C2=A0b. So far, so good: I can just use cropoffset=3D0mm in \s= etuplayout. But I want TrimBox =3D a. However, as far as I can see, = I can't achieve this using trimoffset in \setuplayout unless (width of = b) =E2=80=93 (width of a) =3D (height of b) =E2=80=93 = (height of a), which does not hold in my case. So=C2=A0it looks like= I need to find another way to set the TrimBox (and the BleedBox, which I w= ant to be 3mm wider and taller than the TrimBox). Does anyone know how to d= o this?

Best,

Jack
<= /div> --0000000000008d6fca05a41cc0f9-- --===============0249776677194611758== 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== --===============0249776677194611758==--