Help save net neutrality! Learn more.
Close

#18 Page number restarts unexpectedly

open
nobody
None
5
2009-04-27
2003-02-10
No

running openjade on following sample with stock 1.77
stylesheets, no jadetex.cfg
-----------------------------------------------
<book>
<title>test</title>
<preface>
<title>Preface title</title>
<para>Preface paragraph blabla.</para>
</preface>
<chapter>
<title>First Chapter</title>
<para>blabla</para>
</chapter>
<part>
<title>First Part</title>
<chapter>
<title>Second Chapter</title>
<para>blabla</para>
</chapter>
</part>
</book>
-----------------------------------------------
gives the following page sequence:
--------------------------
[blank] (Title page)
[blank]
iii (TOC)
i (Preface)
1 (First Chapter)
[blank] (Part I)
2 (Second Chapter)
--------------------------
This sample highlight two problems:
1) "Preface" first page should be numbered "iv" or "1"
but not "i", which is quite confusing after "iii".
2) last page should be numbered "3" (For larger first
chapters, the first page of second chapter is always "2")

Discussion

  • Peter Eisentraut

    Logged In: YES
    user_id=178336

    The page number restarting in the preface seems to be fixed in 1.78.

    The real problem is that (first-chapter?) gets confused by your
    "unbalanced" outline (some chapters in parts, some not); it thinks the
    second chapter (the first in the part) is the very first one overall. I
    haven't looked further, but I'm sure that's what needs fixing.

    The stylesheet project has a policy to not change matters of taste, so
    I cannot accept the patch to change the preface numbering to Roman
    numerals. I will close the patch and leave the bug open.

     
  • Peter Eisentraut

    • status: open --> closed-rejected
     
  • Peter Eisentraut

    • status: closed-rejected --> open
     
  • Peter Eisentraut

    • milestone: 112684 --> 447635
     
  • Robert Stayton

    Robert Stayton - 2009-04-27
    • labels: 321158 -->
    • milestone: 447635 -->
     

Log in to post a comment.