Ask Your Question

Why do I have several blank pages in my endnotes section? [closed]

asked 2013-09-19 23:17:02 +0200

mango gravatar image

updated 2015-09-06 22:42:41 +0200

Alex Kemp gravatar image

I have a 250 document with about 200 endotes. The endnotes WERE all displaying correctly, but now after making quite a few changes to the document, I updated the table of contents, and suddenly I find about 5 blank pages have been added between endnote 33 and endnote 34.. Is this a bug, and if so is there a work around? I cannot see anything within the document that might cause this to happen.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-11-10 00:06:24.170532


Where is endnote #33 or #34 located in the document? Are either again a heading? This may be the possible cause. Without examining the document it will be difficult to tell why the extra blank pages are occurring. I can't find an open bug report about this issue.

oweng gravatar imageoweng ( 2013-09-20 02:09:07 +0200 )edit

Both 33 and 34 appear in the middle of a page, not next to a heading, but in the middle of the same paragraph..

mango gravatar imagemango ( 2013-09-20 05:56:50 +0200 )edit

I went in to the document, and deleted endnote 33, then refreshed the TOC.. the blank pages disappeared. I then reinstated 33, refreshed the TOC and now there are blank pages between 105 and 106, and also 106 and 107.. there is definitely a bug there..

mango gravatar imagemango ( 2013-09-20 06:26:29 +0200 )edit

OK.. I did the same, I deleted comment 105, refreshed the TOC, added it back in again, and the document is back to normal. I guess this is a work around, but doesn't explain why it happened, other than it being a bug. All is well again. Thanks for your help as always Oweng, much appreciated.

mango gravatar imagemango ( 2013-09-20 06:45:00 +0200 )edit

Back again.. this bug has just resurfaced. All I did was add a blank page between sections of the book, refreshed my TOC and suddenly I have a whole heap of new pages added in the middle of the document.. between 236 and 248.. just moving from the last word on 236, if I press the right arrow, it jumps all the way to page 248.

I pressed the delte key after the last letter on page 236, and all the blank pages disappeared, but reappeared in the middle of the endnotes section again..

mango gravatar imagemango ( 2013-09-20 06:53:33 +0200 )edit

When you say "section" do mean an actual section (as in Insert > Section...)? It sounds to me as if there is some kind of page style, break after, or section setting in the text somewhere, that is causing this behaviour. You could raise a bug, but you will need to provide an example document that allows the problem to be repeated. First have a look at those three settings I mention.

oweng gravatar imageoweng ( 2013-09-21 02:03:59 +0200 )edit

Sorry, by section I just meant chapter, the blank page was inserted before a "heading 1".. however, I think there is one section in the document, directly before the endnotes section, when i followed instructions to add a chapter heading to that section(?).. It definitely appears to be a bug, but as I have no real idea how to recreate it I won't file a bug report.. I worked around it each time by simply using the delete key, and removing and reinstating endnotes until the blank pages disappeared. Thankyou for your help.

mango gravatar imagemango ( 2013-09-24 22:04:28 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2013-09-25 01:08:58 +0200

oweng gravatar image

Sorry I could not be more helpful, although I am glad you found a workaround. I know it is incredibly frustrating when these sorts of things occur. If it is any consolation Word has many similar (seemingly random) issues. It can be very difficult to track down the cause of these types of problems.

I mentioned sections (Insert > Section...) because if you already had a section somewhere in your document it may be a possible cause of the problem. It is more likely however that the source of your issue related to either paragraph or page styles and the fact that Writer currently (v4.1.0.4) does not handle endnote styling well. Instead of using a paragraph style appropriately it appears to use a direct formatting method (i.e., styles defined in content.xml) by default. This is what the XML for some text with an endnote looks like in content.xml:

<style:style style:name="P1" style:family="paragraph" style:parent-style-name="Endnote">
    <style:text-properties officeooo:rsid="000e3d66" officeooo:paragraph-rsid="000e3d66"/>
<style:style style:name="P2" style:family="paragraph" style:parent-style-name="Standard">
    <style:text-properties officeooo:rsid="000e3d66" officeooo:paragraph-rsid="000e3d66"/>

<text:p text:style-name="P2">Here is some text in the Default Style.
    <text:note text:id="ftn0" text:note-class="endnote">
            <text:p text:style-name="P1">Here is some text in an endnote.</text:p>

Now if I use Clear Formatting on both the main text and the endnote text and re-apply the Default Style and Endnote paragraph styles respectively, the XML shows styles correctly in content.xml:

<text:p text:style-name="Standard">Here is some text in the Default Style.
    <text:note text:id="ftn0" text:note-class="endnote">
            <text:p text:style-name="Endnote">Here is some text in an endnote.</text:p>

The former really should not be happening. Once direct formatting is applied it becomes more difficult to determine exactly what the expected behaviour should be as there are a lot of override styles. It is also worth noting that there is a separate Endnote page style that is created once endnotes are inserted. Direct formatting may be interfering with this definition.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-09-19 23:17:02 +0200

Seen: 1,298 times

Last updated: Sep 25 '13