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.

That is what I was expecting with alpha1-1 exporting to 2.2.x but there, export of even the simplest master document to 2.2.x format produces errors. This feels like a significant regression.

Andrew

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Reply via email to