On 07/29/2017 12:07 PM, Fabrice Couvreur wrote:
> Hello,
> With Latex, for my layout, I used this :
> \documentclass[a4paper,11pt]{article}
> \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
> With Context, I did this :
> \setuppapersize[A4][A4]
> \setuplayout
>   [ topspace=2cm,
>     header=0pt,
>     footer=1.5cm,
>     bottomspace=0pt,
>     backspace=2cm,
>     cutspace=0pt,
>     width=middle]
> Is it correct ?
Hi Fabrice,

the \setuplayout values are fine. Do they contain the same dimensions as
in the LaTeX geometry options? Let me see ;-).

You remove header in ConTeXt, but it seems not to be removed in LaTeX.
This may make a different point to start placing text in the page (if
you have header space defined in LaTeX [whether you use it or not]).

You set the footer in ConTeXt. I don’t remember where LaTeX places the
page number and how LaTeX handles the footer. You might end having a
different point to end placing text in the page.

Paper size in ConTeXt defaults to A4, so you may remove that line.

BTW, you forgot to mention \setupbodyfont[11pt]. Body font size defaults
to 12pt in ConTeXt.

A way to check this is the following sample:

    \input zapf

You don’t have to set bottomspace or cutspace with height or width set
to middle.

Just in case it helps,

If your question is of interest to others as well, please add an entry to the 

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net

Reply via email to