+
+ Language const * lang = it.paragraph().getParLanguage(bp);
+ InsetLayout const & il = getLayout();
+ docstring const & count = il.counter();
+ custom_label_ = translateIfPossible(il.labelstring());
+ if (cnts.hasCounter(count))
+ cnts.step(count, utype);
+ custom_label_ += ' ' + cnts.theCounter(count, lang->code());
+ setLabel(custom_label_);
+
+ InsetCollapsible::updateBuffer(it, utype);
+ if (utype == OutputUpdate)
+ cnts.restoreLastCounter();