Am 26.09.2010 16:40, schrieb Richard Heck:

I'd just leave this where it was....
and do the comparison here as: runparams.flavor == OutputParams::LATEX. This is 
cheaper and will
still be correct if e.g. I were to change the name of the format. Or to change 
how addExternalFile
handles formats (which I've long been tempted to do).

A little comment in the header here about what these do and why there are two 
of them would be good.
I have done this and put it in: http://www.lyx.org/trac/changeset/35514

thanks and regards
Uwe

Reply via email to