> > InsetPrintNomencl is an InsetCommand. So if latex is not implemented in > > > InsetPrintNomencl itself, InsetCommand::latex is called > > But latex is implemented in InsetPrintNomencl but it is still not called.
Did you change the function to an int? > > If I got you right, you probably need to do something like > > Yes, but the problem is that this latex routine is still never called. > > > However, why do you reset \nomlabelwidth? > > Because this is the only solution. The optional argument of > \printnomenclature is a width, but only LaTeX knows the width of the widest > used symbol, because only LateX knows the font metrics of the used output > font, the fontsize, shape, etc.. I see. Jürgen