Re: [ANNOUNCE] LyX 1.5.3 is released

2007-12-17 Thread Andreas K .
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > > Andreas K. wrote: > > Wow! You released the 1.5.3 version one whole year before the other > > platforms: ftp://ftp.lyx.org/pub/lyx/bin/1.5.3/ > > I beg your pardon? > > Jürgen > > Well, when I looked at that page yesterday it said that the c

[patch] fix LFUN_MARK_ON (bug 2913)

2007-12-17 Thread Jürgen Spitzmüller
http://bugzilla.lyx.org/show_bug.cgi?id=2913 "mark-on" is broken since 1.4.0. The attached patch revives it. I'm committing to trunk. Please test it out. If it doesn't entail problems, I'm gonna commit to branch as well. Jürgen Index: src/Text.cpp ===

[announce] LyXWinInstaller for LyX 1.5.3

2007-12-17 Thread Uwe Stöhr
Hello LyXers, I uploaded the new version 3.21 of the LyXWinInstaller. Like the last version an update installer is provided. With this you can easily update your LyX 1.5.2 installation to LyX 1.5.3: Log in as adminstrator on your PC and execute the update installer. Note: The update installer

Re: [PATCH] Use ErrorList to handle encoding error.

2007-12-17 Thread Bo Peng
> The traditional solution to such > problems was to use the OutputParams struct and to add there whatever > variable is necessary. Is it really unfeasible here? I never though of that because OutputParams (such as nice, linelen) is used to control how output is generated, not to collect errors. O

Re: [PATCH] Use ErrorList to handle encoding error.

2007-12-17 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: > Dear all, > > Using a trick that add par_id and pos information during the handling > of encoding_exception, I came up with a much simpler patch. Basically, This patch is welcome, since not knowing what character has a problem is really annoying. I am not s

Re: [PATCH] Use ErrorList to handle encoding error.

2007-12-17 Thread Bo Peng
> > 'EncodingException' please. I followed the name iconv_codecvt_facet_exception, but I will change to EncodingException. Bo

Re: [PATCH] Use ErrorList to handle encoding error.

2007-12-17 Thread Andre Poenitz
On Tue, Dec 18, 2007 at 01:21:22PM +1800, Bo Peng wrote: > Dear all, > > Using a trick that add par_id and pos information during the handling > of encoding_exception, I came up with a much simpler patch. Basically, > > 1. Define an exception with all needed information. > +class encoding_excepti

Re: [PATCH] Use ErrorList to handle encoding error.

2007-12-17 Thread Jürgen Spitzmüller
Bo Peng wrote: > The patch is for 1.5.4, please test. I will commit after a few days of > using it. For branch, I'd like to hear some opinions on the patch first (although I agree on the overall direction). BTW, this is bug 3511: http://bugzilla.lyx.org/show_bug.cgi?id=3511 Jürgen

[PATCH] Use ErrorList to handle encoding error.

