ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setuppagenumber--start at page xy
@ 2013-04-21 11:37 Jörg Hagmann
  2013-04-27 13:26 ` Marco Patzer
  0 siblings, 1 reply; 6+ messages in thread
From: Jörg Hagmann @ 2013-04-21 11:37 UTC (permalink / raw)
  To: ntg-context

Has the code for starting pagenumbering at a given number changed? I'm
using last year's template for an annual report, but can't get it to
work.

Minimal example:

\setuppagenumber[number=3]
\starttext
\input tufte
\stoptext

I'm using today's context version.

Thanks, Jörg 

-- 
Prof. Jörg Hagmann-Zanolari MD
University of Basel
Department of Biomedicine
Institute of Biochemistry and Genetics
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565
___________________________________________________________________________________
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] 6+ messages in thread

* Re: setuppagenumber--start at page xy
  2013-04-21 11:37 setuppagenumber--start at page xy Jörg Hagmann
@ 2013-04-27 13:26 ` Marco Patzer
  0 siblings, 0 replies; 6+ messages in thread
From: Marco Patzer @ 2013-04-27 13:26 UTC (permalink / raw)
  To: ntg-context


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

On 2013–04–21 Jörg Hagmann wrote:

> Has the code for starting pagenumbering at a given number changed? I'm
> using last year's template for an annual report, but can't get it to
> work.
> 
> Minimal example:
> 
> \setuppagenumber[number=3]

\setcounter[userpage][3]


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

* Re: setuppagenumber--start at page xy
  2013-04-22  7:52   ` Wolfgang Schuster
@ 2013-04-22  8:57     ` Jörg Hagmann
  0 siblings, 0 replies; 6+ messages in thread
From: Jörg Hagmann @ 2013-04-22  8:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Wolfgang Schuster writes:

> Yes, the number option for \setuppagenumber is gone and you have to use
> \setupcounter. Even though this breaks backward compatibility it’s now constant
> with \setupheadnumber which is used to change the start value for sections.

Thank you, Wolfgang.  I added this information to 2 sites in the garden.

Cheers, Jörg
___________________________________________________________________________________
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] 6+ messages in thread

* Re: setuppagenumber--start at page xy
  2013-04-22  7:44 ` Jörg Hagmann
@ 2013-04-22  7:52   ` Wolfgang Schuster
  2013-04-22  8:57     ` Jörg Hagmann
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2013-04-22  7:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 22.04.2013 um 09:44 schrieb Jörg Hagmann <joerg.hagmann@unibas.ch>:

> Thank you, Huseyin.
> 
> Yes, that works; but the question remains:
> 
> Has "\setuppagenumber[number=NUMBER]" become obsolete?  After all, it's
> all over contextgarden, both in example documents and in the "Commands/" list.

Yes, the number option for \setuppagenumber is gone and you have to use
\setupcounter. Even though this breaks backward compatibility it’s now constant
with \setupheadnumber which is used to change the start value for sections.

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

* Re: setuppagenumber--start at page xy
  2013-04-21 12:52 "H. Özoguz"
@ 2013-04-22  7:44 ` Jörg Hagmann
  2013-04-22  7:52   ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Jörg Hagmann @ 2013-04-22  7:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thank you, Huseyin.

Yes, that works; but the question remains:

Has "\setuppagenumber[number=NUMBER]" become obsolete?  After all, it's
all over contextgarden, both in example documents and in the "Commands/"
list.

Cheers, Jörg


H. Özoguz writes:

>> Minimal example:
>>
>> \setuppagenumber[number=3]
>> \starttext
>> \input tufte
>> \stoptext
>>
>> I'm using today's context version.
>>
>> Thanks, Jörg
>
> You could use
>
> \setcounter[userpage][2]
> \starttext
> \input tufte
> \stoptext
>
> Huseyin
___________________________________________________________________________________
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] 6+ messages in thread

* setuppagenumber--start at page xy
@ 2013-04-21 12:52 "H. Özoguz"
  2013-04-22  7:44 ` Jörg Hagmann
  0 siblings, 1 reply; 6+ messages in thread
From: "H. Özoguz" @ 2013-04-21 12:52 UTC (permalink / raw)
  To: ntg-context

> Minimal example:
>
> \setuppagenumber[number=3]
> \starttext
> \input tufte
> \stoptext
>
> I'm using today's context version.
>
> Thanks, Jörg

You could use

\setcounter[userpage][2]
\starttext
\input tufte
\stoptext

Huseyin

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

end of thread, other threads:[~2013-04-27 13:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-21 11:37 setuppagenumber--start at page xy Jörg Hagmann
2013-04-27 13:26 ` Marco Patzer
2013-04-21 12:52 "H. Özoguz"
2013-04-22  7:44 ` Jörg Hagmann
2013-04-22  7:52   ` Wolfgang Schuster
2013-04-22  8:57     ` Jörg Hagmann

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