Re: [NTG-context] Where did page numbers go?

2010-02-10 Thread Mojca Miklavec
On Tue, Feb 9, 2010 at 20:55, Wolfgang Schuster wrote:
 Am 09.02.10 20:36, schrieb Mojca Miklavec:

 Hello Hans,

 \currentpage (as already reported by Peter Münster) doesn't work in
 MKIV (always returns 1) and \setnumber[page]{0} has zero effect (in
 MKII; in MKIV I cannot test it anyway).


 \pagenumber?

 MkIV has no counter 'page' but 'realpage', 'userpage' and 'subpage'.

- But why should \currentpage stop working? (Is there any stong reason
to break compatibility?)
- I'm testing \subpage and get: 1, I, I, I, the \userpage gives me 1,
II, III, IV; \currentpage gives me 1, 1, 1, 1; I'll try to post a
minimal example, but I stongly suspect that something is a bit broken
here.
- Is there a way to say \thisisreallythelastpage, so that
\totalnumberofpages (or some other counter) doesn't count any
leftovers from the end? (I'll try to play a bit more with that, so you
don't need to answer me that last question, but I find the behaviour
of other counters really strange.)

The number 1 is on frontmatter, the uppercase roman numbers are on
bodypart (without setting any conversion at all).

Mojca
___
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] Where did page numbers go?

2010-02-10 Thread Hans Hagen

On 10-2-2010 10:26, Mojca Miklavec wrote:

On Tue, Feb 9, 2010 at 20:55, Wolfgang Schuster wrote:

Am 09.02.10 20:36, schrieb Mojca Miklavec:


Hello Hans,

\currentpage (as already reported by Peter Münster) doesn't work in
MKIV (always returns 1) and \setnumber[page]{0} has zero effect (in
MKII; in MKIV I cannot test it anyway).



\pagenumber?

MkIV has no counter 'page' but 'realpage', 'userpage' and 'subpage'.


- But why should \currentpage stop working? (Is there any stong reason
to break compatibility?)


because it' set at the wrong place, i'll fix it and upluad a beta 
dedicated to you (keep in mind that \currentpage in mkii/mkiv is the 
page in the file, aka realpage)


Hans


-
  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
-
___
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] Where did page numbers go?

2010-02-09 Thread Mojca Miklavec
Hello Hans,

\currentpage (as already reported by Peter Münster) doesn't work in
MKIV (always returns 1) and \setnumber[page]{0} has zero effect (in
MKII; in MKIV I cannot test it anyway).

Thanks,
Mojca
___
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] Where did page numbers go?

2010-02-09 Thread Wolfgang Schuster

Am 09.02.10 20:36, schrieb Mojca Miklavec:

Hello Hans,

\currentpage (as already reported by Peter Münster) doesn't work in
MKIV (always returns 1) and \setnumber[page]{0} has zero effect (in
MKII; in MKIV I cannot test it anyway).
   

\pagenumber?

MkIV has no counter 'page' but 'realpage', 'userpage' and 'subpage'.

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] Where did page numbers go?

2010-02-09 Thread Hans Hagen

On 9-2-2010 20:36, Mojca Miklavec wrote:

Hello Hans,

\currentpage (as already reported by Peter Münster) doesn't work in
MKIV (always returns 1) and \setnumber[page]{0} has zero effect (in
MKII; in MKIV I cannot test it anyway).


hm, i'll have a look at it

why cannot you run mkiv ... a broken mac again?

Hans

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