[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

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 it but

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]

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

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[even]

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! This doesn't work here,

[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 ntg-context@ntg.nl To: ntg-context@ntg.nl Subject: Re: [NTG-context] Layout and