From: Keith McKay via ntg-context <ntg-context@ntg.nl>
To: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>,
mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Keith McKay <mckaymeister@gmail.com>
Subject: Re: Problem with \setuplayout parameters being ignored
Date: Sun, 5 Mar 2023 17:10:11 +0000 [thread overview]
Message-ID: <b59a7cc1-1220-6887-29c6-624606e023ce@gmail.com> (raw)
In-Reply-To: <c53cff45-d364-d06a-444b-20fc523fe076@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1143 bytes --]
Thank you so much Wolfgang! I should have realised that. It's what I get
for trying to write readable code.
Best Wishes
Keith McKay
On 05/03/2023 16:58, Wolfgang Schuster wrote:
> 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
>
[-- Attachment #1.2: Type: text/html, Size: 3183 bytes --]
[-- Attachment #2: Type: text/plain, Size: 496 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2023-03-05 17:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-05 16:54 Keith McKay via ntg-context
2023-03-05 16:58 ` Wolfgang Schuster via ntg-context
2023-03-05 17:10 ` Keith McKay via ntg-context [this message]
2023-03-05 17:24 ` Wolfgang Schuster via ntg-context
2023-03-05 17:41 ` Keith McKay via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b59a7cc1-1220-6887-29c6-624606e023ce@gmail.com \
--to=ntg-context@ntg.nl \
--cc=mckaymeister@gmail.com \
--cc=wolfgang.schuster.lists@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).