From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/117127 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Wolfgang Schuster via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Problem with \setuplayout parameters being ignored Date: Sun, 5 Mar 2023 17:58:26 +0100 Message-ID: References: <69ec19e6-25ea-7008-f77a-e8934492baf9@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5776625991009539353==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19485"; 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.59 Cc: Wolfgang Schuster , Keith McKay To: mailing list for ConTeXt users , Keith McKay via ntg-context Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 05 17:59:34 2023 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 1pYrhu-0004vg-8N for gctc-ntg-context-518@m.gmane-mx.org; Sun, 05 Mar 2023 17:59:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3FD5A380A37; Sun, 5 Mar 2023 17:58:32 +0100 (CET) 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 0UQbo5vinSGr; Sun, 5 Mar 2023 17:58:30 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A6A71380A3A; Sun, 5 Mar 2023 17:58:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3BCD6380A39 for ; Sun, 5 Mar 2023 17:58:29 +0100 (CET) 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 HC87oQvAO1X2 for ; Sun, 5 Mar 2023 17:58:28 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.54; helo=mail-wr1-f54.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Original-Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (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 64080380A38 for ; Sun, 5 Mar 2023 17:58:28 +0100 (CET) Original-Received: by mail-wr1-f54.google.com with SMTP id t15so6605017wrz.7 for ; Sun, 05 Mar 2023 08:58:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:from:to:cc:subject:date :message-id:reply-to; bh=d5YnsBGPjWlvOZsz0IkgE9Hd99BWvtiDqywpx2y1Obg=; b=UR1S4CTqPv7pIRHJPzTkA10lmhv4zdo8kT9O4VCmACmWXDJ7mjq0wgX6SD0z/uOIKQ f+xVYoyjkFZxMKaZxwEwnsi7sRcq5feDk3JgL340OL0YS0SQKMdtH5cWRug9obTmUAOu cOcfc0TNrK12zS5h9fQjLL9Khf2dubmgqG4cUPIF4hL7zDUgw7hECDKwovpG34zcZEik fj2qGBEx6lrTeDMFHzBhIOFyHory1M204pqPwppR/OjWtWPmzMWtxIAKGoKK+y2e7sj8 XEI6vXReaax4JlFHf/5pC2ns8Bk4Jen2tFyHIwJwx/DTapJTniwPGV4DFJJPmCUbnxQo u2Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=d5YnsBGPjWlvOZsz0IkgE9Hd99BWvtiDqywpx2y1Obg=; b=7R63rZWJYd4qUf+hJ1QtX675FySpDdu50VxpNkkRaOqctJY4vhufxnaTffcPlXynKR JbFGBai9oKayaDoHlqmB2hcRh5cmiSpyRLxYFYQejnc9bIV+dc37q1Aba3U1aSTgndD6 AGdrsyE+H+xlLWfCKMDe9IWNj/CQZqajGYEPd3WQudgsQRWgL4F+vX2BmVMtRinmHNPN B45QEtRUI3wV8q94v+LO+NSgL08QEoj+Igoh739y/Ymq3rGUK4eUnvt3RG85AHk04ODP pZFB6hZkOpxeoEml8Lo1PNYeC07232KwlX6U3h5xtfx+L8gr+GQ1T3ESzaIDyLZcurui Obsw== X-Gm-Message-State: AO0yUKWa9h2MPHiRvj5mzOL/lUvF4GLYPbFVLdRfhaLWE+ez3LzRocgu pIhN/QyzTzhvpy6vwIS2Ed8= X-Google-Smtp-Source: AK7set8sbITBUTTQuw2OFXtZJam4U9sXO2Hl37XT7T6RVMZzX0Z1ZjbLRT+cPNXC1a9fMxEd30dF5w== X-Received: by 2002:a05:6000:1a54:b0:2ca:6cb1:c9c5 with SMTP id t20-20020a0560001a5400b002ca6cb1c9c5mr5776234wry.30.1678035507099; Sun, 05 Mar 2023 08:58:27 -0800 (PST) Original-Received: from ?IPv6:2a02:810d:a8bf:fe08:b4aa:bce7:1d5:b3ec? ([2a02:810d:a8bf:fe08:b4aa:bce7:1d5:b3ec]) by smtp.gmail.com with ESMTPSA id r1-20020a056000014100b002c5534db60bsm7947419wrx.71.2023.03.05.08.58.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Mar 2023 08:58:26 -0800 (PST) In-Reply-To: <69ec19e6-25ea-7008-f77a-e8934492baf9@gmail.com> 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:117127 Archived-At: This is a multi-part message in MIME format. --===============5776625991009539353== Content-Type: multipart/alternative; boundary="------------5BE257E24EB9DE4B16E69E1B" Content-Language: en-US This is a multi-part message in MIME format. --------------5BE257E24EB9DE4B16E69E1B Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Keith McKay via ntg-context schrieb am 05.03.2023 um 17:54: > > Hi > > I'm having a strange problem with the \setuplayout command with the > parameters being ignored. In the code below the only parameter which > does get setup is the backspace parameter, the header, footer, width, > and margin parameters are setup differently according to the log. I'm > probably missing something fairly obvious so hints would be helpful. > The document I'm trying to setup will probably be a maximum of 50 > pages and I would like to reduce the space at the top and bottom of > the page. > > Best Wishes > > Keith McKay > > %%%%%%%%% Code so far %%%%%%%%%%% > > \setuppapersize[A4] > > \setuplayout[ > > backspace = 2.5cm, > > margin = 0.5cm, > > width = 16cm, > > header = 1cm, > > footer = 1cm, > > ] > Remove the spaces before and after = in the settings. While LaTeX ignores spaces around = ConTeXt doesn't. Wolfgang --------------5BE257E24EB9DE4B16E69E1B Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Keith McKay via ntg-context schrieb am 05.03.2023 um 17:54:

Hi

I'm having a strange problem with the \setuplayout command with the parameters being ignored. In the code below the only parameter which does get setup is the backspace parameter, the header, footer, width, and margin parameters are setup differently according to the log. I'm probably missing something fairly obvious so hints would be helpful. The document I'm trying to setup will probably be a maximum of 50 pages and I would like to reduce the space at the top and bottom of the page.

Best Wishes

Keith McKay

%%%%%%%%% Code so far %%%%%%%%%%%

\setuppapersize[A4]

\setuplayout[

backspace = 2.5cm,

margin = 0.5cm,

width = 16cm,

header = 1cm,

footer = 1cm,

]

Remove the spaces before and after = in the settings. While LaTeX ignores spaces around = ConTeXt doesn't.

Wolfgang

--------------5BE257E24EB9DE4B16E69E1B-- --===============5776625991009539353== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============5776625991009539353==--