Page Styles not consistent

What I'm Running: Using Writer 3.4.4 on Mint 12 KDE.

What I want: A header on each page except the first page of each chapter

How I tried to do it: I created a separate page style for the first page of
each chapter. I disabled the header for this style, and set the "Default"
style (with the header turned on) to be the next style.

What went right: The selected page no longer had the header, and the following
page did.

What went horribly wrong: Every other page following that is missing the
header.

It seems that the only way to consistently get the style to work is to end the
first page with a manual break. Unfortunately, that would severely disrupt the
flow of the text (and the layout).

Is there any way to do this? Any help will be greatly appreciated. Thanks!

Russ Mannex wrote (20-04-12 07:12)

What went horribly wrong: Every other page following that is missing the
header.

In what format did you seve the file?

Hi Russ,

Russ Mannex schrieb:

What I'm Running: Using Writer 3.4.4 on Mint 12 KDE.

What I want: A header on each page except the first page of each chapter

How I tried to do it: I created a separate page style for the first page of
each chapter. I disabled the header for this style, and set the "Default"
style (with the header turned on) to be the next style.

Why doing it manually? There exist a style named "First page". Assign it to the first page and all should be right.

What went right: The selected page no longer had the header, and the following
page did.

What went horribly wrong: Every other page following that is missing the
header.

It seems that the only way to consistently get the style to work is to end the
first page with a manual break. Unfortunately, that would severely disrupt the
flow of the text (and the layout).

Is there any way to do this? Any help will be greatly appreciated. Thanks!

It should work in the way you tried it, without a manual break. Please examine the settings again. Is there a wrong setting in 'Page layout'?

Kind regards
Regina

In LibreOffice format (odt).

Why doing it manually? There exist a style named "First page". Assign it
to the first page and all should be right.

I use the first page style for the first page of the document. It is in a
different style than the first page of each chapter. The "first page" style
excludes the page number footer, which is what it should do. The first page of
each chapter should display the page number footer, but not the book title
header. So, it is a different style.

It should work in the way you tried it, without a manual break. Please
examine the settings again. Is there a wrong setting in 'Page layout'?

Kind regards
Regina

The page layout settings appear correct. It seems that LO is, for some reason,
automatically making the page after the next page style go back to the first
style, and so they alternate. Which is quite annoying!

I shall continue to tinker...

Are you using a Master Document for this? You can then use one
document for each chapter and combine these into one document. See the
Writer Guide for details. From what you wrote, it seems possible that
you are using only one file for the complete document. Breaking the
complete document into smaller parts and then using Master Documents to
combine them might eliminate the page styles problem. (All of our user
guides are written this way.

--Dan

I've never heard of this feature! It sounds like a good way to do it, though.
I think that will solve the problem. Where is the Writer's Guide?

-Mannex

All of our user guides including the Writer Guide are available for
download here: http://www.libreoffice.org/get-help/documentation/.

--Dan

Thanks! I'll check it out. Problem solved (for now...)

-Mannex

Hi :slight_smile:
This link is a good way to get to the official documentation
http://wiki.documentfoundation.org/Documentation/Publications#LibreOffice_Writer_Guide
Regards from
Tom :slight_smile:

OK, this almost works, but there's one hitch. I need to be able to convert the
document to an epub via Calibre. It works well from odt to epub, but not so
well from pdf to epub. Any other ideas?

-Mannex

OK, never mind the previous post. It's still not working with the master doc,
but I think I got it working now with just one odt file. It seems a bit buggy,
and very temperamental, but I think if I keep sacrificing raw vegetables to the
open source gods, things will continue to work. Thanks to all!

If you look carefully, for any given chapter or guide, you can
download either ODT or PDF. If you are using an e-reader, download the
ODT file.

--Dan

Instead of raw vegetables please rather sacrifice a bit of your time and try
to describe exactly in a bug report[1] what went wrong resp. how it could work
better. So we all can profit not only the vegetarian gods :wink:

Regards, Nino
[1] http://wiki.documentfoundation.org/BugReport

Thanks, Dan. Actually, I didn't have any problem with the help document on the
web site. I was describing the problems I had with LO in the Master Document
format. I want to later convert my document to epub, so that's why I was
having problems. Calibre does not recognize odm format, but works very well
with odt (better even than pdf).

-Mannex

Yes, I'm working that out now, thanks. But I still think it's prudent to
sacrifice the veggies :slight_smile:

-Mannex

I was wonder how this is done, but I know it has been done. This is
what I discovered. A Master Document can be exported to ODT: File >
Export > ODF text document (.odt). [You will find the ODF text document
(.odt) as a part of the All Formats button.
     There still may be some surprises, but this will get you further
along. For tidying up the ePUB file, you could use Sigil. (I do.)

--Dan

OK, well I've got all the headers correct now in an odt anyway, so no problem
there. I'm wondering what Sigil is (and where I can get it).

-Mannex

Home page of Sigil:
http://code.google.com/p/sigil/

Sigil is a multi-platform EPUB ebook editor with the following features.
It has a "book view" (for seeing what the text will look like) and a
"code view" for editing the underlying xhtml files of the text. One of
the things it has is this file: stylesheet.css contained in the "Book
Browser". All of the styles used in the document are defined here.
     Editing can be done in "book view" and "code view". I have modified
the stylesheet.css file (Book Browser), the xhtml files (code view), and
the text (book view).
     Download files are listed in the Feature section on the left side
of the Sigil home page (link above).

--Dan

Ah, sounds nice. I am using Calibre, which allows me to "explode" the epub
into all the style sheets and xhtml files, which I then edit with either
Bluefish or KompoZer (or cssed in the case of the stylesheets). I'll give it a
try. Thanks!

-Mannex