Le 18/07/2016 à 23:54, Richard Heck a écrit :
I would propose this.

Seems reasonable.

So shall I commit? What did your earlier patch do?

I do have some general questions about the way labelfont_ is set in
InsetArgument. It seems to get reset (along with a lot of other
private variables) every time we go through updateBuffer. It really
only needs to be reset when the DocumentClass changes, since all of
these really depend upon the layout. I guess it also needs to be
reset if the inset is copied, since passthru_, e.g., depends upon
the containing paragraph. So I'm thinking that maybe if I cached a
pointer to the DocumentClass, and also the value of *this*, I could
check those each time through and see if they had changed. If not, do
nothing. If so, redo everything.

Yes, we can probably keep a pointer to the latexarg object
[ (*lait).second ].

JMarc

Reply via email to