ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* "doublesided=no" ignored on \startstandardmakeup with the latest beta
@ 2011-11-12  9:08 Marco Pessotto
  2011-11-12 14:24 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Pessotto @ 2011-11-12  9:08 UTC (permalink / raw)
  To: ntg-context


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.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: "doublesided=no" ignored on \startstandardmakeup with the latest beta
  2011-11-12  9:08 "doublesided=no" ignored on \startstandardmakeup with the latest beta Marco Pessotto
@ 2011-11-12 14:24 ` Wolfgang Schuster
  2011-11-12 16:42   ` Marco Pessotto
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-11-12 14:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: "doublesided=no" ignored on \startstandardmakeup with the latest beta
  2011-11-12 14:24 ` Wolfgang Schuster
@ 2011-11-12 16:42   ` Marco Pessotto
  2011-11-12 16:45     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Pessotto @ 2011-11-12 16:42 UTC (permalink / raw)
  To: ntg-context

Wolfgang Schuster <schuster.wolfgang@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: "doublesided=no" ignored on \startstandardmakeup with the latest beta
  2011-11-12 16:42   ` Marco Pessotto
@ 2011-11-12 16:45     ` Wolfgang Schuster
  2011-11-12 16:50       ` Marco Pessotto
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-11-12 16:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 12.11.2011 um 17:42 schrieb Marco Pessotto:

> Wolfgang Schuster <schuster.wolfgang@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: "doublesided=no" ignored on \startstandardmakeup with the latest beta
  2011-11-12 16:45     ` Wolfgang Schuster
@ 2011-11-12 16:50       ` Marco Pessotto
  0 siblings, 0 replies; 5+ messages in thread
From: Marco Pessotto @ 2011-11-12 16:50 UTC (permalink / raw)
  To: ntg-context

Wolfgang Schuster <schuster.wolfgang@googlemail.com> writes:

> Am 12.11.2011 um 17:42 schrieb Marco Pessotto:
>
>> Wolfgang Schuster <schuster.wolfgang@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-12 16:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-12  9:08 "doublesided=no" ignored on \startstandardmakeup with the latest beta Marco Pessotto
2011-11-12 14:24 ` Wolfgang Schuster
2011-11-12 16:42   ` Marco Pessotto
2011-11-12 16:45     ` Wolfgang Schuster
2011-11-12 16:50       ` Marco Pessotto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).