A happy new year to everybody!
Am Donnerstag, 30. Dezember 2004 22:04 schrieb Juergen Spitzmueller:
> Valid point, but AFAIR LyX itself used to write nothing in those cases.
>
> insetexternal has
>
> if (!float_equal(resizedata.scale, 0.0, 0.05)) {
> if (!float_equal(resizedata.scale, 100.0, 0.05))
> os << "\tscale "
> << resizedata.scale << '\n';
>
> From the other side, LyX sets rotate to "0" when it does not find a
scale
> value in the lyx file. I do not think that any program writes an
explicit
> zero scale value to a lyx file (but who knows?).
Since lyx did never write an explicit zero value before, we can say "this
is not allowed".
> So the new method only returns something different when the user enters
some
> value like "0.03" or an explicit "0.0" in the actual session. I see that
the
> latter might cause problems, but no serious ones (an unnecessary
> \scalebox{0.0} will be exported, but the output looks the same). Do you
think
> we should care about users who insert "0.0" (no rhetoric question)?
IMHO yes. I see that you did it in your last patch, and that one is fine
with me.
Georg