ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wagner Macedo <wagnerluis1982@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \definelayout[first] does not yield to default layout on page 2
Date: Thu, 26 Jan 2012 15:11:06 -0300	[thread overview]
Message-ID: <CAKGY2PkdG1e=EPxBiWowLkkLKZniNy89z+wQLSocuEmYLeDEsQ@mail.gmail.com> (raw)
In-Reply-To: <CAGfkPGnQbGUZkb0h2jr2TPGzxvLYjKzv3V2TYk1aYJbq9OOHBA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 3915 bytes --]

Well, I never need this, so I thought that information was correct.

I will do some tests when I'll have time to see if works for me.

--
Wagner Macedo


On 26 January 2012 14:40, Peter Park Nelson <peter.park.nelson@gmail.com>wrote:

> Oh crap, I thought Wagner's solution worked but it doesn't -- quite.
>
> \showframe indicates that the page areas are defined correctly, and
> the footer frame on page 2 and later is the correct size. But Context
> is not filling the text columns all the way to the bottom; The body
> text is still stopping short as though the larger footer was still in
> effect.
>
> Frustrating.
>
> On Thu, Jan 26, 2012 at 8:18 AM, Wagner Macedo <wagnerluis1982@gmail.com>
> wrote:
> > According to http://wiki.contextgarden.net/Layout#Multiple_layouts, you
> can
> > do this by using the commands \setuplayout[yourcustomlayout] and
> > \setuplayout[reset] at the location you want to change the layout.
> >
> > --
> > Wagner Macedo
> >
> >
> > On 25 January 2012 23:41, Peter Park Nelson <peter.park.nelson@gmail.com
> >
> > wrote:
> >>
> >> First-page layout is an issue that I have asked about before, but
> >> maybe I am doing something wrong. Here is my question in an earlier
> >> thread:
> >>
> http://archive.contextgarden.net/message/20111228.041922.c60f9cd5.en.html
> >> .
> >>
> >> I want to define a layout for the first page of my document with
> >> different header and footer formatting -- specifically, no header and
> >> a large footer to hold publication information. Based on examples on
> >> Contextgarden and this list, I think my code below is correct.
> >> However, the first page formatting is continued on all pages of the
> >> document. The effect is the same when using \definelayout[first] and
> >> \definelayout[1].
> >>
> >> %%-------------------------------------------------------------------
> >>
> >> setuppapersize[letter][letter]
> >> \setupindenting[yes, medium]
> >>
> >> \setuplayout
> >>  [width=middle,
> >>  backspace=15mm,
> >>  topspace=10mm,
> >>  height=254mm,
> >>  header=10mm,  % normal header
> >>  headerdistance=5mm,
> >>  footer=5mm,
> >>  footerdistance=5mm,
> >>  grid=yes]
> >>
> >> \definelayout
> >>  [first]
> >>  [width=middle,
> >>  backspace=15mm,
> >>  topspace=10mm,
> >>  height=254mm,
> >>  header=0mm,      % no header
> >>  headerdistance=0mm,
> >>  footer=25mm,      % big footer
> >>  footerdistance=5mm,
> >>  grid=yes]
> >>
> >> \definecolumnset[body][n=2,balancing=yes]
> >>
> >> \setupheadertexts
> >>  [This is a header]
> >>  [pagenumber]
> >>  [pagenumber]
> >>  [Some text]
> >>
> >> \setupfootertexts
> >>  [footer]
> >>  [footer]
> >>  [footer]
> >>  [footer]
> >>
> >> \starttext
> >>
> >> \startcolumnset[body]
> >>
> >> \dorecurse{20}{\input tufte\par}
> >>
> >> \stopcolumnset
> >>
> >> \stoptext
> >>
> >
> >
> ___________________________________________________________________________________
> > 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
> >
> ___________________________________________________________________________________
>
>
>
> --
> Peter Park Nelson
> peter.park.nelson@gmail.com
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 6172 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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
___________________________________________________________________________________

  reply	other threads:[~2012-01-26 18:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-26  2:41 Peter Park Nelson
2012-01-26 14:18 ` Wagner Macedo
2012-01-26 17:04   ` Peter Park Nelson
2012-01-26 17:40   ` Peter Park Nelson
2012-01-26 18:11     ` Wagner Macedo [this message]
2012-01-26 18:18 ` Wolfgang Schuster
2012-01-26 20:40   ` Peter Park Nelson
2012-01-27  5:01     ` Peter Park Nelson
2012-02-04  2:33     ` Peter Park Nelson

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='CAKGY2PkdG1e=EPxBiWowLkkLKZniNy89z+wQLSocuEmYLeDEsQ@mail.gmail.com' \
    --to=wagnerluis1982@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).