[NTG-context] unwanted head behavior

2016-04-04 Thread Zhichu Chen
Dear Hans and Wolfgang, The following code generates a pdf that I cannot understand. 1. Although "placehead" is set to "no," the \part macro still makes an empty line. 2. The first \chapter does not open a new page, but if we switch the first \title

Re: [NTG-context] duplex printing and doublesided

2016-04-04 Thread Pablo Rodriguez
On 04/04/2016 11:35 AM, Wolfgang Schuster wrote: >> Pablo Rodriguez 2. April 2016 um 20:29 >> >> Wolfgang, this was my original sample: >> >> \setuppagenumbering[alternative=doublesided] >> \setupinteractionscreen[option=portrait] >> \starttext >> No duplex printing. >> \page[right] >> In this

Re: [NTG-context] How to get the current section level?

2016-04-04 Thread Procházka Lukáš Ing .
... That's it, thank you! Lukas On Mon, 04 Apr 2016 11:30:15 +0200, Wolfgang Schuster wrote: Lukáš Procházka 3. April 2016 um 22:02 Hello, is there a (Lua) way how to get the current section level? \startsetups[headinformation]

Re: [NTG-context] deprecated startMPenvironment

2016-04-04 Thread Wolfgang Schuster
Meer, Hans van der 4. April 2016 um 11:48 On 04 Apr 2016, at 00:12, Hans Hagen > wrote: On 4/3/2016 4:07 PM, Meer, Hans van der wrote: Previously I could do the following \starttext

Re: [NTG-context] deprecated startMPenvironment

2016-04-04 Thread Meer, Hans van der
On 04 Apr 2016, at 00:12, Hans Hagen > wrote: On 4/3/2016 4:07 PM, Meer, Hans van der wrote: Previously I could do the following \starttext \startMPenvironment[+]\switchtobodyfont[small]\stopMPenvironment \startMPpage % metafont code \stopMPpage \stoptext

Re: [NTG-context] duplex printing and doublesided

2016-04-04 Thread Wolfgang Schuster
Pablo Rodriguez 2. April 2016 um 20:29 Wolfgang, this was my original sample: \setuppagenumbering[alternative=doublesided] \setupinteractionscreen[option=portrait] \starttext No duplex printing. \page[right] In this document. \stoptext The doublesided alternative disables

Re: [NTG-context] How to get the current section level?

2016-04-04 Thread Wolfgang Schuster
Lukáš Procházka 3. April 2016 um 22:02 Hello, is there a (Lua) way how to get the current section level? \startsetups[headinformation] \starttabulate \NC Name \EQ \currenthead \NC\NR \NC Level \EQ \currentheadlevel \NC\NR \stoptabulate \stopsetups