Re: [NTG-context] doublesided=no ignored on \startstandardmakeup with the latest beta

2011-11-12 Thread Wolfgang Schuster

Am 12.11.2011 um 10:08 schrieb Marco Pessotto:

 
 Hi!
 
 See the next minimal example (copied from Layout in Context):
 
 
 \setuppagenumbering[alternative=doublesided]
 \starttext
 \startstandardmakeup[doublesided=no]
 ...the front
 \stopstandardmakeup
 \startstandardmakeup[page=no]
 ...the back
 \stopstandardmakeup
 \stoptext
 
 
 The manual says it should generate 2 pages with no page number. With
 current (2011.05.18) this indeed happens. With the latest beta I have 4
 pages:
 
 ...the front
 
 [1]
 
 ...the back
 
 [empty page]
 
 I guess there's a bug somewhere.

The argument of makeup commands are processed after context switch to the right 
page and your setting “page=no” comes to late. Make the changes at the begin of 
the document with \setupmakeup and you don’t get the extra page.

Wolfgang
___
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
___


Re: [NTG-context] doublesided=no ignored on \startstandardmakeup with the latest beta

2011-11-12 Thread Marco Pessotto
Wolfgang Schuster schuster.wolfg...@googlemail.com writes:

 The argument of makeup commands are processed after context switch to
 the right page and your setting “page=no” comes to late. Make the
 changes at the begin of the document with \setupmakeup and you don’t
 get the extra page.


Thanks for your reply. With the following example I still have 4 pages, 

the front 
[empty]
the back
[empty]

%%% start example

\setuppagenumbering[alternative=doublesided]
\setupmakeup[page=no,doublesided=no]

\starttext

\startstandardmakeup
...the front
\stopstandardmakeup
\startstandardmakeup
...the back
\stopstandardmakeup

\stoptext
%%% stop example.

However, defining a custom makeup works.

%%% start working example
\setuppagenumbering[alternative=doublesided]
\definemakeup[mypage][page=no,doublesided=no]

\starttext

\startmypagemakeup
...the front
\stopmypagemakeup
\startmypagemakeup
...the back
\stopmypagemakeup

\stoptext
%%% stop

Best wishes.

-- 
Marco

___
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
___

Re: [NTG-context] doublesided=no ignored on \startstandardmakeup with the latest beta

2011-11-12 Thread Wolfgang Schuster

Am 12.11.2011 um 17:42 schrieb Marco Pessotto:

 Wolfgang Schuster schuster.wolfg...@googlemail.com writes:
 
 The argument of makeup commands are processed after context switch to
 the right page and your setting “page=no” comes to late. Make the
 changes at the begin of the document with \setupmakeup and you don’t
 get the extra page.
 
 
 Thanks for your reply. With the following example I still have 4 pages, 
 
 the front 
 [empty]
 the back
 [empty]
 
 %%% start example
 
 \setuppagenumbering[alternative=doublesided]
 \setupmakeup[page=no,doublesided=no]

\setupmakeup[standard][…]

Wolfgang
___
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
___


Re: [NTG-context] doublesided=no ignored on \startstandardmakeup with the latest beta

2011-11-12 Thread Marco Pessotto
Wolfgang Schuster schuster.wolfg...@googlemail.com writes:

 Am 12.11.2011 um 17:42 schrieb Marco Pessotto:

 Wolfgang Schuster schuster.wolfg...@googlemail.com writes:
 
 The argument of makeup commands are processed after context switch to
 the right page and your setting “page=no” comes to late. Make the
 changes at the begin of the document with \setupmakeup and you don’t
 get the extra page.
 
 
 Thanks for your reply. With the following example I still have 4 pages, 
 
 the front 
 [empty]
 the back
 [empty]
 
 %%% start example
 
 \setuppagenumbering[alternative=doublesided]
 \setupmakeup[page=no,doublesided=no]

 \setupmakeup[standard][…]


This indeed works.

Thanks!


-- 
Marco

___
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
___