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: Wed, 28 Sep 2011 14:03:11 +0200 [thread overview]
Message-ID: <CAG5iGsC9MGjNnZ_Qo09PwGRVS5xjqO2VVn-qhyFrY+UNfc+Pvw@mail.gmail.com> (raw)
In-Reply-To: <21EE75A2-3953-47A1-AB28-462B89B07002@googlemail.com>
On Wed, Sep 28, 2011 at 1:54 PM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
> \definelayout expects a assignment as argument.
>
> \definelayout[1][topspace=5.2cm,height=fit]
> \definelayout[2][]
>
> \setuplayout[2][reset]
>
> \starttext
> \dorecurse{10}{\input knuth\par}
> \stoptext
>
> or
>
> \definelayout[current][width=12cm]
>
> \definelayout[1][width=12cm,topspace=5.2cm,height=fit]
>
> \starttext
> \dorecurse{10}{\input knuth\par}
> \stoptext
>
> Wolfgang
hm
http://wiki.contextgarden.net/Layout
seems to be different.
Btw, this works without warnings
%%%%%%%%%%%%%%%%%%%%%
\setuptolerance[verytolerant,stretch]
\setuppapersize[A4][A4]
\setuplayout[
backspace=3cm, topspace=1.5cm,
rightmargin=0cm,leftmargin=1.3cm,
width=15cm,
leftmargindistance=0.2cm,
height=fit,
header=0cm, footer=1cm,
]
\definelayout[1][
topspace=5.2cm,
height=fit,
]
\dorecurse{10000}{\definelayout[\the\numexpr 1+\recurselevel][]}
\starttext
\dorecurse{100}{\input knuth}
\stoptext
--
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-09-28 12:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2011-09-28 12:12 ` Wolfgang Schuster
-- strict thread matches above, loose matches on Subject: below --
2011-10-02 14:39 Pierre-François Bonnefoi
2011-10-02 17:51 ` Wolfgang Schuster
2011-10-05 11:36 ` 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-09-29 10:19 Pierre-François Bonnefoi
2011-09-29 10:44 ` luigi scarso
2011-09-26 18:18 Pierre-François Bonnefoi
2011-09-26 19:09 ` Wolfgang Schuster
2011-09-25 18:54 Pierre-François Bonnefoi
2011-09-26 8:02 ` 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=CAG5iGsC9MGjNnZ_Qo09PwGRVS5xjqO2VVn-qhyFrY+UNfc+Pvw@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).