ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [Layout] Problem with ConTeXt mkII
Date: Mon, 26 Sep 2011 10:02:25 +0200	[thread overview]
Message-ID: <CAG5iGsBP8cw6ZJXYq99ETMz3Kfr50SJqKrqP-4SiZ7nWdGJsgg@mail.gmail.com> (raw)
In-Reply-To: <C22E5BCE-BA8F-4112-B4AD-E0F2C4D97F7E@unilim.fr>

2011/9/25 Pierre-François Bonnefoi <bonnefoi@unilim.fr>:
> Hello,
>
> I use extensively ConTeXt for my work as a teacher.
>
> I run into this problem :
>
> I've defined the following layout for giving work for my students :
>
> \setuptolerance[verytolerant,stretch]
> \setuppapersize[A4][A4]
>
> \setuplayout[
> backspace=3cm, topspace=1.5cm,
> rightmargin=0cm,leftmargin=1.3cm,
> width=15cm,
> leftmargindistance=0.2cm,
> height=26.7cm,
> header=0cm, footer=1cm
> ]
>
> \definelayout[1][
> topspace=5.2cm,
> height=23cm, textheight=22cm]
>
> \definelayout[2][reset]
>
> The purpose is to give some space on the first page to put a layer with a big title (it's for a document full of exercices, an example could be found at http://ishtar.msi.unilim.fr/uploads/media/Reseaux_I_TD_1_2011_2012.pdf).
>
> But, after having the correct layout for the first page, the second page gives me a reduced textheight : the text don't flow on the lower part of the page.
>
> That could be explain as the textheight variable is not computed for the second page.
>
> This is very annoying.
>
> I've found a workaround by using the same layout for the whole document and put some blank lines on the first page.
>
> I use the following version "ConTeXt  ver: 2011.05.18 18:04 MKII  fmt: 2011.8.31  int: english/english".
>
> Thank you for your help,

> Pierre-François.

Hm, usually it's better to say
height=fit
or
height=middle
(try \showlayout.)
Do you have a small complete example ?

PS
Resp. UE : P-F. Bonnefoi, http://ishtar.msi.unilim.fr/, « Fiche TD n\x0e1
» version du 12 septembre 2011, rédigé avec ConTEXt – Don’t Panic !
nice footer :-)



-- 
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2011-09-26  8:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-25 18:54 Pierre-François Bonnefoi
2011-09-26  8:02 ` luigi scarso [this message]
2011-09-26 18:18 Pierre-François Bonnefoi
2011-09-26 19:09 ` Wolfgang Schuster
2011-09-28 10:41 Pierre-François Bonnefoi
2011-09-28 11:38 ` luigi scarso
2011-09-28 11:54   ` Wolfgang Schuster
2011-09-28 12:03     ` luigi scarso
2011-09-28 12:12       ` Wolfgang Schuster
2011-09-29 10:19 Pierre-François Bonnefoi
2011-09-29 10:44 ` luigi scarso
2011-10-01 16:59 Pierre-François Bonnefoi
2011-10-01 17:25 ` Aditya Mahajan
2011-10-02 11:25 ` Hans Hagen
2011-10-02 14:39 Pierre-François Bonnefoi
2011-10-02 17:51 ` Wolfgang Schuster
2011-10-05 11:36   ` luigi scarso

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=CAG5iGsBP8cw6ZJXYq99ETMz3Kfr50SJqKrqP-4SiZ7nWdGJsgg@mail.gmail.com \
    --to=luigi.scarso@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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).