On Monday 12 April 2004 19:49, Georg Baum wrote:
> Am Montag, 12. April 2004 12:07 schrieb Jose' Matos:
> >   I will fix those.
>
> Fine! In the meantime, I found more. Just in case you did not notice
> already:
>
> - conversion to e.g. format 225 does not work: There is no check if
> the desired format is reached in convert() and revert() in lyx_1_4.py

  I said that in the first message, I will do it now as it is quite 
easy. :-)

> - the chain order is wrong for revert (1_3 1_4 instead of 1_4 1_3)
  Ok.

> > > - Why do you attempt to read the version from the comment line?
> > > This does not work with tex2lyx: For
> >
> >   And also it does not work with reLyX. The fact is that the header
> > carries some information regarding the file format.
> >
> >   Notice that LyX versions 0.12, 1.0.0, 1.0.1, 1.0.4 although
> > saying that the fileformat is 2.15 it is a different 2.15 for each.
>
> This is not nice, but we can't change it;-(

  True, that is why I have those file with an empty content there. Some 
of the conversion functions belong to later files. I need to take some 
time to see which.

> >   It is for this case that I want to read the version. But as you
> > can see in the code the file format is always the definitive guide
> > for the convertion. If the lyx versions doesn't match the file
> > format then forget it.
>
> Now I understand. I think it would be better to suppress the warning
> then. In my case, the real error was something else, but I thought it
> guessed the file format wrong.

  I think that here it makes sense the warning level. This should be 
reported only in the most verbose debug mode, as it is otherwise 
useless. I will have a go today.

> >   Does this makes sense now? What would you like to change in the
> > implementation?
>
> Only this: Suppress the warning if it is irrelevant, i.e. the
> fileformat is not 2.15.

  This will be necessary also for 2.10, but you right I will supress the 
warning if the fileformat is <= 215, that should take care of it.

> Georg

  Thanks for your feedback.
-- 
Jos� Ab�lio

LyX and docbook, a perfect match. :-)

Reply via email to