Re: [NTG-context] Roman page numbers

2010-08-12 Thread Hongwen Qiu

 于 2010年08月13日 00:21, Wolfgang Schuster 写道:

Should be \setupuserpagenumber.

Thanks, this works.
___
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] Roman page numbers

2010-08-11 Thread Wolfgang Schuster

 Am 12.08.10 03:52, schrieb Hongwen Qiu:

  Hi,
The following minimal example has no effect on page numbering(MkIV):

\setuppagenumbering[conversion=romannumerals] %
\setuppagenumbering[numberconversion=romannumerals] has no effect too.


\setupuserpagenumbering[numberconversion=romannumerals]

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] Roman page numbers

2010-08-11 Thread Hongwen Qiu

 于 2010年08月12日 11:08, Wolfgang Schuster 写道:

Am 12.08.10 03:52, schrieb Hongwen Qiu:

Hi,
The following minimal example has no effect on page numbering(MkIV):

\setuppagenumbering[conversion=romannumerals] %
\setuppagenumbering[numberconversion=romannumerals] has no effect too.


\setupuserpagenumbering[numberconversion=romannumerals]

Thanks for the reply, but I get the following error:
! Undefined control sequence.
l.10 \setupuserpagenumbering
[numberconversion=romannumerals]
?

___
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] Roman Page numbers

2009-09-06 Thread Robert Blackstone
On Sat, Sep 5, 2009 at 10:42 PM, Derek CORDEIRO derekcorde...@gmail.com
wrote



 Thanks a lot, it works as required. I added a note to the wiki
 Table_of_Contents page.

 On Fri, Sep 4, 2009 at 3:36 PM, Wolfgang Schuster 
 schuster.wolfg...@googlemail.com wrote:

 
  Am 04.09.2009 um 11:03 schrieb Derek CORDEIRO:
 
   I do get romannumerals on each page now, but this is not reflected in
 the
  TOC as it does in MkII. Below is the minimal example.
 
 
  The new code is more complicated than i thought, here is solution to the
  problem.
 
  As Hans suggested we should collect such setups on the wiki.
 
  \definestructureconversionset[frontpart:pagenumber][][romannumerals]
  \definestructureconversionset[bodypart:pagenumber] [][numbers]
 
  \setuplist[chapter][pageconversionset=pagenumber]
 
  \startstructureblockenvironment[frontpart]
 
  \setupuserpagenumber[numberconversion=romannumerals]
  \setuppagenumber[number=1]
 
  \stopstructureblockenvironment
 
  \startstructureblockenvironment[bodypart]
 
  \setuppagenumber[number=1]
 
  \stopstructureblockenvironment
 
  \starttext
 
  \startfrontmatter
 
  \completecontent[criterium=all]
 
  \chapter{Intro}
 
  \input tufte
 
  \stopfrontmatter
 
  \startbodymatter
 
  \chapter{knuth}
 
  \input knuth
 
  \stopbodymatter
 
  \stoptext
 
  Wolfgang
 


This is odd.
On my system (both MacTeX 2008 and ConTeXt minimals) this does not work
properly.
The Roman numbers appear in the TOC but not on the textpages themselves.
Furthermore, after the frontmatter the page numbers should start again with
1 (at least that is what I think) but they just continue (i.c. with 3).
The previous TeX-file, in ntg-context Digest, Vol 63, Issue 6, message 6,
showed almost the reverse, i.e. Roman numbers on the pages but not in the
TOC but the body matter starting correctly on page 1.
So if the present setup works correctly for Derek, why would it be it
different on my system and what can I do about it?
Sorry for intruding but this topic is important for me.
Regards,
Robert Blackstone
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Roman Page numbers

2009-09-06 Thread Wolfgang Schuster


Am 06.09.2009 um 10:31 schrieb Robert Blackstone:


This is odd.
On my system (both MacTeX 2008 and ConTeXt minimals) this does not  
work properly.


The code is for MkIV only and the ConTeXt in TeXLive is too old for  
the new code.


The Roman numbers appear in the TOC but not on the textpages  
themselves. Furthermore, after the frontmatter the page numbers  
should start again with 1 (at least that is what I think) but they  
just continue (i.c. with 3).


What ConTeXt version do you use?

$ context --version
MTXrun | main context file: /Users/wolf/context/tex/texmf-context/tex/ 
context/base/context.tex

MTXrun | current version: 2009.08.30 12:25

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Roman Page numbers

