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
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to