------- Start of forwarded message ------- Message-ID: <[EMAIL PROTECTED]> Date: Wed, 23 Feb 2000 17:11:33 +0200 From: Staffan Ringbom <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Inconvenient error in Mathed -> core dump Hello, If I am sending this message to wrong person, could you kindly forward this message to somebody hacking the matheditor in LyX. I've got yesterday and today core dumps with LyX-1.1.4. on lyx-files. I can write and save a file nicely. It also views nicely with xdvi. However, when i start working again and try to read the file again i get a core dump. Yesterday the problem occured in a multiline equation. Not very much different from textediting a GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux". (gdb) run Starting program: No executable file specified. Use the "file" or "exec-file" command. (gdb) file lyx Reading symbols from lyx...done. (gdb) run Starting program: /home/ringbom/tmp/lyx-1.1.4/src/lyx Failed to share colors. Using private colormap Math parse error: unexpected '_' Program received signal SIGSEGV, Segmentation fault. LexGetArg (lf=123 '{', accept_spaces=false) at math_parser.C:167 167 } while (bcnt > 0 && yyis->good()); (gdb) Quit ----------------- Comment: It would be nice to copy latex code directly into the matheditor from a buffer outside the one in math-mode. Is there any possibilities to yank text from the textside buffer , into the matheditor. It would speed up the corrections of some problems. Best, Staffan Ringbom P.S. The awkward thing is that it is pretty easy to track the errors with latex, but I forgot one of the most useful rules. I.e. Always save your file as *tex before exiting the program. (Have foud the xtem shell extreamly useful for tracking errors and polishing latex files and tracking pequliar errors in the lyxfiles) ------- End of forwarded message -------