Hi Pablo, thanks for your response. Yes, I already had in mind, that this might be a viewer related problem, as I only opened the document in SumatraPDF only. With one of the solutions from the wiki I fixed the problem. I added \definestructureconversionset[frontpart:pagenumber][][romannumerals] to my environment file. I didn't take this into accout, as I initially didn't plan on using roman numbers. But right now this seems the only proper solution to the wrong numbering in my case. I attached an explanation document to show you what I mean. If you still wish for the source files please tell me. Cheers, Sebastian On 26/07/2017 17:03, Pablo Rodriguez wrote:
On 07/26/2017 09:20 AM, Sebastian L. wrote:
Hi folks, [...] How would one change the frontmatter counter to roman numbers (I, II, III etc.)? And the first page of the bodymatter to 1 instead of 1.1? For the record: within the PDF itself the numbers are printed correctly (front: no numbers, body: 1, 2, 3 etc.). This seems to be reader software related. I saw romans for frontmatter and arabics for bodymatter in other documents already, so I am sure there has to be a way of achieving this in CTX.
Any ideas? Hi Sebastian,
the wiki is your friend: http://wiki.contextgarden.net/Table_of_Contents. The answers to your questions are there.
As to your first issue with wrong page numbering, I wasn’t able to reproduce your problem with the minimal sample and I’m not sure where you got the wrong page number. Only in the viewer?
Could you provide a minimal sample (for both files) and your output document?
Pablo