2007-12-17 Thread Bo Peng
Dear all, Using a trick that add par_id and pos information during the handling of encoding_exception, I came up with a much simpler patch. Basically, 1. Define an exception with all needed information. +class encoding_exception : public std::exception { +public: + encoding_exception(char_t

Re: languages

2007-12-17 Thread Predrag Rakic
Thanks, Predrag Uwe Stöhr wrote: Predrag Rakic schrieb: Default Serbian alphabet is cyrillic. It is associated with locale code sr_RS and iso8859-5 char map. Also, there is latin Serbian alphabet. It is associated with locale code [EMAIL PROTECTED] and iso8859-2 char map. I committed the

Re: [patch] bug 4408: Aspell doesn't consider lyxrc.isp_accept_compound

2007-12-17 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Looks like a good idea. I'll commit then. Jürgen

Re: [patch] bug 4408: Aspell doesn't consider lyxrc.isp_accept_compound

2007-12-17 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > http://bugzilla.lyx.org/show_bug.cgi?id=4408 > > The "accept compound words" option in Prefs currently only affects ispell. > The > attached patch implements it in aspell as well. Looks like a good idea. JMarc

[patch] bug 4408: Aspell doesn't consider lyxrc.isp_accept_compound

2007-12-17 Thread Jürgen Spitzmüller
http://bugzilla.lyx.org/show_bug.cgi?id=4408 The "accept compound words" option in Prefs currently only affects ispell. The attached patch implements it in aspell as well. I commit to branch and trunk if I don't get objections. Jürgen P.S.: in trunk, the spellchecker is broken again. Index: sr

Re: [ANNOUNCE] LyX 1.5.3 is released

2007-12-17 Thread Jürgen Spitzmüller
Andreas K. wrote: > Wow! You released the 1.5.3 version one whole year before the other > platforms: ftp://ftp.lyx.org/pub/lyx/bin/1.5.3/ I beg your pardon? Jürgen

Re: [ANNOUNCE] LyX 1.5.3 is released

2007-12-17 Thread Jürgen Spitzmüller
Enrico Forestieri wrote: > Congrats. Here is a Cygwin binary: > http://www.lyx.org/~forenr/lyx-1.5.3-cygwin.tar.gz Thanks. It's on the server now. Jürgen

Re: [ANNOUNCE] LyX 1.5.3 is released

2007-12-17 Thread Andreas K .
Enrico Forestieri <[EMAIL PROTECTED]> writes: > > On Sun, Dec 16, 2007 at 07:18:44PM +0100, Jürgen Spitzmüller wrote: > > > Public release of LyX version 1.5.3 > > > > Congrats. Here is a Cygwin binary: > http://www.lyx.org/~forenr/lyx-1.5.3-cygwin.tar.gz >

Re: [ANNOUNCE] LyX 1.5.3 is released

2007-12-17 Thread Enrico Forestieri
On Sun, Dec 16, 2007 at 07:18:44PM +0100, Jürgen Spitzmüller wrote: > Public release of LyX version 1.5.3 > Congrats. Here is a Cygwin binary: http://www.lyx.org/~forenr/lyx-1.5.3-cygwin.tar.gz -- Enrico

Re: Preview tikz figure... and selected text?

2007-12-17 Thread Hans Meine
Am Montag, 17. Dezember 2007 06:47:34 schrieb Bo Peng: > It is difficult to write tikz figures for beamer slides because it is > easy to make grammar mistakes, and it is difficult to preview the > figure. I am writing such figures in separate, \input'ed .tikz files that I preview externally (see

Re: System call problem?

2007-12-17 Thread Enrico Forestieri
On Mon, Dec 17, 2007 at 11:33:43AM +0100, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > On Mon, Dec 17, 2007 at 08:51:48AM +0100, Abdelrazak Younes wrote: > > > >> Edwin Leuven wrote: > >>> Enrico Forestieri wrote: > As I already said, you should complain with Microsoft because tha

Re: System call problem?

2007-12-17 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Mon, Dec 17, 2007 at 08:51:48AM +0100, Abdelrazak Younes wrote: Edwin Leuven wrote: Enrico Forestieri wrote: As I already said, you should complain with Microsoft because that is a cmd.exe bug ;-) i know, and i am always more than happy to blame microsoft ;-) but i

Re: [Cvslog] r22148 - in /lyx-devel/trunk/src: Mover.cpp insets/InsetB...

2007-12-17 Thread Enrico Forestieri
On Mon, Dec 17, 2007 at 09:16:21AM +0100, Abdelrazak Younes wrote: > Stephan Witt wrote: > > Abdelrazak Younes schrieb: > >> Enrico Forestieri wrote: > >>> On Fri, Dec 14, 2007 at 03:32:40PM -, > >>> [EMAIL PROTECTED] wrote: > >>> > Author: younes > Date: Fri Dec 14 16:32:37 2007 >

Re: System call problem?

2007-12-17 Thread Enrico Forestieri
On Mon, Dec 17, 2007 at 08:51:48AM +0100, Abdelrazak Younes wrote: > Edwin Leuven wrote: > > Enrico Forestieri wrote: > >> As I already said, you should complain with Microsoft because that > >> is a cmd.exe bug ;-) > > > > i know, and i am always more than happy to blame microsoft ;-) but i was

Re: [tentative patch 1.5] towards a working CJK implementation

2007-12-17 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Yes, do it now. OK. > BTW, is there a reason why the first Encoding in switchEncoding is not > taken to be always *runparams.emcoding? It looks strange to always > pass the same argument (now that runparams is passed as parameter). Good idea, I simply missed this. I

Re: Handle encoding error with ErrorList.

2007-12-17 Thread Abdelrazak Younes
Bo Peng wrote: Dear all, When some encoding error happens, it is extremely difficult to locate the offending character. LyX gives an error message "Some characters of your document are probably not representable in the chosen encoding." with no hint of which and where the character is. This is,

Re: [tentative patch 1.5] towards a working CJK implementation

2007-12-17 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > Now that 1.5.3 is out, I'd like to put the CJK fixes in branch (see attached > patch for the recent version). Yes, do it now. BTW, is there a reason why the first Encoding in switchEncoding is not taken to be always *runparams.emcoding? It looks

Re: [tentative patch 1.5] towards a working CJK implementation

2007-12-17 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Jean-Marc Lasgouttes wrote: An alternative plan is to release 1.5.3 without any CJK-fixes and make a quick 1.5.4 mainly with CJK fixes afterwards, after this has been more thoroughly tested. Opinions? I'd vote for this alternative plan personally. 1.5.3 has a lot of b

Re: [tentative patch 1.5] towards a working CJK implementation

2007-12-17 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > >> An alternative plan is to release 1.5.3 without any CJK-fixes and > >> make a quick 1.5.4 mainly with CJK fixes afterwards, after this has > >> been more thoroughly tested. > >> > >> Opinions? > > > > I'd vote for this alternative plan personally. 1.5.3 has a lot of

Re: [Cvslog] r22148 - in /lyx-devel/trunk/src: Mover.cpp insets/InsetB...

2007-12-17 Thread Abdelrazak Younes
Stephan Witt wrote: Abdelrazak Younes schrieb: Enrico Forestieri wrote: On Fri, Dec 14, 2007 at 03:32:40PM -, [EMAIL PROTECTED] wrote: Author: younes Date: Fri Dec 14 16:32:37 2007 New Revision: 22148 URL: http://www.lyx.org/trac/changeset/22148 Log: The original support::copy() was ove

Re: System call problem?

2007-12-17 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: This fix is applicable to branch Juergen. Is there a specific reason why you removed the p.length() > 1 condition from the DOS style? I didn't remove it, I just return early for the negative condition: +if (p.length() <= 1) +re

Re: System call problem?

2007-12-17 Thread Jürgen Spitzmüller
Also sprach Jürgen Spitzmüller: > Is there a specific reason why you removed the p.length() > 1 condition > from the DOS style? Sorry. I'm beginnig to wake up now. Jürgen

Re: System call problem?

2007-12-17 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > This fix is applicable to branch Juergen. Is there a specific reason why you removed the p.length() > 1 condition from the DOS style? Jürgen

Re: [Cvslog] r22148 - in /lyx-devel/trunk/src: Mover.cpp insets/InsetB...

2007-12-17 Thread Stephan Witt
Abdelrazak Younes schrieb: Enrico Forestieri wrote: On Fri, Dec 14, 2007 at 03:32:40PM -, [EMAIL PROTECTED] wrote: Author: younes Date: Fri Dec 14 16:32:37 2007 New Revision: 22148 URL: http://www.lyx.org/trac/changeset/22148 Log: The original support::copy() was overwriting the target fi