Proof of concept patch for bug 4812.

2008-07-06 Thread Bo Peng
Dear all, Currently, when a LyX document without a proper (system or local) layout file is opened, the default textclass (article) is used. This changes the document and will result in data loss if the document is saved. The attached patch: 1. Adds a default Text "unknown" layout in the construc

eps->ppm conversion with new versions of Imagemagick (antialias problems for screen pictures)

2008-07-06 Thread Pavel Sanda
hi, if there are no comments i would like to commit the following attachment, see bug http://bugzilla.lyx.org/show_bug.cgi?id=4749 pavel diff --git a/lib/scripts/convertDefault.py b/lib/scripts/convertDefault.py index 1806b2e..54e4f21 100644 --- a/lib/scripts/convertDefault.py +++ b/lib/scripts/c

[1.6 bug] LyX's error dialog is broken

2008-07-06 Thread Uwe Stöhr
Since a few days the error dialog is broken. Take for example the attached buggy LyX document and compile it. As expected you get a lot of LaTeX-errors, but when you click on them, the dialog doesn't show the corresponding LaTeX error description and doesn't point to the position of the bug. So

InsetEnvironment removal (was: Re: InsetEnvironment)

2008-07-06 Thread Pavel Sanda
Andre Poenitz wrote: > > what is it good for ? is it inteneded to removal ? > > I guess it's dead. It was planned as some generic > '\begin{foo}...\end{foo}' wrapper about a decade ago... ok removal patch is attached. if there are no comments i will wipe out this stuff from trunk. i didnt added

Re: InsetEnvironment

2008-07-06 Thread Andre Poenitz
On Sun, Jul 06, 2008 at 01:28:43PM +0200, Pavel Sanda wrote: > hi Andre, > > you are written as author of InsetEnvironment stuff. i tried to write > some documentation for LFUN_ENVIRONMENT_INSERT lfun, but as i moved > through the sources i didn't find either this lfun or - more generally > the wh

InsetEnvironment

2008-07-06 Thread Pavel Sanda
hi Andre, you are written as author of InsetEnvironment stuff. i tried to write some documentation for LFUN_ENVIRONMENT_INSERT lfun, but as i moved through the sources i didn't find either this lfun or - more generally the whole environment stuff to be used. comment in FuncCode just states it as

Re: Bug: open a readonly .lyx file without valid layout crashes lyx.

2008-07-06 Thread Andre Poenitz
On Sat, Jul 05, 2008 at 10:24:36PM -0500, Bo Peng wrote: > As subject, backtrace is attached. > > This is a regression because 1.5.x works OK. > > #0 lyx::toqstr ([EMAIL PROTECTED]) > at /usr/include/c++/4.2/bits/basic_string.h:596 > #1 0x084d1eb9 in lyx::frontend::GuiErrorList::select (th

Re: Support request for Japanese without CJK, again (Re: [Fwd: About Japanese edition ...)

2008-07-06 Thread Jürgen Spitzmüller
Tetsuya Makimura wrote: > [A] I propose that the configure.py and lib/scripts/lyxpreview2bitmat.py > scripts read the .lyx/preference and use the the field of '\converter' as > laatex command name. Then 'reconfigure' invoked in LyX can configure LyX > most suitably to the users who needs to change