On Sun, Mar 11, 2001 at 09:45:04PM +0200, mobo wrote: > I'm using 1.1.6fix1. I migrated from 1.1.5fix2 because lyx had a tendency > of crashing when I opened specific math-heavy documents. It still does it, > starting at some random late hour and continues, untill I remove the > .lyx-directory and have lyx rebuild it (!?). It's very odd. How often does LyX crash ? We are currently doing some cleanup of the math editor, which will hopefully fix your problem. > Bug (not feature): I've started to insert files. And I couldn't make it > work, because the document class of the inserted file was not the same as > the master-file. When I did a Show-dvi, the included file wasn't shown - I > had no errors or anything, it just didn't show the included file. I tried > with both "use include" and "use input" options and the result was the same. While in some cases it is impossible to include one class in another (for example include a slide file in a book), some cases are possible and might be useful: for example, one can write several papers using the article class, and then write a thesis using the book class and include the papers into the thesis (using some ERT to remove some parts of the included files). Therefore, I think that LyX should allow including files with different class. The fix is very simple (see the patch). > Math panel (cosmetic): It was a good idea to make the mathpanle > alway-on-top. The size of the math panel may be changed, but result is ugly. > If it had a switch which made it either tall-and-slim or wide-and-low, it > would be preferable - for me at least. I think than the plan for the future is to replace the math panel by a second row of buttons in the toolbar. > Multiple level of included files: I get an error when I try to include files which already have file included. Is that a latex-error or lyx? This is a problem in LyX. I've created a fix for this problem some time ago, but I've lost it :(. I'll recreate it soon. You can currently disable the use of the temporary dir (open the preferences dialog, and go to the inputs->paths tab). > Crossreferences between files: In "extended features" you have an approach for crossreferencing between files, but it doesn't work for 1.1.6, because you close file-specific windows whenever you change file. SO how is the approach now? Suppose that your files are master.lyx, chap1.lyx, chap2.lyx, and you want to insert a label from chap2.lyx to chap1.lyx. You have two options: 1.Open master.lyx, open the insert reference dialog, and return to chap1.lyx. Now, whenever you open the insert reference dialog in chap1.lyx, you will get a list of all labels in all the files. 2. Type M-x reference-insert ref|++||++|<label> where <label> is the required label.
Index: insets/insetinclude.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insetinclude.C,v retrieving revision 1.49 diff -u -p -r1.49 insetinclude.C --- insets/insetinclude.C 2001/02/12 14:09:09 1.49 +++ insets/insetinclude.C 2001/03/13 13:30:19 @@ -166,14 +166,14 @@ int InsetInclude::Latex(Buffer const * b Buffer * tmp = bufferlist.getBuffer(getFileName()); if (tmp->params.textclass != buffer->params.textclass) { - lyxerr << "ERROR: Cannot handle include file `" + lyxerr << "WARNING: Included file `" << MakeDisplayPath(getFileName()) - << "' which has textclass `" + << "' has textclass `" << textclasslist.NameOfClass(tmp->params.textclass) - << "' instead of `" + << "' while parent file has textclass `" << textclasslist.NameOfClass(buffer->params.textclass) << "'." << endl; - return 0; + //return 0; } // write it to a file (so far the complete file)