Adding Chapter Numbers to Image Captions in individual writer documents when using Master Documents [closed]

I have a master Document and the individual Writer documents where i write each chapter. I want to every chapter (different writer document) each figure i add in a chapter to be displayed as "Figure 2.1: blabla","figure 2.2: blublu" (example for Document which contains Chapter 2). In other words i want each Writer document to be written and captioned independently but the caption in different chapters/Documents to have predefined chapter numbering. I have inserted every chapter i wrote so far in the master document and all Writer files including the master document are made from the same template.

Is what i want currently possible? Because despite reading Writer guide i failed to spot the right configuration.

edit retag reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp close date 2020-09-16 12:50:26.460878

Sort by » oldest newest most voted

The chapter number can be automatically provided by customised settings of the caption when it is created.

• Once you have inserted your figure (or after you have selected it), open the caption dialog Insert->Caption....

• Fill-in the required data, i.e. caption, category, numbering style, ...

• Click on the Options button.

• Select the "depth" of numbering (1 for chapter number only, 2 for chapter and section, etc.) and eventually the character style if you want the reference in a different appearance from the rest of the caption

• Click OK for both dialogs

Remember that the chapter number is inserted only if your chapters have an effective numbering.

Using a master document and (included) sub-documents does not change the procedure.

If this solves your question, please accept it with a click on the check box at left. Also, close your question for community benefit. If the answer has some value for you, upvote it, karma permitting.

more

Add that in Tools - Outline numbering, numbering levels must be linked to heading styles and numbering must be enabled or it won't work.

( 2016-12-07 08:44:23 +0200 )edit

"Remember that the chapter number is inserted only if your chapters have an effective numbering." that is the reason i could not make it happen, i did not know the importance of numbering chapters and also how to do that.

floris v comment saved me!!!

thank you both...

( 2016-12-07 17:32:29 +0200 )edit