[NTG-context] Migrations: exactly LaTeX margins --> ConTeXt margins

xancorreu xancorreu at gmail.com
Tue Aug 31 18:33:19 CEST 2010

Al 31/08/10 12:22, En/na Wolfgang Schuster ha escrit:
> \definelayout
>    [latex10]
>    [width=\ifdim\dimexpr\paperwidth-2in\relax>345pt\relax 345pt\else\dimexpr\paperwidth-2in\relax\fi, % \paperwidth-2in or 345pt, use the smaller value
>     backspace=\dimexpr(\paperwidth-\textwidth)/2-1in\relax,
>     leftmargindistance=7pt,
>     leftmargin=,
>     topspace=,
>     header=12pt,
>     headerdistance=.25in,
>     height=,
>     footer=,
>     footerdistance=,]
Thank you very much for your effort, but it does not work for me:

! Missing number, treated as zero.
<to be read again>
\dorecalculatelayout ...ter \c!leftmargin \global

\dosetuplayout ...#1}}}\fi \fi \recalculatelayout
<to be read again>

? x
No pages of output.
Transcript written on arxiv.log.

For now, I use
% Margins

with approximate the latex in 10.

More information about the ntg-context mailing list