Re: [NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Jack Steyn
Thanks kindly, Wolfgang.

On Mon, 15 Jun 2020 at 00:49, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:

> Jack Steyn schrieb am 14.06.2020 um 16:46:
> > Hi,
> >
> > I'm not sure why the following MWE produces a document where page 2
> > has the page number i instead of ii. It seems to have something to do
> > with the use of makeup. I was using it to create a vertically centered
> > title page. Is there a better way of doing this which will give the
> > correct page numbers?
> >
> > Best,
> >
> > Jack
> >
> > \definestructureconversionset[frontpart:pagenumber][][romannumerals]
> > \definestructureconversionset[bodypart:pagenumber][][numbers]
> >
> > \definemakeup[titlepage][align=middle]
>
> \definemakeup[titlepage][align=middle,pagestate=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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Wolfgang Schuster

Jack Steyn schrieb am 14.06.2020 um 16:46:

Hi,

I'm not sure why the following MWE produces a document where page 2 
has the page number i instead of ii. It seems to have something to do 
with the use of makeup. I was using it to create a vertically centered 
title page. Is there a better way of doing this which will give the 
correct page numbers?


Best,

Jack

\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber][][numbers]

\definemakeup[titlepage][align=middle]


\definemakeup[titlepage][align=middle,pagestate=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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Jack Steyn
Hi,

I'm not sure why the following MWE produces a document where page 2 has the
page number i instead of ii. It seems to have something to do with the use
of makeup. I was using it to create a vertically centered title page. Is
there a better way of doing this which will give the correct page numbers?

Best,

Jack

\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber][][numbers]

\definemakeup[titlepage][align=middle]

\starttext

\startfrontmatter
\startmakeup[titlepage]
Title
\stopmakeup
test
\stopfrontmatter

\startbodymatter
\setcounter[userpage][1]
test
\stopbodymatter

\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___