On Tuesday 20 August 2002 4:11 am, Rob Lahaye wrote:
> Angus Leeming wrote:
> > I'm worried however by this
> >
> > +Backward compatibility from 1.2.0 to 1.3.0 is mostly all right.
> > +Compatibility problems arise when (lyx)size_kind is original_size
> > +and also values for (lyx)scale and/or (lyx)width/height are given.
>
> I may think of this a little more, but I believe some backward
> compatibility loss is unavoidable, with all these old keywords
> disappearing. But keep in mind: only odd input will break, e.g. choose
> "Original size", but also have a value there for Scale; The Scale value
> will then be taken, instead of scale=100%. I can't see a solution for this,
> since the scale comes AFTER the Original_size keyword in the previous
> Graphics inset.
>
> Could lyx2lyx help out here?

Maybe, but not supporting old file formats is not an option. 

I don't really see the problem that you allude to anyway. You could always 
store the params in temporary variables when reading them, and then assign 
then to the appropriate scale, width, height etc once you have all the data.

> >>Do we need to push up the Format Id for the graphics inset with this
> >> patch?
> >
> > I think that we can get rid of the Format Id, since the information is
> > inherent in lyxformat. I believe that Baruch created it as a temporary
> > variable when he was first creating the InsetGraphics.
>
> Shall I remove that too, then. But before I do that, we need to be really
> sure that the Format output (per graphics inset) can go. I don't know
> anything about this.

Yes it can go.

> Could you please answer a few of the questions above to help me further.

Have I missed any?

Angus

Reply via email to