Version: 25.2.7.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 2; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-US (en_US.utf8); UI: en-US
25.2.7-4
Calc: threaded
Working with .ott and a series of derivative .odt. Style-based writing however mainly paragraph and character, page styles. Other categories of styles rather avoided due to their proprietary nature.
Recently I added custom caption category. I handled for achieving this goal in Menu Insert > Fields > More Fields… > the tab Variables. In Frame Type the “Number Range” selected, then in field Name the name of new caption category typed. Closing dialog. Inserting a field of this category to template document. Then going to one .odt, reloading it. Unfortunately the new variable is not listed in frame Select.
Tried to use Writer Guide, and LO-Help for support but no success on finding hints.
What works very well so far is the use of Figure captions using the Writer-stock variable Figure. I am still in the phase of placing captions in content flow of document. One day in future I will want to add index of these captions to document, like a number of other indices (e.g. figures). Any hints.
I believe to had already used custom captions in the past however nowadays no luck on finding help material how to proceed.
EDIT
I practice manual creation of captions (based of one recommendation got from @ajlittoz once in the past). Procedure looks like this. Create a paragraph below document content element to be captioned, type the string according to caption line pattern (caption header, caption number, caption body). Use field of custom variable for caption numbering (see this question objectives).