Re: [NTG-context] userpagenumber

2013-03-27 Thread Thomas A. Schmitz

On 03/26/2013 06:07 PM, Wolfgang Schuster wrote:

1. \setuppagenumber is a synonym for \setupuserpagenumber

2. The “number=XX” setting doesn’t work in MkIV and you have to use 
\setupcounter.


Thank you for your words of wisdom, Wolfgang. Wouldn't it make sense to 
have backwards compatibility?


Thomas
___
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] userpagenumber

2013-03-27 Thread Hans Hagen

On 3/27/2013 9:21 AM, Thomas A. Schmitz wrote:

On 03/26/2013 06:07 PM, Wolfgang Schuster wrote:

1. \setuppagenumber is a synonym for \setupuserpagenumber

2. The “number=XX” setting doesn’t work in MkIV and you have to use
\setupcounter.


Thank you for your words of wisdom, Wolfgang. Wouldn't it make sense to
have backwards compatibility?


yes and no .. the original setup commands date from the time (previous 
century) that there were less such commands so we ended up with 
combining features in one command that should have been split. The same 
is true for footnotes, where we now split in the note handler itself and 
the rendering


(in fact, setting up doublesided should be in setuplayout but i'll keep 
that one)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] userpagenumber

2013-03-27 Thread Marco Patzer
On 2013–03–27 Hans Hagen wrote:

 (in fact, setting up doublesided should be in setuplayout but i'll
 keep that one)

Perhaps both locations could be supported for some time.
\setuppagenumbering is indeed an awkward place to set up the layout.


Marco


signature.asc
Description: Digital signature
___
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] userpagenumber

2013-03-27 Thread Hans Hagen

On 3/27/2013 12:09 PM, Marco Patzer wrote:

On 2013–03–27 Hans Hagen wrote:


(in fact, setting up doublesided should be in setuplayout but i'll
keep that one)


Perhaps both locations could be supported for some time.
\setuppagenumbering is indeed an awkward place to set up the layout.


maybe after the current is made (which happens sometime within the next 
two weeks)


best make sure that we have no serious bugs (experimental features apart)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


[NTG-context] userpagenumber

2013-03-26 Thread Thomas A. Schmitz

Hi,

shouldn't this work?

\setupuserpagenumber[number=34]

\starttext

\dorecurse{20}{\userpagenumber \page}

\stoptext

I must admit that I'm pretty confused about pagenumbering; there are too 
many options of \setup...pagenumber and \setup...pagenumbering for my 
simple brain now, and I often don't know which is supposed to do what.


All best

Thomas
___
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] userpagenumber

2013-03-26 Thread Marco Patzer
On 2013–03–26 Thomas A. Schmitz wrote:

 shouldn't this work?
 
 \setupuserpagenumber[number=34]

I don't know if that's the recommended way, but I set the page
number as follows:

  \setcounter [userpage] [34]


Marco


signature.asc
Description: Digital signature
___
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] userpagenumber

2013-03-26 Thread Thomas A. Schmitz

On 03/26/2013 01:54 PM, Marco Patzer wrote:

I don't know if that's the recommended way, but I set the page
number as follows:

   \setcounter [userpage] [34]


Thank you. Yes that works, but I thought that \setupuserpagenumber was 
the proper way to do those things.


Thomas
___
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] userpagenumber

2013-03-26 Thread Wolfgang Schuster

Am 26.03.2013 um 18:03 schrieb Thomas A. Schmitz thomas.schm...@uni-bonn.de:

 On 03/26/2013 01:54 PM, Marco Patzer wrote:
 I don't know if that's the recommended way, but I set the page
 number as follows:
 
   \setcounter [userpage] [34]
 
 Thank you. Yes that works, but I thought that \setupuserpagenumber was the 
 proper way to do those things.

1. \setuppagenumber is a synonym for \setupuserpagenumber

2. The “number=XX” setting doesn’t work in MkIV and you have to use 
\setupcounter.

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
___