On Tue, May 16, 2017 at 06:12:55PM +1200, Andrew Parsloe wrote: > On 16/05/2017 1:04 p.m., Richard Heck wrote: > > On 05/15/2017 06:34 PM, Andrew Parsloe wrote: > > > (alpha1-1, windows 7) > > > > > > When I try exporting a simple master document to LyX 2.2.2 I get an > > > error message saying lyx2lyx failed to convert it. Clicking the > > > message away, the document does open but doesn't compile. (Message: > > > Could not load included file ...) > > > > I do not think we have ever handled this situation simply. You need to > > export both the master and the child, separately, and then change the > > included file name in the master, since the exported child is now called > > TestChild.22.lyx. > > > > It would presumably be possible to try to deal with this, probably in > > lyx2lyx itself. > > > > Richard > > > My post was prompted by comparison with what happens in 2.2.3 (just upgraded > from 2.2.2, thank you) when exporting to 2.1.x format. > > I have a complex document, perhaps 150 pages, a master & 3 child documents, > masses of equations, a wealth of figures, a plethora of cross-references to > both, footnotes, and even mini-tocs (with the minitoc package) for each > chapter. I exported the master from 2.2.x format to 2.1.x format. Note: I > didn't separately export the child documents as you suggest. The master > opened in 2.1.5. The inclusion statements in master display in LyX 2.1.5 as > "Include: child.lyx" rather than "Include: child.21.lyx" yet the master > compiles to a pdf which appears correct as far as I can see from a quick > scan.
I think the only reason this worked with 2.1.5 is that 2.1.5 can read the 2.2.x format (since it was released after 2.2.0). If you opened with 2.1.4, I think you would get an error. Does that explain things or do you still think there was a regression? Scott
signature.asc
Description: PGP signature