When I create an new master document (ODM) out of a normal template (OTT) with LibreOffice 220.127.116.11 (same issue with 18.104.22.168), I have the following problem with this master.
I create sub documents with chapter numbers and merge them into the master document. In the master document the numbering gets lost.
This behaviour occurs only with newly generated masters. Masters, which are created in older versions of LibreOffice or the current version of OpenOffice, keep the numbering when I use LibreOffice 22.214.171.124 to merge sub documents into them.
You are probably going to have to provide a working example that can be used to illustrate the problem. To be clear, are the ODTs also based on the same OTT? Also, how are the chapter numbers set: a) Outline Numbering; b) linking the Heading N style with a Numbering N style; c) defining numbering for a heading (via toolbar)?
Created attachment 81369 [details]
Howto of creation of master document and numbering
In this document I describe my steps of creating the master document and the numbering.
Created attachment 81370 [details]
Master document, where the bug appears
This is the master document, where the numbering of the sub document does not appear.
Created attachment 81371 [details]
Sub document, which is inserted into master document
This is the sub document, which heading numbering does not appear in the master document.
Please have a look at my attachments. I made a "howto" to reproduce the bug. The documents master.odm and sub.odt are the docmuents, I worked with.
Sorry I have taken so long to respond. For some reason I did not see the updates provided back in June 2013. Thank you for providing them. The problem appears to be a workflow / method issue stemming from the use of direct formatting and lack of a template. I do not create master documents in the manner described in the attachment to comment #2. The following method works for me and has done since at least v3.5.
1. Start Writer.
2. Tools > Outline Numbering > select Level 1-10; Number 1,2,3; Separator After full stop (.) > click OK. If outline numbering is required against headings, use this facility rather than any sort of list-related styling.
3. Save this document as a template (the method for doing this has changed across versions, but in the v4.x series is currently File > Save as Template...). All documents (master + sub) should be based on this template.
4. Open a new document based on the newly created template.
5. Press ENTER to create a new carriage return (i.e., some content). I am not sure why direct formatting is used to select the Heading style in step #1 of the provided instructions. If this is important the Heading style can be applied if necessary via the Styles and Formatting panel at this point.
6. File > Send > Create Master Document > enter file name and click Save.
7. Open a second new document based on the newly created template.
8. Enter "Heading 1" and assign this text the Heading 1 style; press ENTER; enter "Heading 2" and assign the text the Heading 2 style. There should be two lines of text, the first reading "1. Heading 1" and the second reading "1.1. Heading 2"; save this document as the sub-document.
9. Swap back the master document; in the Navigator select Insert > File > select the sub-document > click Open.
10. Headings are inserted with numbering.
That is essentially the method outlined in chapter 13 of the Writer Guide v4.0. Refer in particular "Styles in master documents and subdocuments" (p.366) and "Combining several documents into a master document" (p.368).
Closing as comment 6 describes what the user was seeing and how to resolve it by following the LibreOffice writer guide.
Closing as NOTABUG
@Christian - if following the guidelines provided by Owen does not work for you set this back to unconfirmed. Thanks