2009-09-06 Thread luigi scarso
On Sun, Sep 6, 2009 at 3:25 PM, Robert Blackstone 
blackstone.rob...@gmail.com wrote:



 On Sun, Sep 6, 2009 at 12:00 PM, Wolfgang Schuster wrote


 The code is for MkIV only and the ConTeXt in TeXLive is too old for
 the new code.

  The Roman numbers appear in the TOC but not on the textpages
  themselves. Furthermore, after the frontmatter the page numbers
  should start again with 1 (at least that is what I think) but they
  just continue (i.c. with 3).

 What ConTeXt version do you use?

 MTXrun | current version: 2009.06.14 21:01
 June this year. Too old already?

maybe

 If so, what would be a good frequency of updating the minimals?

 For bug fixes,you should always have  the last stable / beta, it depends
what are you using .
There is no backward compatibility

-- 
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Roman Page numbers

2009-09-05 Thread Derek CORDEIRO
Thanks a lot, it works as required. I added a note to the wiki
Table_of_Contents page. Just an unrelated question, Since MkIV is quite
different and incompatible with MkII, wouldn't it be better to keep all MkIV
specific information separate in the wiki?

On Fri, Sep 4, 2009 at 3:36 PM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 04.09.2009 um 11:03 schrieb Derek CORDEIRO:

  I do get romannumerals on each page now, but this is not reflected in the
 TOC as it does in MkII. Below is the minimal example.


 The new code is more complicated than i thought, here is solution to the
 problem.

 As Hans suggested we should collect such setups on the wiki.

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

 \setuplist[chapter][pageconversionset=pagenumber]

 \startstructureblockenvironment[frontpart]

 \setupuserpagenumber[numberconversion=romannumerals]
 \setuppagenumber[number=1]

 \stopstructureblockenvironment

 \startstructureblockenvironment[bodypart]

 \setuppagenumber[number=1]

 \stopstructureblockenvironment

 \starttext

 \startfrontmatter

 \completecontent[criterium=all]

 \chapter{Intro}

 \input tufte

 \stopfrontmatter

 \startbodymatter

 \chapter{knuth}

 \input knuth

 \stopbodymatter

 \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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Roman Page numbers

2009-09-05 Thread Hans Hagen

Derek CORDEIRO wrote:

Thanks a lot, it works as required. I added a note to the wiki
Table_of_Contents page. Just an unrelated question, Since MkIV is quite
different and incompatible with MkII, wouldn't it be better to keep all MkIV
specific information separate in the wiki?


keep in mind that we're in the process of getting rid of some of those 
incompatibilities so update the wiki page accordingly



-
  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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Roman Page numbers

2009-09-04 Thread Derek CORDEIRO
On Fri, Sep 4, 2009 at 2:07 AM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 03.09.2009 um 15:30 schrieb Derek CORDEIRO:

 The following minimal example is not working under MkIV. However it works
 under MkII

 \setuppagenumbering[conversion=romannumerals]


 \setupuserpagenumber[numberconversion=romannumerals]



I do get romannumerals on each page now, but this is not reflected in the
TOC as it does in MkII. Below is the minimal example.



\starttext
\startfrontmatter

\setupuserpagenumber[numberconversion=romannumerals]
\setuppagenumber[number=1]
\completecontent[criterium=all]

\chapter{Intro}

\input tufte

\stopfrontmatter

\startbodymatter
\setuppagenumber[number=1]

\chapter{knuth}

\input knuth

\stopbodymatter

\stoptext


Help,
Derek
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Roman Page numbers

2009-09-04 Thread Wolfgang Schuster


Am 04.09.2009 um 11:03 schrieb Derek CORDEIRO:

I do get romannumerals on each page now, but this is not reflected  
in the

TOC as it does in MkII. Below is the minimal example.


The new code is more complicated than i thought, here is solution to  
the problem.


As Hans suggested we should collect such setups on the wiki.

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

\setuplist[chapter][pageconversionset=pagenumber]

\startstructureblockenvironment[frontpart]

\setupuserpagenumber[numberconversion=romannumerals]
\setuppagenumber[number=1]

\stopstructureblockenvironment

\startstructureblockenvironment[bodypart]

\setuppagenumber[number=1]

\stopstructureblockenvironment

\starttext

\startfrontmatter

\completecontent[criterium=all]

\chapter{Intro}

\input tufte

\stopfrontmatter

\startbodymatter

\chapter{knuth}

\input knuth

\stopbodymatter

\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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Roman Page numbers

2009-09-03 Thread Wolfgang Schuster


Am 03.09.2009 um 15:30 schrieb Derek CORDEIRO:

The following minimal example is not working under MkIV. However it  
works under MkII


\setuppagenumbering[conversion=romannumerals]



\setupuserpagenumber[numberconversion=romannumerals]

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___