Re: [NTG-context] \definelayout[pagenumber][layout] behaving strangely

2022-12-09 Thread Pablo Rodriguez via ntg-context
On 12/9/22 05:42, peter.hopcroft--- via ntg-context wrote: > The pdf from the tex below looks wrong to me, screenshot attached. > It’s always like this when the page number in the second > \definelayout is 1 more than the page number in the first. For other > pairs of numbers, it behaves like I

[NTG-context] \definelayout[pagenumber][layout] behaving strangely

2022-12-08 Thread peter.hopcroft--- via ntg-context
The pdf from the tex below looks wrong to me, screenshot attached. It’s always like this when the page number in the second \definelayout is 1 more than the page number in the first. For other pairs of numbers, it behaves like I expect: the short layout is only on those 2 pages. I’m using the

Re: [NTG-context] \definelayout[first] does not yield to default layout on page 2

2012-02-03 Thread Peter Park Nelson
Yeah! Woo! On Thu, Jan 26, 2012 at 2:40 PM, Peter Park Nelson peter.park.nel...@gmail.com wrote: On Thu, Jan 26, 2012 at 12:18 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 26.01.2012 um 03:41 schrieb Peter Park Nelson: First-page layout is an issue that I have asked

Re: [NTG-context] \definelayout[first] does not yield to default layout on page 2

2012-01-26 Thread Wagner Macedo
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

Re: [NTG-context] \definelayout[first] does not yield to default layout on page 2

2012-01-26 Thread Peter Park Nelson
Wagner, Thanks for pointing this out, it works: \definelayout [1] [first page layout...] \definelayout [2] [reset] % call for a reset when the second page is reached \setuplayout [default layout...] But the question of why \definelayout[first] does not work correctly remains.

Re: [NTG-context] \definelayout[first] does not yield to default layout on page 2

2012-01-26 Thread Peter Park Nelson
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

Re: [NTG-context] \definelayout[first] does not yield to default layout on page 2

2012-01-26 Thread Wagner Macedo
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.nel...@gmail.comwrote: Oh crap, I thought Wagner's solution worked but it doesn't --

Re: [NTG-context] \definelayout[first] does not yield to default layout on page 2

2012-01-26 Thread Wolfgang Schuster
Am 26.01.2012 um 03:41 schrieb Peter Park Nelson: 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

Re: [NTG-context] \definelayout[first] does not yield to default layout on page 2

2012-01-26 Thread Peter Park Nelson
On Thu, Jan 26, 2012 at 12:18 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 26.01.2012 um 03:41 schrieb Peter Park Nelson: 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:

Re: [NTG-context] \definelayout[first] does not yield to default layout on page 2

2012-01-26 Thread Peter Park Nelson
On Thu, Jan 26, 2012 at 2:40 PM, Peter Park Nelson peter.park.nel...@gmail.com wrote: On Thu, Jan 26, 2012 at 12:18 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 26.01.2012 um 03:41 schrieb Peter Park Nelson: First-page layout is an issue that I have asked about before,

[NTG-context] \definelayout[first] does not yield to default layout on page 2

2012-01-25 Thread Peter Park Nelson
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

Re: [NTG-context] \definelayout

2011-12-28 Thread Peter Park Nelson
Update with a minimal working example. If a layout is specified for the first page (\definelayout[first][...=...], that specification is carried on through all subsequent pages; the layout does not return to the default specified with \setuplayout[...=...] on the second page. If a layout is

Re: [NTG-context] \definelayout

2011-12-27 Thread Peter Park Nelson
The example is not working correctly for me with the 23 Dec. beta. If I set a larger footer size for the first page, that larger size is carried over to all the rest of the document. Here's my code: \setuplayout[% width=middle, backspace=15mm, topspace=10mm, height=254mm, header=5mm,

[NTG-context] \definelayout

2011-12-13 Thread Andreas Harder
Hi all, would someone please enlighten me. What is the correct usage of \definelayout? \definelayout[default][width=middle,height=middle,header=0pt,footer=0pt] % \setuplayout[default] % needed? \definelayout[first] [default][header=2cm] \definelayout[unknown][default]%[reset] % \definelayout[2]

Re: [NTG-context] \definelayout

2011-12-13 Thread Wolfgang Schuster
Am 13.12.2011 um 16:26 schrieb Andreas Harder: Hi all, would someone please enlighten me. What is the correct usage of \definelayout? \definelayout[default][width=middle,height=middle,header=0pt,footer=0pt] % \setuplayout[default] % needed? \definelayout[first] [default][header=2cm]

Re: [NTG-context] \definelayout

2011-12-13 Thread Andreas Harder
On 13.12.2011, at 16:44, Wolfgang Schuster wrote: Am 13.12.2011 um 16:26 schrieb Andreas Harder: Hi all, would someone please enlighten me. What is the correct usage of \definelayout? \definelayout[default][width=middle,height=middle,header=0pt,footer=0pt] % \setuplayout[default]

[NTG-context] definelayout and setuplayout not possible in current beta?

2009-11-11 Thread Andreas Schneider
Hi, as it seems, setuplayout fails with a predefined layout in both MkIV and MkII. The attached example produces the following error: ! Missing number, treated as zero. to be read again

Re: [NTG-context] definelayout and setuplayout not possible in current beta?

2009-11-11 Thread Wolfgang Schuster
Am 11.11.2009 um 17:29 schrieb Andreas Schneider: Hi, as it seems, setuplayout fails with a predefined layout in both MkIV and MkII. The attached example produces the following error: \definelayout[index][ header=0cm, footer=0cm, height=fit, ] Wolfgang

Re: [NTG-context] definelayout and setuplayout not possible in current beta?

2009-11-11 Thread Andreas Schneider
Wolfgang Schuster wrote: Am 11.11.2009 um 17:29 schrieb Andreas Schneider: Hi, as it seems, setuplayout fails with a predefined layout in both MkIV and MkII. The attached example produces the following error: \definelayout[index][ header=0cm, footer=0cm, height=fit, ]

Re: [NTG-context] \definelayout question

2005-03-03 Thread Hans Hagen
Paul Tremblay wrote: Thanks Adam for the suggestions on the wiki page. You point out that I can use \definelayout for odd and even pages. I assume I can use this command in place of \setuplayout? I had a problem using \definelayout. I found that I had to use a \setuplayout before my text, or the

Re: [NTG-context] \definelayout question

2005-03-03 Thread Adam Lindsay
Paul, I can't really address the bulk of your question (I consider myself a beginner in the art of the \layout, and am still working through some of its invocation options), but I do notice a couple things: Paul Tremblay said this at Thu, 3 Mar 2005 02:45:01 -0500: \definelayout[odd][

[NTG-context] \definelayout question

2005-03-02 Thread Paul Tremblay
Thanks Adam for the suggestions on the wiki page. You point out that I can use \definelayout for odd and even pages. I assume I can use this command in place of \setuplayout? I had a problem using \definelayout. I found that I had to use a \setuplayout before my text, or the first page would not