Re: [NTG-context] setuppagenumber--start at page xy

2013-04-27 Thread Marco Patzer
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


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] setuppagenumber--start at page xy

2013-04-22 Thread Jörg Hagmann
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
___

Re: [NTG-context] setuppagenumber--start at page xy

2013-04-22 Thread Wolfgang Schuster

Am 22.04.2013 um 09:44 schrieb Jörg Hagmann joerg.hagm...@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
___


Re: [NTG-context] setuppagenumber--start at page xy

2013-04-22 Thread Jörg Hagmann

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
___

Re: [NTG-context] setuppagenumber

2012-07-06 Thread luigi scarso
On Fri, Jul 6, 2012 at 9:40 AM, Meer, H. van der h.vanderm...@uva.nlwrote:

  Is \setuppagenumber broken? Or do it misuse it?
 In the next minimal example the pagenumbers are not reset after the third
 page, as I would expect.

  Hans van der Meer

 \setuppapersize[A6][A6]
 \starttext
 \setuppagenumber[number=1,state=start]
 page 1\page
 page 2\page
 page 3\page
 \setuppagenumber[number=1]
 page 4\page
 page 5\page
 page 6\page
 \stoptext


This works
\setuppapersize[A6][A6]
\starttext
\setuppagenumber[number=1,state=start]
page 1\page
page 2\page
page 3\page
\setuppagenumber[number=1]\resetpagenumber
page 4\page
page 5\page
page 6\page
\stoptext


-- 
luigi
___
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] setuppagenumber

2012-07-06 Thread Meer, H. van der
Indeed, and thanks.

But isn't it a good idea that \setuppagenumbering should do the 
\resetpagenumber by itself? After all changing the pagenumber and not having it 
take effect sounds not a natural way to do things. It least, in my eyes.
Surely Hans Hagen is listening and will weigh the evidence.

Hans van der Meer



On 6 jul. 2012, at 10:21, luigi scarso wrote:



On Fri, Jul 6, 2012 at 9:40 AM, Meer, H. van der 
h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl wrote:
Is \setuppagenumber broken? Or do it misuse it?
In the next minimal example the pagenumbers are not reset after the third page, 
as I would expect.

Hans van der Meer

\setuppapersize[A6][A6]
\starttext
\setuppagenumber[number=1,state=start]
page 1\page
page 2\page
page 3\page
\setuppagenumber[number=1]
page 4\page
page 5\page
page 6\page
\stoptext


This works
\setuppapersize[A6][A6]
\starttext
\setuppagenumber[number=1,state=start]
page 1\page
page 2\page
page 3\page
\setuppagenumber[number=1]\resetpagenumber
page 4\page
page 5\page
page 6\page
\stoptext


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

2012-07-06 Thread Wolfgang Schuster

Am 06.07.2012 um 09:40 schrieb Meer, H. van der:

 Is \setuppagenumber broken? Or do it misuse it?
 In the next minimal example the pagenumbers are not reset after the third 
 page, as I would expect.
 
 Hans van der Meer
 
 \setuppapersize[A6][A6]
 \starttext
 \setuppagenumber[number=1,state=start]
 page 1\page
 page 2\page
 page 3\page
 \setuppagenumber[number=1]
 page 4\page
 page 5\page
 page 6\page
 \stoptext

\setuppapersize[A6][A6]
\starttext
\setcounter[userpage][1]
page 1\page
page 2\page
page 3\page
\setcounter[userpage][1]
page 4\page
page 5\page
page 6\page
\stoptext

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] \setuppagenumber

2012-04-02 Thread Alan Bowen
Thanks, Wolfgang. \resetpageumber is the key. I will use the section blocks
approach in my next project.

Alan

On Sun, Apr 1, 2012 at 11:34 PM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 02.04.2012 um 00:02 schrieb Alan Bowen:

  I have a product file
 
  \startproduct prd_Aestimatio_vol-09
  %prelims
  \setuppagenumber[numberconversion=romannumerals]
  \setuppagenumber[number=1]
  \setupfootnotes[conversion=numbers]
 
  \component c_A
  \component c_B
  \component c_C
  ...
  %text
  \setuppagenumber[numberconversion=numbers]
  \setuppagenumber[number=1]

 \resetpagenumber

 or use section blocks (frontpart, bodypart etc.) with block wise numbering.

 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

 ___

