ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Sebastian L." <axteffekt@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Odd numbering of pp. in PDF viewer
Date: Wed, 26 Jul 2017 21:25:00 +0200	[thread overview]
Message-ID: <0954facb-8504-b4a2-900b-cae534c2e08d@gmail.com> (raw)
In-Reply-To: <ecc863fa-7991-dc48-18be-4e7cbddf03c2@gmx.es>

[-- Attachment #1: Type: text/plain, Size: 1657 bytes --]

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


[-- Attachment #2: counting.pdf --]
[-- Type: application/pdf, Size: 35662 bytes --]

[-- Attachment #3: Type: text/plain, Size: 492 bytes --]

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

  reply	other threads:[~2017-07-26 19:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-26  7:20 Odd numbering of Sebastian L.
2017-07-26 15:03 ` Pablo Rodriguez
2017-07-26 19:25   ` Sebastian L. [this message]
2017-07-26 20:01     ` Odd numbering of pp. in PDF viewer Pablo Rodriguez
2017-07-26 20:09       ` Sebastian L.
2017-07-27 15:30         ` Pablo Rodriguez
2017-07-27 20:19           ` Sebastian L.
2017-07-27 20:44             ` Pablo Rodriguez
     [not found]               ` <960efcd6-0b44-536b-5d76-a5bdc5f1f820@gmail.com>
     [not found]                 ` <ed200b78-af2f-30cf-225b-43f9c065a767@gmx.es>
2017-07-27 21:59                   ` Sebastian L.
2017-07-28  5:13                     ` Pablo Rodriguez
2017-07-27 22:01               ` Sebastian L.
2017-07-26 20:12       ` Sebastian L.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0954facb-8504-b4a2-900b-cae534c2e08d@gmail.com \
    --to=axteffekt@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).