Tip of the day: LibreOffice can automatically add a numbered caption when you insert objects. See Tools > Options > LibreOffice Writer > AutoCaption. More details in the help: https://help.libreoffice.org/latest/en-GB/text/shared/optionen/01041100.html