[NTG-context] backspace makeupwidth tradeoff

Hans Hagen pragma at wxs.nl
Fri Dec 23 10:37:27 CET 2005


M.guravage wrote:

>% default makeupwidth is 15cm
>%\def\mywidth{\dimexpr(\makeupwidth - \abcor)}
>\def\mywidth{\dimexpr(\makeupwidth - \pbcor\backspace)}
>
>\setuplayout
>  [location=middle,
>   backspace=\mybackspace,
>   width=\mywidth]
>  
>

you refer to \backspace but you cannot say whether it;s set already; 
layout calculations are a bit complex and the order of key=values is not 
related to the calculations

you can try to use:  \layoutparameter{backspace}

\def\mywidth{\dimexpr(\makeupwidth - \pbcor\layoutparameter{backspace})}



Hans


More information about the ntg-context mailing list