On Monday 28 July 2003 09:23, Juergen wrote: > Oliver wrote: > > I upgraded from 1.1.6fix4 to 1.3.2 and I have the following problem with > > my existing lyx files: > > In a figure float the space between the figure and the caption has > > increased in the dvi/ps output. After some experiments I identified the > > change from \centering ... \par > > to > > \begin{center} ... \end{center} > > as the problem. > > I have many lyx files, some of which are very large with dozens of > > figures, and this problem prevents me from upgrading. All documents would > > get a new layout. > > > > Are you aware of this problem? > > Yes. I don't know why this has been changed (I guess because for standard > paragraphs the logical markup of the environment is better), but I'd > strongly agree that this is wrong for float contents. I have already > proposed a fix, but the core developers are currently in Chemnitz drinking > beer and mixing up the code, so there has not been any discussion on this > yet. Thanks for your clarification. So there is no need to file a bug report, right? I hope this will be corrected or at least made configurable.
> > Is there any way to revert manually to the > > old centering, say as an option or with a parameter? > > I don't think so. Perhaps a clever script would do? A script could only work on an exported .tex file. But then one would have to do latex, divps etc. manually (not to speak of bibtex, makeindex ...). Not very comfortable and contradicting a bit the point of lyx. > > Another thing: > > The default behaviour of the latex geometry package changed between > > version 2.x and 3.x. This has also an effect on lyx if you choose custom > > margins. However, using \usepackage[compat2]{geometry} falls back to the > > old behaviour and one can do this by hand in the preamble. > > You can also add compat2 to Layout->Document->Extra Options. OK, I try that. Thanks Cheers, Oliver