___
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] \setuppagenumber

2012-04-01 Thread Wolfgang Schuster

Am 02.04.2012 um 00:02 schrieb Alan Bowen:

 I have a product file
 
 \startproduct prd_Aestimatio_vol-09
 %prelims
 \setuppagenumber[numberconversion=romannumerals]
 \setuppagenumber[number=1]
 \setupfootnotes[conversion=numbers]
 
 \component c_A
 \component c_B
 \component c_C
 ...
 %text
 \setuppagenumber[numberconversion=numbers]
 \setuppagenumber[number=1]

\resetpagenumber

or use section blocks (frontpart, bodypart etc.) with block wise numbering.

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] \setuppagenumber problem

2012-03-08 Thread Wolfgang Schuster

Am 08.03.2012 um 19:06 schrieb Alan Bowen:

 The following code,
 
 \startcomponent
 
 \setuphead[title][page=yes]
 \setuppagenumber[numberconversion=romannumerals]
 \setuppagenumbering[alternative=doublesided]
 \setuppagenumbering[location=,]
 
 \setupheader[state=high]
 
 \definehead[FMTitle][title]
   
 \setuphead[FMTitle][header=high,alternative=middle,style={\tfb\rm},footer={}]
   \setupheadertexts[text]
   [\cap{A.\ U.\ Thor}]
   [\pagenumber]
   [\pagenumber]

Use “[pagenumber]” (without the backslash) because \pagenumber prints the raw 
value
of the counter without the conversion.

   [\em{Journal}]  
 
 \FMTitle[Preface]{Preface}
 
 \dorecurse{6}{\input knuth} 
 \blank[big]
 And here I should like to recall what was said earlier in this 
 \goto{Preface}[Preface] by \dots
 
 \stopcomponent
 
 fails on two counts: the page numbers are given in arabic numerals not roman 
 numerals, and the cross-reference is ignored. The failure in the 
 cross-reference may be due to a bug involving \startcomponent, if I 
 understand Wolfgang correctly, and was wondering if the same might be true 
 for \setuppagenumber[...]. If it is not, how may I fix the pagination?

The component is not the problem in this case, for \goto you have to enable the 
interactive features (\setupinteraction[state=start]).

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] \setuppagenumber problem

2012-03-08 Thread Alan Bowen
Thanks, Wolfgang. You are right. Poor code copy/pasting on my part. Sorry
for that bit of noise.

But what of the pagination problem? Is there a bug or am I missing
something for that too?

A.

On Thu, Mar 8, 2012 at 2:02 PM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 08.03.2012 um 19:06 schrieb Alan Bowen:

  The following code,
 
  \startcomponent
 
  \setuphead[title][page=yes]
  \setuppagenumber[numberconversion=romannumerals]
  \setuppagenumbering[alternative=doublesided]
  \setuppagenumbering[location=,]
 
  \setupheader[state=high]
 
  \definehead[FMTitle][title]
 
 \setuphead[FMTitle][header=high,alternative=middle,style={\tfb\rm},footer={}]
\setupheadertexts[text]
[\cap{A.\ U.\ Thor}]
[\pagenumber]
[\pagenumber]

 Use “[pagenumber]” (without the backslash) because \pagenumber prints the
 raw value
 of the counter without the conversion.

[\em{Journal}]
 
  \FMTitle[Preface]{Preface}
 
  \dorecurse{6}{\input knuth}
  \blank[big]
  And here I should like to recall what was said earlier in this
 \goto{Preface}[Preface] by \dots
 
  \stopcomponent
 
  fails on two counts: the page numbers are given in arabic numerals not
 roman numerals, and the cross-reference is ignored. The failure in the
 cross-reference may be due to a bug involving \startcomponent, if I
 understand Wolfgang correctly, and was wondering if the same might be true
 for \setuppagenumber[...]. If it is not, how may I fix the pagination?

 The component is not the problem in this case, for \goto you have to
 enable the interactive features (\setupinteraction[state=start]).

 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

 ___

___
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] \setuppagenumber problem

2012-03-08 Thread Wolfgang Schuster

Am 08.03.2012 um 20:34 schrieb Alan Bowen:

 Thanks, Wolfgang. You are right. Poor code copy/pasting on my part. Sorry for 
 that bit of noise.
 
 But what of the pagination problem? Is there a bug or am I missing something 
 for that too?

