From: Sam Qasbah <samqasbah@gmail.com>
To: ntg-context@ntg.nl
Subject: Layout for the first page
Date: Thu, 30 Dec 2010 01:32:51 +0100 [thread overview]
Message-ID: <AANLkTinA4DFdcMfuNS9sDV01cFodpQ1Sc75Q4mw=9=uc@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 675 bytes --]
Hello to all of you.
I'm working on a document that must have a layout for the first page and a
different layout for all the other pages.
On this mailing list Hans Hagen said that the technique to set up a layout
for the first page of a document is
\setuplayout[1][key=value, ... ]
I tried that code in this way:
\definelayout[1][% layout for the first page
backspace=6cm,
cutspace=6cm,
width=middle]
\definelayout[% global layout for all the other other pages
backspace=1cm,
cutspace=1cm,
width=middle]
\setuplayout
\starttext
\showframe
\dorecurse{20}{\input dawkins \par \input knuth \par}
\stoptext
this code doesn't work.
Where am I in fault?
Sam Qasbah
[-- Attachment #1.2: Type: text/html, Size: 840 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2010-12-30 0:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-30 0:32 Sam Qasbah [this message]
2010-12-30 14:27 ` Vianney le Clément
2010-12-30 14:42 Sam Qasbah
2010-12-30 14:53 ` Vianney le Clément
2010-12-30 15:05 ` Hans Hagen
2010-12-30 21:30 ` Vianney le Clément
2010-12-30 15:19 Sam Qasbah
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='AANLkTinA4DFdcMfuNS9sDV01cFodpQ1Sc75Q4mw=9=uc@mail.gmail.com' \
--to=samqasbah@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).