Ask Your Question
0

Chapter numbering - is it really so difficult?

asked 2019-08-24 07:55:45 +0200

Hmyzak gravatar image

updated 2019-08-24 11:25:50 +0200

I have been trying LO and its predecessors (StarOffice, OpenOffice) for last 18 years. Now, as always, I have to go back to Microsoft Office - and reason? In MS office the normal chapter numbering (1, 1.1, 1.2, 2, 2.1, 2.2, 2.3 ...) is working. In LibreOffice NOT. It's as always - several hours of wild ride through different settings of Heading styles, numbering, outline and reset numbering... ending with totally destroyed document.

Please, decide to implement such a basic functionality in next 20 years. Now I leaving LO and going back to MS, which I hate, but which works actually.

V.K. Here is the document, which does not work. 1.1 is following the chapter 3.2 and 1.2 is following the chapter 4.

C:\fakepath\numbering.odt

edit retag flag offensive close merge delete

Comments

Beginning analysis. Indeed, something is broken, it also happens on Heading 1. Investigating.

ajlittoz gravatar imageajlittoz ( 2019-08-24 11:56:12 +0200 )edit

1 Answer

Sort by » oldest newest most voted
5

answered 2019-08-24 08:15:27 +0200

ajlittoz gravatar image

updated 2019-08-24 14:02:17 +0200

The contributors of this site are mostly enthusiastic users of LO, not developers. It is not in their skills to implement anything or fix bugs.

However, they have gained a deep understanding of LO (notably Writer for me) working and of the "correct" "comfortable" way of using it.

Contrary to your affirmation, chapter numbering works well and reliably in Writer. But, and this may be the source of your ranting, it is not enabled by default.

I don't understand your need to fiddle with outline settings: Heading n are connecting to the ad-hoc outline level. Reset numbering also has no practical use because chapter numbering has a single sequence in a document and is not supposed to restart in the middle.

Yes, you must customise the numbering sequence because what you want is not the same as your neighbour and a "standard" sequence, fitting everyone's needs, can't be defined.

Yes, you can customise Heading n if you don't like the default just as you can customise Body Text for the bulk of your text.

If you must do it for every document you create, you're ready to learn how to create templates. In a template, you record all your personal settings and styles. Afterwards, you open your own template and, magically, Writer is preset to your own preferences, saving you several hours of wild ride every time.

Remember that every new tool requires a change of routine. It might be time to read the various guides about styles and templates. With these features, you'll find that Writer outbeats Word.

EDIT

From close examination of the XML structure, your document is plagued with a high level of M$ Word pollution.

Since Word has a less developed notion of styles (basically, only paragraph styles), user is left with the only possibility of using direct formatting to achieve his goal. When document is imported into Writer, the .docx filter does its best to guess what was at stake. This leads to unnecessary multiplication of character and list styles, plus some direct formatting left.

This is patent in your document where Heading n are replaced by derived styles. Though they are still based on the original Heading n, they have lost their relationship with the dedicated outline counter. This can be seen by the number of WWNumx "list" styles which are attached to the "outline" paragraphs instead of the dedicated counter.

The net result is your imported Heading 1 belong in an independent numbering sequence.

When you create new headings and style them with the drop-down menu, they receive pure unpolluted style Heading n attached to the "Outline" (internal name) sequence. Since you have yet no other paragraph pertaining to this sequence, the heading is numbered from 1.

The problem comes from two main causes:

  • Your document was heavily worked upon in Word and has way too much direct-formatting which hides the simple underlying structure. Word tags the text with this direct-formatting and it is innocuous because ...

(more)
edit flag offensive delete link more

Comments

Wanted to mention that one can search for paragraph styles, use "Find All" in F&R dialog, and perform the cleanups and style re-assignment to all the paragraphs at once.

Some numbering styles were used in the document, instead of Chapter Numbering (which is configured partially, to have numbers for levels 2 and later, but not 1); so I'd also clear numbering (F12) when cleared styles, and then re-applying Heading N, with properly configured Chapter Numbering, it would be easier IMO.

Mike Kaganski gravatar imageMike Kaganski ( 2019-08-25 00:59:10 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-08-24 07:55:45 +0200

Seen: 66 times

Last updated: Aug 24