> the conversion 1.5 -> 1.6 doesn't work wrt hyperref and it will be almost
> impossible to get it right, which was one of the three reasons i objected the
> whole idea of 1.6 -> 1.5 conversion. any user of 1.6 pdfsupport who will
exchange
> docs between 1.6 and 1.5 is bound to encounter strange bugs because of this.
I don't agree. The conversion of LyX 1.6 to 1.5 works correct, you can test it e.g. by using our doc
umentation file. The opposite direction also works, as then nothing is done, LyX 1.6 will still use
the preamble commands. So exchanging is possible and I successfully work with that at work for
testing purposes.
> i finally didn't commit because i think the proposed lyx2lyx routines
> are currently wrong. it will need more care if we want the data-saving
version.
>
> for example convert_backref_options doesn't care about the case \pdf_backref
> true which is now to be translated as section, moreover it can coincide with
already
> passed \pdf_backref page.
For reverting: We don't have the case that \pdf_backref is "true". We only have "section", slides",
and "page". The page option is correctly reverted, the others can't as the "backref=true" that we
use currently is an invalid option. But you can see that these cases are not lost but will appear
correctly in the preamble of LyX 1.5 files. I tested this out.
For converting you are right, I missed to convert backref=true to backref=section. So please commit
the patch you attached and I'll add the 3 needed lyx2lyx lines for that.
thanks and regards
Uwe