From: Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Keith McKay via ntg-context <ntg-context@ntg.nl>
Cc: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>,
Keith McKay <mckaymeister@gmail.com>
Subject: Re: Problem with \setuplayout parameters being ignored
Date: Sun, 5 Mar 2023 17:58:26 +0100 [thread overview]
Message-ID: <c53cff45-d364-d06a-444b-20fc523fe076@gmail.com> (raw)
In-Reply-To: <69ec19e6-25ea-7008-f77a-e8934492baf9@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 918 bytes --]
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: 2474 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 16:58 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 [this message]
2023-03-05 17:10 ` Keith McKay via ntg-context
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=c53cff45-d364-d06a-444b-20fc523fe076@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).