| View previous topic :: View next topic |
| Author |
Message |
AlanDavidson OOo Advocate

Joined: 09 Mar 2006 Posts: 252
|
Posted: Tue Nov 28, 2006 7:30 am Post subject: [Solved] Page numbers in Table of Contents not correct |
|
|
I've just met an old friend from M$ W--d, version 6.0. Page numbers in the TOC don't match the actual page numbers.
The problem could be related to the fact that I am using roman numerals for front matter, and arabic numerals for the chapters. This forces chapter 1, page 1 to be a right-hand page. I have allowed the first pages of subsequent chapters to be left or right.
The final page of chapter 1 is "11", on a right page. The first page of chapter 2 is "12", on a left page.
I notice that the TOC is correct up to, and including page 11. However, chapter 2 is shown in the TOC as page 13.
I have verified that the TOC actually is updating. I do this by changing the text of some headings and verifying that the corresponding text in the TOC also changes.
Can anyone help?
Regards,
Alan
Last edited by AlanDavidson on Wed Nov 29, 2006 12:39 pm; edited 1 time in total |
|
| Back to top |
|
 |
ftack Moderator


Joined: 27 Jan 2003 Posts: 3102 Location: Belgium
|
Posted: Tue Nov 28, 2006 7:56 am Post subject: |
|
|
| How did you change the page numbers? Page numbers never failed on me. Perhaps you used the "offset" in the Insert - Fields - Page number dialog? If you change the page number using this way, problems are guaranteed. |
|
| Back to top |
|
 |
AlanDavidson OOo Advocate

Joined: 09 Mar 2006 Posts: 252
|
Posted: Tue Nov 28, 2006 8:03 am Post subject: |
|
|
| ftack wrote: | | How did you change the page numbers? |
I used the page style dialog. In the Page tab, I select Format 1, 2, 3 ... |
|
| Back to top |
|
 |
JohnV Administrator

Joined: 07 Mar 2003 Posts: 8982 Location: Lexinton, Kentucky, USA
|
Posted: Tue Nov 28, 2006 9:02 am Post subject: |
|
|
| Quote: | | I have allowed the first pages of subsequent chapters to be left or right. | This may not be true if you didn't use a page number offset. I think OOo has inserted a blank page to force your chapter to page 13 (right page). Check the page number on the status bar then do File > Page Preview to see if you have a blank page. |
|
| Back to top |
|
 |
jeanweber Moderator


Joined: 30 Dec 2005 Posts: 674 Location: Queensland, Australia
|
Posted: Tue Nov 28, 2006 3:15 pm Post subject: Re: Page numbers in Table of Contents not correct |
|
|
| AlanDavidson wrote: | Page numbers in the TOC don't match the actual page numbers.
The problem could be related to the fact that I am using roman numerals for front matter, and arabic numerals for the chapters. This forces chapter 1, page 1 to be a right-hand page. I have allowed the first pages of subsequent chapters to be left or right.
The final page of chapter 1 is "11", on a right page. The first page of chapter 2 is "12", on a left page.
I notice that the TOC is correct up to, and including page 11. However, chapter 2 is shown in the TOC as page 13.
I have verified that the TOC actually is updating.Can anyone help? |
I have done this successfully in several books, with no problems. Without seeing your file, I can't guess what might be causing a problem for you. If you could send me (offlist) a sample, I'd be happy to look at it. _________________ Regards, Jean Hollis Weber
Get free PDFs of OOo user guides from http://wiki.services.openoffice.org/wiki/Documentation/
Printed copies http://www.lulu.com/opendocument |
|
| Back to top |
|
 |
Hagar Delest Super User


Joined: 06 Feb 2006 Posts: 5167 Location: France
|
Posted: Wed Nov 29, 2006 1:00 am Post subject: Re: Page numbers in Table of Contents not correct |
|
|
I agree with JohnV.
| AlanDavidson wrote: | | The problem could be related to the fact that I am using roman numerals for front matter, and arabic numerals for the chapters. This forces chapter 1, page 1 to be a right-hand page. |
It should not be the case. You should check the Page layout setting in the Page tab of the page style. It should be Right and Left everywhere. _________________ Now on the EN user community forum |
|
| Back to top |
|
 |
AlanDavidson OOo Advocate

Joined: 09 Mar 2006 Posts: 252
|
Posted: Wed Nov 29, 2006 4:38 am Post subject: |
|
|
I think we should all stop discussing this problem. Then it might just go away. Here is the history:
1) I noticed the problems as in my original post yesterday.
2) I replied to ftack's response.
3) I saved my file at 16.57 SHT (Scottish Highlands Time).
4) This morning I opened the file to try some of the forum suggestions.
5) All yesterday's work had disappeared. (In other words, the file save at 16.57 had not actually saved anything.
6) Because I've been burnt by OOo saves in the past, I always have a BAK file created automatically. So I opened the BAK file.
7) All my changes are in the BAK file, except my very last change of a few words.
8 The TOC problem that several contributors tried to help me with yesterday does not appear in the BAK file.
There are two issues here:
1) How can a file be saved at 16.57, but not actually save any changes?
2) How can the 16.57 BAK file be more up-to-date than a normal save?
(Remember that a BAK file simply records the *second-last* changes in a file, not the last changes. This is because it's a copy of the *previous* version of the file, not the current version. That's why my very last change does not appear in the BAK file.)
I think OOo was so ashamed of it's TOC errors that it decided not to save the file during the normal save.
(The sharp-eyed might have noticed that I did not use a closing perenthesis in number 8 in my list above. That would have produced this next smiley:
Try it!
I think I'll go home. |
|
| Back to top |
|
 |
Hagar Delest Super User


Joined: 06 Feb 2006 Posts: 5167 Location: France
|
Posted: Wed Nov 29, 2006 4:56 am Post subject: |
|
|
| AlanDavidson wrote: | 1) How can a file be saved at 16.57, but not actually save any changes?
2) How can the 16.57 BAK file be more up-to-date than a normal save? |
That's quite frightening because there has been an other thread opened about this problem yesterday : http://www.oooforum.org/forum/viewtopic.phtml?t=49096.
See especially my last post, it may be linked to the problem about the "error writing file" message".
I think you've been lucky : perhaps that if you had saved once more, your BAK file (with your changes) would have been overwritten by the very last one (changes lost) !
| AlanDavidson wrote: | (The sharp-eyed might have noticed that I did not use a closing perenthesis in number 8 in my list above. That would have produced this next smiley:  |
There is a checkbox under the area where you write the message that Disable BBCode in this post ! Just try it.
[EDIT 1:57 pm] I see that in the meantime when I was writing this post, AlanDavidson spotted the thread mentioned above  _________________ Now on the EN user community forum |
|
| Back to top |
|
 |
|