[NTG-context] Layout and textwidth/textmargin

2006-08-27 Thread Horacio Suarez
May I define and setup two diferents layouts and swicht between them? I want a bigger textwidth in the last 6 chapters. Thankyou very much. >From: [EMAIL PROTECTED] >Reply-To: mailing list for ConTeXt users >To: ntg-context@ntg.nl >Subject: Re: [NTG-context] Layout and textwidth/textmargin >

Re: [NTG-context] Layout and textwidth/textmargin

2006-08-27 Thread nico
On Sun, 27 Aug 2006 21:10:12 +0200, <[EMAIL PROTECTED]> wrote: >> What is wrong in there? >> >> \definelayout[odd] >>[width=middle, >> backspace=7cm, >> cutspace=5cm] >> >> \definelayout[even] >>[backspace=8cm, >> cutspace=2cm, >> width=middle] >> >> \setuplayout > > Hallo!

Re: [NTG-context] Layout and textwidth/textmargin

2006-08-27 Thread wwl
> Well, I start from the beginning with odd/even layout setting, and > the > following does not work. The behaviour I see is that only the odd > setting > is used. What is wrong in there? > > \definelayout[odd] >[width=middle, > backspace=7cm, > cutspace=5cm] > > \definelayout[eve

Re: [NTG-context] XML-lookahead

2006-08-27 Thread Hans Hagen
Sjoerd Siebinga wrote: > Thanks Hans, for the fast response. > On 27-aug-2006, at 14:56, Hans Hagen wrote: > >> \disablemode[xml:linebreak] >> >> >> \startsetups[xml:linebreak] >> >> � \doifmode{xml:linebreak}{\disablemode[xml:linebreak]\crlf} � >> >> \stopsetups� >> >> >> \defineXMLenvironment [av

Re: [NTG-context] 2DOWN imposition gives blank pages

2006-08-27 Thread Willi Egger
Hi Sanjoy, There is no halucination involved. In your code you try to typeset two A5 portrait beneeth each other on a A4 landscape, which is impossible. Try A3 landscape and you will see. - When experimenting with short texts as tufte I usually use \showframe. By the way if you want to typeset

Re: [NTG-context] 2DOWN imposition gives blank pages

2006-08-27 Thread Sanjoy Mahajan
Dear Willi and Wolfgang, Thanks for the explanations. I understand ConTeXt arranging a bit better now and am trying more (and longer) experiments. I still can't figure out this one, though. Even printing doublesided, you don't want p.1 to vanish: > > \setuppapersize[A5][A4,landscape] > > \setu

Re: [NTG-context] XML-lookahead

2006-08-27 Thread Sjoerd Siebinga
Thanks Hans, for the fast response.On 27-aug-2006, at 14:56, Hans Hagen wrote:\disablemode[xml:linebreak] \startsetups[xml:linebreak]   \doifmode{xml:linebreak}{\disablemode[xml:linebreak]\crlf}   \stopsetups  \defineXMLenvironment [av] {} {\ensablemode[xml:linebreak]} \defineXMLenvironment [lis

Re: [NTG-context] XML-lookahead

2006-08-27 Thread Hans Hagen
Sjoerd Siebinga wrote: > Hi all, > > Is it possible to use something like \doifnextcharelse for xml- > environments or is there a clever work-around? I need to know what > the next tag is in order to decide if a linebreak needs to be inserted. > there is a way to build a stack and look onto i

[NTG-context] XML-lookahead

2006-08-27 Thread Sjoerd Siebinga
Hi all, Is it possible to use something like \doifnextcharelse for xml- environments or is there a clever work-around? I need to know what the next tag is in order to decide if a linebreak needs to be inserted. For example: \defineXMLenvironment [av] {} {} % linebreak unless followed by -ta