Re: [PATCH] Subversion support

2005-06-08 Thread Baruch Even
More comments integrated. escaping stolen from PHP4, And done without ' or ". Someone should test this under Windows, I don't think it really works there, but I can't test. Baruch Baruch Even wrote: > Baruch Even wrote: > >>p.s. I'm not subscribed, please CC me on correspondence. Thanks! > >

Re: [PATCH] reduce drastically number of calls to LyXText::getFont

2005-06-08 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> Is the logic in this loop correct? Wont the start positon always | Lars> just be one smaller than the end pos? > | I believe it is correct. It is the logic of the fonttable t

Re: [PATCH] Subversion support

2005-06-08 Thread Lars Gullik Bjønnes
Baruch Even <[EMAIL PROTECTED]> writes: | +void SVN::scanMaster(void) | +{ | + cmd_ret const ret = RunSVNInfo(file_); | + string buffer = ret.second; | + string head; | + bool found = false; | + | + while (buffer.length() > 0) { while (!buffer.empty()) { is better. | +void S

Re: [PATCH] Subversion support

2005-06-08 Thread Lars Gullik Bjønnes
Baruch Even <[EMAIL PROTECTED]> writes: | Baruch Even wrote: >> p.s. I'm not subscribed, please CC me on correspondence. Thanks! > | Either the mail was eaten by the mail-server or I was ignored. gmane | sucks since I can't get it to send the e-mail to my favourite e-mail | program of the day. He

Re: [PATCH] reduce drastically number of calls to LyXText::getFont

2005-06-08 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Is the logic in this loop correct? Wont the start positon always Lars> just be one smaller than the end pos? I believe it is correct. It is the logic of the fonttable that is really twisted. Note however that I did not have an

Re: [PATCH] Subversion support

2005-06-08 Thread Baruch Even
Forgot to attach. This time it is attached. Baruch Baruch Even wrote: > Baruch Even wrote: > >>p.s. I'm not subscribed, please CC me on correspondence. Thanks! > > > Either the mail was eaten by the mail-server or I was ignored. gmane > sucks since I can't get it to send the e-mail to my favou

Re: [PATCH] Subversion support

2005-06-08 Thread Baruch Even
Baruch Even wrote: > p.s. I'm not subscribed, please CC me on correspondence. Thanks! Either the mail was eaten by the mail-server or I was ignored. gmane sucks since I can't get it to send the e-mail to my favourite e-mail program of the day. I fixed most of the comments and attached the updated

Re: [LyX 1.3.6CVS] LaTeX-preamble problems

2005-06-08 Thread Uwe Stöhr
Jürgen Spitzmüller wrote: > What is the problem with this (it fixes bug 1677)? I didn't know that. You wrote in bugzilla The standard classes do a \let\footnote\thanks inside the > \maketitle definition. So this shouldn't cause any problems. I just mentioned the difference as I wasn't sure

Re: german translation of the LyXWin installer ready

2005-06-08 Thread Angus Leeming
On Wednesday 08 June 2005 18:40, Uwe Stöhr wrote: > Angus Leeming wrote: > > Now, how about doing something for me and translating german.nsh > > ( http://tinyurl.com/axeby ) into German. There are only 50 > > strings or so... It took Jean-Pierre half an hour to do the > > French version. > > It to

german translation of the LyXWin installer ready

2005-06-08 Thread Uwe Stöhr
Angus Leeming wrote: Now, how about doing something for me and translating german.nsh ( http://tinyurl.com/axeby ) into German. There are only 50 strings or so... It took Jean-Pierre half an hour to do the French version. It took me longer ;-) but here it comes, see attached. regards Uwe !if

Re: [PATCH] Subversion support

2005-06-08 Thread Lars Gullik Bjønnes
Baruch Even <[EMAIL PROTECTED]> writes: | Hi, > | Since I've started to use LyX again (doing an M.Sc. in CS in Ireland) I | thought I'd scratch and itch. > | Attached is a patch to add Subversion support to the Version Control system. I'll have close look on this one. | Unlike CVS I'm not trying

Re: [LyX 1.3.6CVS] LaTeX-preamble problems

2005-06-08 Thread Juergen Spitzmueller
Uwe Stöhr wrote: > While looking at the differences between LyX 1.3.5 and 1.3.6CVS, I > noticed that LyX 1.3.6CVS changes footnotes within the date environment > to \thanks. What is the problem with this (it fixes bug 1677)? Jürgen

Re: [PATCH] reduce drastically number of calls to LyXText::getFont

2005-06-08 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Index: src/paragraph.C | === | RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/paragraph.C,v | retrieving revision 1.405 | diff -u -p -r1.405 paragraph.C | --- src/paragraph.C 5 May

[LyX 1.3.6CVS] LaTeX-preamble problems

2005-06-08 Thread Uwe Stöhr
Hello LyXers, I encountered two LyX 1.3.6CVS-bugs: I can't compile my Mathed documentation anymore: http://wiki.lyx.org/uploads/LyX/LyXMathebefehle/LyXMathebefehle.lyx The problem is that LyX 1.3.6CVS adds the line \usepackage{wasysym} automatically to the preamble. This causes errors when u

Re: Windows installer finished

2005-06-08 Thread Angus Leeming
On Wednesday 08 June 2005 17:24, Uwe Stöhr wrote: > Angus Leeming wrote: > > But, somehow, I'm not understanding you. > > If no dialog pops up then "sh configure" ran correctly, no? > > Yes, if no dialog pops up the configuration runs correctly. That's the case now. It wasn't. The difference betwe

Re: Windows installer finished

2005-06-08 Thread Uwe Stöhr
Angus Leeming wrote: But, somehow, I'm not understanding you. If no dialog pops up then "sh configure" ran correctly, no? Yes, if no dialog pops up the configuration runs correctly. path_prefix is stored in the configure script so that LyX can grab it from the generated lyxrc.defaults --- a

[PATCH] Subversion support

2005-06-08 Thread Baruch Even
Hi, Since I've started to use LyX again (doing an M.Sc. in CS in Ireland) I thought I'd scratch and itch. Attached is a patch to add Subversion support to the Version Control system. Unlike CVS I'm not trying to parse .svn/entries, it's XML and I'm not sure I want to deal with it at all. I'm sim

latex-xft-fonts-0.1.zip to the ftp site?

2005-06-08 Thread Angus Leeming
JMarc, can I get you to copy http://wiki.lyx.org/uploads/Windows/LyX136pre/latex-xft-fonts-0.1.zip to ftp://ftp.lyx.org/pub/lyx/contrib/ ? Thanks, -- Angus

Re: french.nsh

2005-06-08 Thread Angus Leeming
On Wednesday 08 June 2005 11:00, Jean-Pierre Chretien wrote: > >>Seems like my installer is no longer doing what I wanted it to > >> do. I'll investigate further. > > I reinstalled after suppressing Python to simulate incomplete > status before install. I confirm the grey features, but I was a bit

[PATCH] reduce drastically number of calls to LyXText::getFont

2005-06-08 Thread Jean-Marc Lasgouttes
The following patch reduces the number of calls to getFont by the two following means: 1/ in RowPainter::paintChars, determine the current font span (range with same font around of some position) first; this means that it is not necessary to check the font of each character. 2/ have RowPainter::

Re: Layout files: LabelString

2005-06-08 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> [EMAIL PROTECTED] writes: | Hi, >> Lars> | I would like to surround all 'LabelString's (in the layout Lars> files) by | quotes to make it clear that they are strings (which Lars> may contain | spaces, special characters) rather

Re: Layout files: LabelString

2005-06-08 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | Hi, > | I would like to surround all 'LabelString's (in the layout files) by | quotes to make it clear that they are strings (which may contain | spaces, special characters) rather than tokens. This is just a | cosmetic change that does not change semantics. | OK? Se

Re: LyX python package

2005-06-08 Thread Jose' Matos
On Monday 06 June 2005 17:19, G. Milde wrote: > Dear Jose, dear developers, > > I uploaded my (still not finally tested) "LyX" python package to > http://wiki.lyx.org/Tools/PyClient > > Hopefully this can become a base for further discussion. You are right, I should take some time to test it. :-

Layout files: LabelString

2005-06-08 Thread michael . schmitt
Hi, I would like to surround all 'LabelString's (in the layout files) by quotes to make it clear that they are strings (which may contain spaces, special characters) rather than tokens. This is just a cosmetic change that does not change semantics. OK? Regards, Michael

Re: [PATCH] Bug 961: reintroduce LFUN_BIBDB_ADD/DEL

2005-06-08 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Juergen Spitzmueller wrote: >> http://bugzilla.lyx.org/show_bug.cgi?id=961 >> >> The attached patch reimplements those lfuns. It also fixes >> InsetBibtex::delDatabase, which is broken in 1.3. >> >> The only drawback is

Re: Unable to use -x option with a gui

2005-06-08 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc Lasgouttes wrote: >> Actually, if want_gui is false, only Buffer::dispatch is invoked, >> and this one only supports LFUN_EXPORT. This means that -x cannot >> do anything that -e does not already do. This is broken IMO. Geor

Re: french.nsh

2005-06-08 Thread Angus Leeming
On Wednesday 08 June 2005 08:48, Jean-Pierre Chretien wrote: > >>> - I hope I understood correctly the greyed path names when all > >>> the software is not installed > >> > >>Désolé ! Je ne te comprends pas. > > I mean, the path_to_exe info is greyed as soon as there is a > missing path in the pro

Re: lyx2lyx --try-hard

2005-06-08 Thread Georg Baum
Jose' Matos wrote: > Hello, > I have implemented the --try-hard option. As you can see it will catch any > python exception in the convertion step and ignore it. I did not try it, but if it does what it says it is good :-) > My question is how to warn the user that something wrong happened duri

Re: lyx2lyx --try-hard

2005-06-08 Thread G. Milde
On 7.06.05, Jose' Matos wrote: > Hello, > > I have implemented the --try-hard option. As you can see it will catch > any python exception in the convertion step and ignore it. > > My question is how to warn the user that something wrong happened > during the convertion? The goal would be t