InsetIndex

2009-05-07 Thread rgheck
Jurgen, are you planning to backport r29255? including toolTips for InsetIndex? rh

RE: r29557 - lyx-devel/trunk/src/tex2lyx

2009-05-07 Thread Vincent van Ravesteijn - TNW
> Actually, the problem (I understood it by reading your previous > message) is that the tokens_ variable is a vector, and > therefore it can from time to time be reallocated when we do a > push_back(). In this case, the references become stale. I couldn't reproduce this with a minimal example

Re: python file call

2009-05-07 Thread Peter Kümmel
José Matos wrote: > On Thursday 07 May 2009 19:11:50 Peter Kümmel wrote: >> OK, I feared it. >> >> Peter > > FWIW the change is really minimal and it is confined to the last chunk. > > if __name__ == '__main__': > Thanks Jose, I also found the place we the files should be read, but I don't know

Re: python file call

2009-05-07 Thread José Matos
On Thursday 07 May 2009 19:11:50 Peter Kümmel wrote: > OK, I feared it. > > Peter FWIW the change is really minimal and it is confined to the last chunk. if __name__ == '__main__': You get the name of the file in args and then you need to read the file names from there. input_files = [] for l

Re: python file call

2009-05-07 Thread Peter Kümmel
Guenter Milde wrote: > On 2009-05-03, Peter Kümmel wrote: >> Is it possible to call a python file with a file instead of command >> line parameters? > > Not without a change to the python file or a wrapper. > > You can of course define an option that expects a file, reads it and > puts the conte

Re: non-blocking processing

2009-05-07 Thread Peter Kümmel
Andre Poenitz wrote: > On Tue, May 05, 2009 at 09:51:15PM +0200, Peter Kümmel wrote: >> Andre Poenitz wrote: >>> On Sun, May 03, 2009 at 08:22:45PM +0200, Peter Kümmel wrote: Abdelrazak Younes wrote: > > I've been using QProcess extensively recently and it works perfectly > acros

Re: r29550 - in lyx-devel/trunk: lib/lyx2lyx src

2009-05-07 Thread Uwe Stöhr
Pavel Sanda schrieb: i see we have \backgroundcolor #ff in our .lyx file by default. we should get rid of it too (Uwe?). But we need a default setting, and this is white. regards Uwe

Re: r29557 - lyx-devel/trunk/src/tex2lyx

2009-05-07 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes writes: Hum, I withdraw the "perfectly fine". This is not a const method and pos_ is modified. This is a very bad idea and this parser is just severely broken IMO... No, get_token is a "read token and advance position" method, much like <<

Re: r29557 - lyx-devel/trunk/src/tex2lyx

2009-05-07 Thread Jean-Marc Lasgouttes
Abdelrazak Younes writes: > Hum, I withdraw the "perfectly fine". This is not a const method and > pos_ is modified. This is a very bad idea and this parser is just > severely broken IMO... No, get_token is a "read token and advance position" method, much like << for a stream. This is actually a

RE: r29557 - lyx-devel/trunk/src/tex2lyx

2009-05-07 Thread Vincent van Ravesteijn - TNW
>Hum, I withdraw the "perfectly fine". This is not a const method and >pos_ is modified. This is a very bad idea and this parser is just >severely broken IMO... > >So what I would do is this: > >- Token const & Parser::get_token() >+ Token const & Parser::get_token() const >{ > static const Toke

Re: r29558 - in lyx-devel/trunk: development src src/insets

2009-05-07 Thread Abdelrazak Younes
rgheck wrote: for...@lyx.org wrote: Author: forenr Date: Thu May 7 12:57:52 2009 New Revision: 29558 URL: http://www.lyx.org/trac/changeset/29558 Log: Avoid ugly macros in the preamble and protect underlined \cite commands in a clever way. Nice work! Yeah, the LateX experts always get a

Re: r29558 - in lyx-devel/trunk: development src src/insets

2009-05-07 Thread rgheck
for...@lyx.org wrote: Author: forenr Date: Thu May 7 12:57:52 2009 New Revision: 29558 URL: http://www.lyx.org/trac/changeset/29558 Log: Avoid ugly macros in the preamble and protect underlined \cite commands in a clever way. Nice work! rh

Re: r29557 - lyx-devel/trunk/src/tex2lyx

2009-05-07 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: lasgout...@lyx.org writes: Author: lasgouttes Date: Thu May 7 12:09:03 2009 New Revision: 29557 URL: http://www.lyx.org/trac/changeset/29557 Log: (partial?) fix to bug 5935 I am not sure why the fix is really needed, but it works.

Re: r29557 - lyx-devel/trunk/src/tex2lyx

2009-05-07 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: lasgout...@lyx.org writes: Author: lasgouttes Date: Thu May 7 12:09:03 2009 New Revision: 29557 URL: http://www.lyx.org/trac/changeset/29557 Log: (partial?) fix to bug 5935 I am not sure why the fix is really needed, but it works. Basically, the fix is:

Re: r29557 - lyx-devel/trunk/src/tex2lyx

2009-05-07 Thread Jean-Marc Lasgouttes
lasgout...@lyx.org writes: > Author: lasgouttes > Date: Thu May 7 12:09:03 2009 > New Revision: 29557 > URL: http://www.lyx.org/trac/changeset/29557 > > Log: > (partial?) fix to bug 5935 I am not sure why the fix is really needed, but it works. Basically, the fix is: > - Token const