ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* userpagenumber
@ 2013-03-26 12:24 Thomas A. Schmitz
  2013-03-26 12:54 ` userpagenumber Marco Patzer
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas A. Schmitz @ 2013-03-26 12:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: userpagenumber
  2013-03-26 12:24 userpagenumber Thomas A. Schmitz
@ 2013-03-26 12:54 ` Marco Patzer
  2013-03-26 17:03   ` userpagenumber Thomas A. Schmitz
  0 siblings, 1 reply; 8+ messages in thread
From: Marco Patzer @ 2013-03-26 12:54 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 239 bytes --]

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

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 8+ messages in thread

* Re: userpagenumber
  2013-03-26 12:54 ` userpagenumber Marco Patzer
@ 2013-03-26 17:03   ` Thomas A. Schmitz
  2013-03-26 17:07     ` userpagenumber Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas A. Schmitz @ 2013-03-26 17:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: userpagenumber
  2013-03-26 17:03   ` userpagenumber Thomas A. Schmitz
@ 2013-03-26 17:07     ` Wolfgang Schuster
  2013-03-27  8:21       ` userpagenumber Thomas A. Schmitz
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2013-03-26 17:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 26.03.2013 um 18:03 schrieb Thomas A. Schmitz <thomas.schmitz@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
___________________________________________________________________________________


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

* Re: userpagenumber
  2013-03-26 17:07     ` userpagenumber Wolfgang Schuster
@ 2013-03-27  8:21       ` Thomas A. Schmitz
  2013-03-27  9:52         ` userpagenumber Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas A. Schmitz @ 2013-03-27  8:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* Re: userpagenumber
  2013-03-27  8:21       ` userpagenumber Thomas A. Schmitz
@ 2013-03-27  9:52         ` Hans Hagen
  2013-03-27 11:09           ` userpagenumber Marco Patzer
  0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2013-03-27  9:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thomas A. Schmitz

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
___________________________________________________________________________________

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

* Re: userpagenumber
  2013-03-27  9:52         ` userpagenumber Hans Hagen
@ 2013-03-27 11:09           ` Marco Patzer
  2013-03-27 18:27             ` userpagenumber Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Marco Patzer @ 2013-03-27 11:09 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 268 bytes --]

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

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 8+ messages in thread

* Re: userpagenumber
  2013-03-27 11:09           ` userpagenumber Marco Patzer
@ 2013-03-27 18:27             ` Hans Hagen
  0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2013-03-27 18:27 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

end of thread, other threads:[~2013-03-27 18:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-26 12:24 userpagenumber Thomas A. Schmitz
2013-03-26 12:54 ` userpagenumber Marco Patzer
2013-03-26 17:03   ` userpagenumber Thomas A. Schmitz
2013-03-26 17:07     ` userpagenumber Wolfgang Schuster
2013-03-27  8:21       ` userpagenumber Thomas A. Schmitz
2013-03-27  9:52         ` userpagenumber Hans Hagen
2013-03-27 11:09           ` userpagenumber Marco Patzer
2013-03-27 18:27             ` userpagenumber Hans Hagen

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).