> > Actually, I have thought some more about it, and I think it is a
> > fileformat
>
> > change.
> > As mentioned yesterday, we simply change the output of files that use
> the > nomencl.cfg file for setting the width.
>
> Why should anybody have changed the nomencl.cfg file? One need admin
> pe
Uwe Stöhr wrote:
> This patch can also go to LyX 1.6.4 since it is no fileformat change (and
> because I need this for my thesis ;-) ). Attached is furthermore a small
> LyX testfile to show that and how our solution works.
Actually, I have thought some more about it, and I think it is a fileform
> Well, you have added a Buffer option to latex().
Because I needed the buffer for nomenclWidest. I wasn't aware that buffer() can
always be called
> This cannot work, since InsetCommand::latex() has no such option.
That's why I miss documentation how InsetCommand works.
> the nomenclWidest
>
uwestoehr wrote:
> Yes, see the attached patch.
Well, you have added a Buffer option to latex(). This cannot work, since
InsetCommand::latex() has no such option.
Try the attached patch. I have also fixed some other things (the nomenclWidest
only considered the first inset in a paragraph. This
>> > 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?
Yes, see the attached patch.
regard
> > 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 nee
>> The only problem that remains is that I don't know where to call
>> InsetPrintNomencl::latex
>> so that this code appears in the LaTeX output before the command
>> \printnomenclature.
>>
>> I thought I could do the same as for
>> InsetPrintIndex::latex
>> but I can't find out where this routine
Uwe Stöhr wrote:
> Attached is a patch that calculates the nomenclature width automatically
> and exactly.
>
> The only problem that remains is that I don't know where to call
> InsetPrintNomencl::latex
> so that this code appears in the LaTeX output before the command
> \printnomenclature.
>
> I t
Attached is a patch that calculates the nomenclature width automatically and
exactly.
The only problem that remains is that I don't know where to call
InsetPrintNomencl::latex
so that this code appears in the LaTeX output before the command
\printnomenclature.
I thought I could do the same as f