Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

Download or installation problems? Try these steps
Problems after upgrading to NeoOffice 2022? Try these steps


Support
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


RSS Feeds
· Announcements Only
· All Posts


  
NeoOffice :: View topic - Table of contents format
Table of contents format
 
Post new topic   Reply to topic    NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
Moongeek
Agent


Joined: Oct 19, 2011
Posts: 10

PostPosted: Fri Dec 09, 2011 9:42 am    Post subject: Table of contents format Reply with quote

I have been trying to create a Table of Contents for a large document. In the first five sections, I created a Level 2 style that does not use automatic numbering. I enter numbers manually as part of the text. These headings appear correctly in the ToC. In a final section of appendices, I chose to create a new Level 2 style that has automatic numbering. When I create the ToC, the Level 2 entries repeat the leading number. For example, an appendix title that reads '4. (some text)' appears in the ToC as
'4.4. (some text)'. I am not using outline levels to create my headings.
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11932

PostPosted: Fri Dec 09, 2011 10:03 am    Post subject: Reply with quote

Is it possible for you to attach a sample document that has this problem so that we can try to reproduce it on our machines? I suspect that there is some subtle formatting in the document that is triggering this and we will likely need to look within the document's internal data to find the cause of this problem.

If you have confidential data in your document, I would recommend making a copy of your document and first deleting all of the sections that that don't have any problems. Then, once only the problem section is left, delete all but the first and last words in each of the problematic numbered items. deleting all the words in between the first and last words should hopefully leave whatever is causing the problem in the document.

You can attach a sample document using the steps in this forum post.

Patrick
Back to top
View user's profile Send private message Visit poster's website
Moongeek
Agent


Joined: Oct 19, 2011
Posts: 10

PostPosted: Mon Dec 12, 2011 10:39 am    Post subject: Reply with quote

I am attaching a truncated version of the document. I did not update the Table of Contents so that you can see what it looks like. You can update the ToC in this file to shorten it. The same phenomenon occurs. Note: The style choices and levels are still work in progress, and this version does not represent my final product.
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11932

PostPosted: Mon Dec 12, 2011 11:18 am    Post subject: Reply with quote

I don't know if this is what you are looking for, but I was able to get the formatting to change to the screen snapshot below by setting the "WCP Appendix element" style to level 3.

Does changing that style to level 3 work for you?

Patrick
Back to top
View user's profile Send private message Visit poster's website
Moongeek
Agent


Joined: Oct 19, 2011
Posts: 10

PostPosted: Mon Dec 12, 2011 12:38 pm    Post subject: Reply with quote

That's great. I had not gotten to the 'Appendix Element' style yet. But in your screen shot, look at the Level 2 headings, i.e., the style Appendix Name. Note the repeat of "Appendix AAppendix A". That is the one that has me befuddled.
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11932

PostPosted: Mon Dec 12, 2011 1:11 pm    Post subject: Reply with quote

Moongeek wrote:
That's great. I had not gotten to the 'Appendix Element' style yet. But in your screen shot, look at the Level 2 headings, i.e., the style Appendix Name. Note the repeat of "Appendix AAppendix A". That is the one that has me befuddled.


To fix the appendix entries, move the 'WCP Appendix Name" style down to Level 3 and move the "WCP Appendix element" style down one more level to Level 4 in the Assign Styles dialog.

Essentially, the duplicate numbering problem that you have been seeing is caused by a conflict in the styles used for the table of contents and the custom numbering settings used in the appendices. So, by shifting the appendix names and elements down to levels that are not used by the rest of the document, you can then tweak the table of contents indent and font settings for those levels to make them look similar to the upper levels.

Patrick
Back to top
View user's profile Send private message Visit poster's website
Moongeek
Agent


Joined: Oct 19, 2011
Posts: 10

PostPosted: Mon Dec 12, 2011 1:58 pm    Post subject: Reply with quote

I understand. Thanks very much.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.03 Seconds