Write \setupheadertexts[…][pagenumber][pagenumber][…] with “pagenumber” as 
keyword
and not as command.

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] \setuppagenumber problem

2012-03-08 Thread Alan Bowen
Again, many thanks, Wolfgang. That’s got it. The entry on \setupheadertexts
on the wiki should be updated at some point. But as you will probably
agree, I am hardly the one to undertake that. There are just so many
critical differences in coding for MKIV and for MKII. Still, the advance in
working with fonts is easily worth the effort. So thanks too for your
patience.

All best, Alan



On Thu, Mar 8, 2012 at 2:38 PM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 08.03.2012 um 20:34 schrieb Alan Bowen:

  Thanks, Wolfgang. You are right. Poor code copy/pasting on my part.
 Sorry for that bit of noise.
 
  But what of the pagination problem? Is there a bug or am I missing
 something for that too?

 Write \setupheadertexts[…][pagenumber][pagenumber][…] with “pagenumber” as
 keyword
 and not as command.

 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

 ___

___
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] \setuppagenumber? bug in nomarking

2006-06-29 Thread Hans Hagen
Taco Hoekwater wrote:
 Alan Bowen wrote:
   
 Taco�

 Here is the minimal file you requested. All I can say is that this  
 used to work:
 

 The problem goes away if you use
\setuppagenumber[location=]
 instead of
\setuppagenumbering[state=nomarking]

 So it seems there is a bug in the handling of 'nomarking'.
   
nomarking has never been a pagenumber option, but one of the texts: 

\setuppagenumbering[location=]

\setupheadertexts[chapter]

% \setupheader[state=nomarking]

\starttext

\chapter{xxx}

\dorecurse{10}{\input knuth}

\stoptext


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \setuppagenumber?

2006-06-26 Thread Alan Bowen
Taco—

Here is the minimal file you requested. All I can say is that this  
used to work:

\setuphead[chapter][page=yes]   
\setuphead[title][page=yes] 

\setuppagenumbering[alternative=doublesided]
\setuppagenumbering[location={header,middle},state=nomarking]
\installpagebreakhandler{last}{}
\brokenpenalty\zerocount

%%% Headers %%%
\setuphead[BookTitle][header=high,footer=BookTitlePage]
\setupheadertexts[text]
[{\sc\AuthorName}]
[\pagenumber]
[\pagenumber]
[{\it Aestimatio}]

\def\AuthorName{Reviewer's Name}
\def\AuthorInstitution{Institution}

\setuppagenumber[number=263]

\starttext

\dorecurse{10}{\input knuth}

\stoptext

Many thanks for your help.

Alan


On Jun 24, 2006, at 12:08 PM, Taco Hoekwater wrote:

 Alan Bowen wrote:
 I have updated to
 ConTeXt  ver: 2006.06.09 13:05
 and now I am having a problem getting the page numbers to increase.

 A quick test works fine here, it must be something else in your file.
 Try posting a minimal example that demonstrates the problem.10

 Cheers, taco

 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \setuppagenumber? bug in nomarking

2006-06-26 Thread Taco Hoekwater


Alan Bowen wrote:
 Taco—
 
 Here is the minimal file you requested. All I can say is that this  
 used to work:

The problem goes away if you use
   \setuppagenumber[location=]
instead of
   \setuppagenumbering[state=nomarking]

So it seems there is a bug in the handling of 'nomarking'.

Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \setuppagenumber? bug in nomarking

2006-06-26 Thread Alan Bowen
Taco—

Thanks again. That works well and I am now back in business!

Best, Alan

On Jun 26, 2006, at 9:35 AM, Taco Hoekwater wrote:



 Alan Bowen wrote:
 Taco—

 Here is the minimal file you requested. All I can say is that this
 used to work:

 The problem goes away if you use
\setuppagenumber[location=]
 instead of
\setuppagenumbering[state=nomarking]

 So it seems there is a bug in the handling of 'nomarking'.

 Greetings, Taco
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \setuppagenumber?

2006-06-24 Thread Taco Hoekwater
Alan Bowen wrote:
 I have updated to
 ConTeXt  ver: 2006.06.09 13:05
 and now I am having a problem getting the page numbers to increase.

A quick test works fine here, it must be something else in your file.
Try posting a minimal example that demonstrates the problem.10

Cheers, taco

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context