Georg Baum wrote: > > I just blindly copied what was there for other on-off packages, because > > I have little clue what tex2lyx code does and zero comments in critical > > sections does not help. I know it's not your fault ;) > > Actually the other packages are not on-off, they are off-auto-on. This is > needed for all packages automatically loaded by math commands. It is not > needed for microtype, since ther is no automatism.
Oh, I see, so "2" is actually value for tri-state variable on-off-auto, correct? > The minimum thing you need to do is to write the format corresponding to > LYX_FORMAT_TEX2LYX (see attached). The actual recognition of a loaded > microtype package can be done later (this is the reason why you need a TODO > entry). Sure, I can do that. Pavel