LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-02-2015, 12:07 AM   #1
dwhb
Member
 
Registered: Jul 2012
Location: Down Under
Distribution: Mint 19 Tara
Posts: 138

Rep: Reputation: Disabled
Thumbs up Libre Office pagination problem


Hi
I wonder if anyone can help me solve the page number problem in Libre Office. Page numbering can never be automatic. If I start a document and set page number, if you edit the document, it ALWAYS screw up the page numbers. It will start again at page 0 or 1 by itself. Its such a pain to have to manually go into Format\Paragraph and then select "Breaks : Insert: With Page Style and manually manipulate the page number that ought to be showing. It won't let you do anything if the document happens to contain tables. If you select Type\Column, you cannot adjust the page number at all.

For that reason, I had no choice but to take up the free Microsoft Office student licence offered through my uni. I literally just managed to submit assignments at the cut off time because I had to try fixing up the faulty page numbering which in the end I had to abandon because as I said, with tables thrown in, it was impossible.

I wonder if anyone else experience similar problem and would really appreciate any help.

Thanks in advance
 
Old 10-02-2015, 09:13 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,380
Blog Entries: 28

Rep: Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163
I have not encountered this, but I seldom work with documents longer than 10 or 12 pages these days. My days of working with 300-page documents are in the past.

Could you provide more precise details and perhaps some examples as to the circumstances under which this occurs and the types of edits you are doing at the time?
 
Old 10-03-2015, 05:24 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Let's assume you want to place your page numbers centred in the footer of each page. Do that as usual.
1. Place your cursor in the centre of the footer of the first page.
2. Insert-->Fields-->Page Number
Ok now you have page numbers starting from page 1. If you want them to start from, say page 5, do the following steps after having set up your page numbers as shown above.
1. Click anywhere on the 1st paragraph of your first page.
2. Format-->Paragraph-->Click on the "Text Flow" tab.
3. Click on the "Breaks" box in the Text Flow menu.
4. Click on the "With page style" box.
5. You can now set the starting page to the number of your choice.

Your document should now be formatted to the page numbers you want. Editing the document (inserting, deleting, etc.) should have no undesired effects on your numbering.

I am using LibreOffice Version: 5.0.2.2.
jdk

Last edited by jdkaye; 10-03-2015 at 05:25 AM.
 
Old 10-03-2015, 06:17 AM   #4
CVAlkan
Member
 
Registered: Nov 2012
Location: Northwest suburbs of Chicago
Distribution: Ubuntu & Mint LTS, Manjaro Rolling; Android
Posts: 242

Rep: Reputation: Disabled
Libre Office pagination problems

You say "It will start again at page 0 or 1 by itself" but you don't mention whether this happens in the middle of the document or not, so here's some info that MIGHT be applicable to your problem.

With longer documents (and I don't know what that number is precisely; I first discovered it while writing a 300+ page book, but later noticed it on documents with as few as 60 pages or so), there is a *long standing bug* in Writer that will cause the page numbers to change - usually restarting as you said - but from somewhere in the middle of the document: in other words, the page numbers that used to go from 1-100 change to being 1-48 followed by 1-52 or something like that. This happens after editing for some period of time and, as near as I could ever figure out, has nothing to do with available RAM or disk space. Once this occurs, though, the incorrect page numbers are shown not only on the screen and in the table of contents, but on printouts and pdf exports.

IF the change occurs in this manner, however, there is a solution. Save the document (yes, really, even with the incorrect page numbers), then close and reopen it, and all will be well. But, as you say, this becomes quite annoying; constantly checking page numbers before printing is not something we typically think of doing.

This bug has been around at least since the late 3.x versions and still occurs in the most recent 5.x releases. LibreOffice Writer is a terrific word processor (particularly for the price!), but this bug and the very buggy handling of multiple languages/scripts within a single document also made me drop it for serious use, although I still use it for most other things.

Like your document, mine also had many tables, but I never associated tables themselves with the issue, but you could be on to something. So - the bottom line is that you can prepare long documents for publication/printing/presentation or whatever with Writer: just make sure to close and reload the document before doing so to insure the page numbers are back to normal.
 
Old 10-03-2015, 11:01 AM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,148

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Quote:
Originally Posted by CVAlkan View Post
This bug has been around at least since the late 3.x versions and still occurs in the most recent 5.x releases.
Since LO was forked from OO 3.3, does the bug occur in OpenOffice? I prefer OO, but the only documents of any size I have use separate files for the chapters, so I wouldn't see the problem. As for multiple scripts in a page, I don't have problems with multiple scripts from plane 0, although it can be temperamental with plane 1.
 
Old 10-03-2015, 12:01 PM   #6
CVAlkan
Member
 
Registered: Nov 2012
Location: Northwest suburbs of Chicago
Distribution: Ubuntu & Mint LTS, Manjaro Rolling; Android
Posts: 242

Rep: Reputation: Disabled
If memory serves, I believe the first time I noticed the magic page number changing issue was with the 3.6 release - about the time I dumped Windows for Linux.

I never used the Open Office incarnation, so can't comment on that.

Speaking of separate files for chapters, I tried that early on, but found too many glitches (perhaps my misunderstanding of how it was supposed to work) to deal with at the time, and haven't ever tried it again. I guess if it were a collaborative document I'd give it another shot, but don't expect to do that.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Libre Office and Open Office both fail to open MS Office documents correctly. Observed Linux - Newbie 8 07-18-2014 10:48 AM
Libre Office dwmcape01 SUSE / openSUSE 1 04-21-2014 10:25 PM
[SOLVED] Libre Office or Open Office QueenZ Linux - Newbie 12 02-22-2013 03:58 AM
Unoconv Convertor for RHEL 6 : Libre office & open office utility vishwajeet jagtap Linux - Software 0 02-15-2013 09:44 AM
LXer: Libre Office Initial plans for the free office suite [German] LXer Syndicated Linux News 2 11-14-2010 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration