Handle encoding error with ErrorList.

2007-12-15 Thread Bo Peng
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, IMHO, a major iss

Re: r22155 - in /lyx-devel/trunk/src: EmbeddedFiles.cpp suppo...

2007-12-15 Thread Bo Peng
> URL: http://www.lyx.org/trac/changeset/22155 > Log: > * get rid of lyxlib.h:mkdir() and makedir() > * Introduce FileName::createPath() > * Fix file copying in EmbeddedFile.cpp. Thanks. I am recovering from my work and will try to finish the embedding feature. Bo

Re: [patch] fix bug 4424 - now correctly

2007-12-15 Thread Andre Poenitz
On Sat, Dec 15, 2007 at 07:26:47PM +0100, Uwe Stöhr wrote: > Andre Poenitz schrieb: > >> Erm. Isn't \text AMS only? If so, that might have been the reason for >> using \mbox. > > \text is AMS only. But what that is no problem? The standard is "Use AMS > automatically" and every LaTeX comes with am

Re: [patch] fix bug 4424 - now correctly

2007-12-15 Thread Uwe Stöhr
Andre Poenitz schrieb: Erm. Isn't \text AMS only? If so, that might have been the reason for using \mbox. \text is AMS only. But what that is no problem? The standard is "Use AMS automatically" and every LaTeX comes with amsmath. regards Uwe

Re: [patch] fix bug 4424 - now correctly

2007-12-15 Thread Andre Poenitz
On Sat, Dec 15, 2007 at 04:06:43PM +0100, Uwe Stöhr wrote: > Andre Poenitz schrieb: > >> If you revert it if someone brings up a good reason not to do it this >> would be fine with me. > > The math text mode is \text (not \textrm as I did in my patch). It makes a > difference if you put something

Re: [patch] fix bug 4424 - now correctly

2007-12-15 Thread Uwe Stöhr
Martin Vermeer schrieb: Why not Oe? This is the Oersted (or Ørsted) physical unit, like Å for Ångström. It was corectly connected in stdtoolbars.inc as \O and not as \Oe. \Oe is no LaTeX command. To get Ørsted type in \O{}rsted. \oe produces the œ ligature. regards Uwe

Re: [patch] fix bug 4424 - now correctly

2007-12-15 Thread Martin Vermeer
On Sat, Dec 15, 2007 at 05:12:28PM +0100, Uwe Stöhr wrote: > take this one instead. > > Uwe > Index: development/scons/scons_manifest.py > === > --- development/scons/scons_manifest.py (revision 22159) > +++ development/scons

two new regression bugs

2007-12-15 Thread Uwe Stöhr
We have two new regression bugs: http://bugzilla.lyx.org/show_bug.cgi?id=4430 size of view source window cannot be reduced (must have been introduced recently) http://bugzilla.lyx.org/show_bug.cgi?id=4431 font changes not shown in view source window regards Uwe

Re: [patch] fix bug 4424 - now correctly

2007-12-15 Thread Uwe Stöhr
take this one instead. Uwe Index: development/scons/scons_manifest.py === --- development/scons/scons_manifest.py (revision 22159) +++ development/scons/scons_manifest.py (working copy) @@ -1900,8 +1900,8 @@ surd.png swarro

Re: [patch] fix bug 4424 - now correctly

2007-12-15 Thread Uwe Stöhr
Uwe Stöhr schrieb: So I will correct my patch and also fix the toolbar entry accordingly. Jürgen is this also OK for branch? Here's the patch. regards Uwe Index: development/scons/scons_manifest.py === --- development/scons/scons

Re: [patch] fix bug 4424 - now correctly

2007-12-15 Thread Uwe Stöhr
Andre Poenitz schrieb: If you revert it if someone brings up a good reason not to do it this would be fine with me. The math text mode is \text (not \textrm as I did in my patch). It makes a difference if you put something in a box or only change it's font. The LaTeX companion 2nd edition s

Re: [patch] fix bug 4424

2007-12-15 Thread Andre Poenitz
On Sat, Dec 15, 2007 at 01:52:35PM +0100, Uwe Stöhr wrote: > Andre Poenitz schrieb: > >>> André, what was the reason that mbox instead of \textrm was used? >> I don't remember. > > So can I commit? If you revert it if someone brings up a good reason not to do it this would be fine with me. Andre'

Re: [patch] fix bug 4424

2007-12-15 Thread Uwe Stöhr
Andre Poenitz schrieb: André, what was the reason that mbox instead of \textrm was used? I don't remember. So can I commit? regards Uwe

Re: [patch] fix bug 4424

2007-12-15 Thread Andre Poenitz
On Sat, Dec 15, 2007 at 12:26:43AM +0100, Uwe Stöhr wrote: > The attached patch fixes bug 4424 > http://bugzilla.lyx.org/show_bug.cgi?id=4424 > > André, what was the reason that mbox instead of \textrm was used? I don't remember. Andre'

Re: [Cvslog] r22149 - in /lyx-devel/trunk/src: Buffer.cpp Mover.cpp in...

2007-12-15 Thread Andre Poenitz
On Fri, Dec 14, 2007 at 11:17:35PM +0100, Abdelrazak Younes wrote: > But I see that the check for existence is already there in > FileName::removeFile() (you introduced it right?). Trying to remove a file > that does not exist seems like a waste of time to me. I would bet that whatever system fu

Re: [Cvslog] r22137 - in /lyx-devel/trunk/src: FuncRequest.cpp factory...

2007-12-15 Thread Andre Poenitz
On Fri, Dec 14, 2007 at 08:54:39AM +0100, Peter Kümmel wrote: > Jean-Marc Lasgouttes wrote: >> [EMAIL PROTECTED] writes: >>> Author: kuemmel >>> Date: Thu Dec 13 22:57:37 2007 >>> New Revision: 22137 >>> >>> URL: http://www.lyx.org/trac/changeset/22137 >>> Log: >>> cmake/merge: fix compile, this sp

Re: new regression bug: LyX cannot create temporary directory

2007-12-15 Thread Abdelrazak Younes
Uwe Stöhr wrote: Uwe Stöhr schrieb: With todays SVN build, LyX cannot create anymore the temp dir for opened documents: I forgot to say that when I just open LyX I always get this console message (since a few days): D:\LyXSVN\lyx-devel\src\support\mkdir.cpp(40): MKDIRC:/Documents and Sett

Re: guess who's coming to the next lyx meeting

2007-12-15 Thread Edwin Leuven
Martin Vermeer wrote: On Fri, Dec 14, 2007 at 07:04:12PM +0100, Edwin Leuven wrote: http://www.economists.nl/omslag702.jpg What do we do with a spoiled brat like her? Bet she can't even code. i am sure she has a lot of nerdy friends. ellelyx is a great initiative to attract more female dev

Re: [Cvslog] r22155 - in /lyx-devel/trunk/src: EmbeddedFiles.cpp suppo...

2007-12-15 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Fri, Dec 14, 2007 at 10:43:39PM -, [EMAIL PROTECTED] wrote: Author: younes Date: Fri Dec 14 23:43:39 2007 New Revision: 22155 URL: http://www.lyx.org/trac/changeset/22155 Log: * get rid of lyxlib.h:mkdir() and makedir() * Introduce FileName::createPath() * Fix f