Ending a document

Hi all,

Is it the case that a document **must* *end with a paragraph mark. I am editing a publication which is a master document and I would like to specify that for a given sub-document I wish to have nothing below it on the page but when I insert a page break I am given another page with a blank paragraph which I do not want. I am aware of the possibility of specifying that a document must start a fresh page, but I have tried that in the past and introduced a non-deletable feature in the master document.

Any thoughts?

Barry

Yes, all documents **must** end with a paragraph mark. Writer documents are written using XML. The "markers" used to format the text are used in pairs. If there is a beginning of a paragraph, there must be an ending of it. The paragraph markers only visually show you where the paragraphs begin and end.
      I just created a master document from 4 chapters that I have. (Total pages: 212) In the master document, nothing is below the end of a given chapter; the next chapter begins with on a new page. And if the subdocument ended as an odd page in the master document, a blank page was added so that the new chapter begins as an odd page.
      How did you create the master document? If we had your steps, someone might be able to discover what has to be done differently.

--Dan

Hi,

no rule without exception:

I never was able to find out which special sequence gives rise to this error:

Deleting the content of the last cell in a writer table, the paragraph mark of
that cell is deleted, such that no content can be added in that cell.
Usually, shortly afterwards writer crashes.
(Debian lenny, LO 3.5.5)

Walther.

Very likely the exception is the reason for the error. It is a bug that you should probably report to Debian. I can not duplicate your error, but I download all my LIbreOffice from its website. Various distributions of Linux modify LibreOffice somewhat before putting them in the repositories. This leads to unintended bugs. This was true for OOo going back to 1.1.x, and it seems to be the case for LO as well.
      In your case, deleting content in **any** cell should not delete the paragraph within the cell. It sounds like deleting the contents deletes all reference to the cell in the XML. It may seem that it is there, but it is not.

--Dan

If this is not out of line, how about we get people to share their "favorite" master documenttemplates with the rest of us. The trick of adding sub documents and automatically having the next chapters start on an odd page is nice to know how to do.

There are a lot of people out there that have created master documents that could be used as templatedocuments by others so that they do not have to figure out all the needed information on their own.

Actually, I never did figure out how to make a master document that used sub-documents [chapters/sections] using LO. I tried back in first year of using LO and then gave up. It seemed easier to edit individual chapters/sections of a large document than edit a 50plus page one.

ALSO, as for ending a document, I always have one or two blank lines after my last paragraph of text. That is what I was taught in college [and work] in thelate 80's and early 90's, so I never got out of the habit of doing it.

Hi Dan,

thanks for your response, I will investigate the problem further. As soon I
can define it clearly I will give a message.

Walther

Hi :slight_smile:
For almost everything i stick to whatever version happens to be in my distros repos.  I have added a couple of other well respected additional repos to get a few extra bits&bobs.

It's only really LibreOffice that i tend to download directly from the "upstream" official website (ie the website of the project itself rather than anything to do with my distro) 
http://www.libreoffice.org/download/
Sometimes i stick with the one from the repos but if there is the slightest hint of trouble then i go straight to the official TDF one.

Regards from
Tom :slight_smile:

Sorry, but I don't think this argument works (though I'm not disputing your first sentence). The questioner is not suggesting that there should somehow be a paragraph that begins but does not end. The last real (non-empty) paragraph will begin and end normally. Then there is a page break. He wants the document to end there; there would be no unbalanced paragraph indicators. Instead, it is apparently required that after the page break there must be an additional empty paragraph: a further (and unwanted) balanced pair of paragraph indicators, that is. It would be possible to imagine a document without that empty paragraph without offending against your requirement for matching indicators.

Brian Barker

I agree with you. The problem seems to be related as to how the master document was created. When I use File -> New -> Master Document and use the Navigator (F5) to add the sub documents, I do not have the problems that the OP is having. The empty space at the end of each sub document is preserved doing it this way. He seems to be loosing part of these spaces, and I don't know why.
      I wonder if he also has a problem with LO adding a blank page in the midst of a master document so that a sub document would begin on the left page in the master document. Since he has not replied to anyone, it is hard for me to tell.

--Dan

Thanks to all, I am listening but also racing a deadline. Brian Barker has hit the nail on the head. More later

Barry

Hi :slight_smile:
There is a Templates site with almost exactly the same name as the Extensions site.  Whichever you are on you might notice the tabs at the top to let you switch from Extensions to Templates or vice-versa.
Regards from
Tom :slight_smile:

Yes I know of the Template site.

BUT, there are a lot of people out there that has some good ideas on how to do things that seem never to be a part of an "official" template list.

The idea of making a master document that automatically combines sub-documents to make sure the starting page of each sub-document/chapter starts on an odd page number - is something that others might want to see and look at how it is done.

Then there are other documents "styles" I would love to see in template form. It does not have to have the "template" three-character file name type either.

It is hard to find a lot of good complex ones that are not from MSO designs.

Some of us do not have time to figure out how to do some of these nice things, I have heard of, with out time constraint. For me my last doctor's visit was telling me - in not so many words - that I have to reduce the amount of time I am sitting at my desk dealing with this desktop. I wish I had enough time to really get into reading all of the guides and manuals I have. I use to back in the early 2000's.

So to really state it over again:
We need more people who find good solutions on how to do things, with their creation of "master documents" for their type of documents, take their "finds" and place then in our LO template pages with a brief explanation on what it will do for the user.

We need more and more solutions to be shared with the rest of us.

I have offered to help people create their own Spell Checking dictionaries for specialized topics. I think those with the skill in creating documents should do their part in helping other as well.

I have not checked, YET, but it would be great to have some GOOD calendar templates for both monthly wall calendars and every other type you can think of. I am creating a "special" wall calendar for a group I belong to that shows the dates of every meeting for 2013, like I did for 2012, 2011, and 2010. That way they will not have the excuse of not knowing when the next meeting is.

Hi :slight_smile:
+1
I was kinda agreeing with my last post too.  Just taking the opportunity to "raise the profile" of the templates site for anyone that does have a template or such that they don't mind sharing.  It doesn't matter if it's really bad because it might just be an inspiration for someone else or be the starting point that someone takes a lot further.  I think sometimes people are just a bit shy or don't realise that what they think is bad might really help another person get unstuck or learn (or might even just be a shed-load better than they realise (as is often the case ime)).

Regards from
Tom :slight_smile:

I never really thought about creating a spell checker for LO, but when I looked into the .oxt file I saw how easy it could be, if you did not use all of the "control codes" that I could not find reference to. Once I figured out some of the internals, it became "relatively easy" to create a basic word list type of one.

The same things go for Templates.

You create a document file format you like and use it yourself. Then you take away all your "personal" information we users do not need to see and then add some text somewhere describing what the template file/document is all about. At that point you are ready to share it with others. The Extension/Template site[s] will need the uploader to go through some steps to get it online, but it can be worth it.

It is worth all the hassles I have dealt with creating a VERY LARGE American English [773,000+ words], British English [639,000+ words], and Canadian English [639,000+ words] spell checking dictionaries.

I would like to add words to the dictionaries, but when you get to the point of a half-million words, or more, it is hard to find more words and create a package to do the hard work for you.