[NTG-context] \setnumber

2014-05-22 Thread Werner Hintze
I don’t unterstand \startfrontmatter, \starbodymatter etc. I thought, the frontmatter has roman numerals, the bodymatter normal and so on. This is not automatically so. Now founf how to make this, bus the problem is: I can’t reset the page number. I believed, it shoul work like this:

Re: [NTG-context] \setnumber

2014-05-22 Thread Otared Kavian
Hi, In fact you should use \setupuserpagenumber[number=1] as in the following example: begin example \starttext \startfrontmatter \setupuserpagenumber[numberconversion=Romannumerals] \input knuth.tex \stopfrontmatter \startbodymatter \setupuserpagenumber[numberconversion=numbers]

Re: [NTG-context] \setnumber

2014-05-22 Thread Werner Hintze
Thank you! This works. But tell me: How do you know this? The manual and the website don’t explain it this way… Best regards Werner On 22 May 2014, at 12:16, Otared Kavian wrote: Hi, In fact you should use \setupuserpagenumber[number=1] as in the following example: begin

Re: [NTG-context] \setnumber

2014-05-22 Thread Otared Kavian
Actually the issue was discussed some time ago and Wolfgang Schuster explained that. In fact after sending you the previous answer I realized that he explained also that the right way is to use \defineconversionset and then reset the userpagenumber when necessary: look at the following example:

Re: [NTG-context] \setnumber

2014-05-22 Thread Werner Hintze
Thank you once more! This looks better. It’s a pity that such things are not »wikified«… ;) But there is a new surprise: What is knute.tex, ward.tex and tufte.tex? Are there more of those texte? And how does one finde them? On 22 May 2014, at 12:32, Otared Kavian wrote: Actually the issue

Re: [NTG-context] \setnumber

2014-05-22 Thread Otared Kavian
On 22 May 2014, at 12:44, Werner Hintze we.hin...@gmail.com wrote: Thank you once more! This looks better. It’s a pity that such things are not »wikified«… ;) Once you think you have well understood something do not hesitate to wikify it… But there is a new surprise: What is knute.tex,

Re: [NTG-context] \setnumber

2014-05-22 Thread Werner Hintze
This is the problem: It works, but I don’t unterstand why. I make just my first steps with ConTeXt… Anyway: I found out, that this is the best solution: \defineconversionset[frontpart:pagenumber][][romannumerals] \defineconversionset[bodypart:pagenumber][][numbers]

Re: [NTG-context] \setnumber

2014-05-22 Thread Otared Kavian
Actually you are right: one can setup the userpage numbers by just saying way=byblock (no need to repeat numberconversionset). Here is a complete example: \defineconversionset[frontpart:pagenumber][][romannumerals] \defineconversionset[bodypart:pagenumber] [][numbers]