Re: export latex graphics problem

2011-08-29 Thread Guenter Milde
On 2011-08-27, Waluyo Adi Siswanto wrote: I just encountered a problem using export lyx to latex (plain). When I export lyx to latex plain, the graphics extension file is not written in the generated tex file. for example, only written

Re: About our bug in treating spaces from copied text

2011-08-29 Thread Guenter Milde
On 2011-08-27, Uwe Stöhr wrote: Am 23.08.2011 23:18, schrieb Jean-Marc Lasgouttes: Could we just use alltt or even verbatim instead? VFerbatim would not allow any formatting while list does. What is alltt? alltt is an environment of the LaTeX standard package alltt.

language corrections

2011-08-29 Thread Rufat Mirza
Hello dear Lyx developers, I'm quite a new lyx user (before, I was using just Latex).The Lyx project is great. Keep going. I feel that a minor contribution from my side can somehow be also helpful. In the Turkish translation, float:Table is translated as yüzen:Table 1. The is no such a word

Re: #7556: Crash when running PDFLatex on my beamer document

2011-08-29 Thread Dave Garbutt
Hi, I have tried on windows lyX and it will not open the lyx file downloaded from the ticket. I think we should close this ticket, I will still watch for this issue because I will work on this presentation later this week. thanks, and best regards, Dave --- Dave Garbutt

Re: language corrections

2011-08-29 Thread Liviu Andronic
Hello On Mon, Aug 29, 2011 at 10:03 AM, Rufat Mirza rufatmi...@gmail.com wrote: Hello dear Lyx developers, I'm quite a new lyx user (before, I was using just Latex).The Lyx project is great. Keep going. I feel that a minor contribution from my side can somehow be also helpful. In the Turkish

Re: About our bug in treating spaces from copied text

2011-08-29 Thread Jean-Marc Lasgouttes
Le 27/08/2011 04:58, Uwe Stöhr a écrit : Am 23.08.2011 23:18, schrieb Jean-Marc Lasgouttes: I think lyxcode is fundamentally flawed, but nobody dares fixing it :) The code is correct - it uses LaTeX#s list environment which is designed for this purpose. In which sense is the LaTeX list

Re: LyX 2.0/2.0.1 fails to open documents containing xfig figures, bogus conversions?

2011-08-29 Thread Pavel Sanda
Helge Hafting wrote: I just noticed that LyX 2.0 (and 2.0.1svn) fail to open files that contain xfig graphics. did it work in 1.6? can you create new bug and attach example file with .fig file? pavel

Re: r39533 - lyx-devel/trunk/lib

2011-08-29 Thread Julien Rioux
On 28/08/2011 9:02 PM, Enrico Forestieri wrote: Using shell=False on windows allows to explicitly invokecommand as cmd /d /ccommand, thus solving #7718. This is not necessary on the other platforms and should even be avoided in order to not occur in the same QTBUG-19885, which affects texlive

Re: r39533 - lyx-devel/trunk/lib

2011-08-29 Thread Pavel Sanda
Julien Rioux wrote: On 28/08/2011 9:02 PM, Enrico Forestieri wrote: Using shell=False on windows allows to explicitly invokecommand as cmd /d /ccommand, thus solving #7718. This is not necessary on the other platforms and should even be avoided in order to not occur in the same QTBUG-19885,

Re: About our bug in treating spaces from copied text

2011-08-29 Thread Uwe Stöhr
Am 29.08.2011 12:01, schrieb Jean-Marc Lasgouttes: In which sense is the LaTeX list environment designed to show typewriter code? It allows free spacing, so that you can insert multiple spaces and LaTeX will respect them. It moreover allows to format your text in the way you like - like in

Re: r39533 - lyx-devel/trunk/lib

2011-08-29 Thread Enrico Forestieri
On Mon, Aug 29, 2011 at 01:28:47PM +0200, Julien Rioux wrote: Thanks for the explanation and the fix. The update to README would be something like this. OK? That's fine, but, please, also update INSTALL and INSTALL.scons as Python 2.3 is also mentioned there. -- Enrico

Where are the shortcuts translated ?

2011-08-29 Thread Jean-Pierre Chrétien
Hello, If I open ToolsPreferencesEditingShortcuts with LyX French localization, and search for 'break-paragraph' shortcuts, I find that 'Return' is translated as 'Retour'. This is bad because it is translated in the docs by 'Entrée', which is better IMHO. Where are these strings translated?

Re: r39557 - in lyx-devel/trunk: development lib lib/lyx2lyx src src/frontends/qt4 src/insets src/mathed

2011-08-29 Thread Pavel Sanda
uwesto...@lyx.org wrote: @@ -121,97 +117,95 @@ ? static_castInsetMathSpace const *(inset)-params() : static_castInsetSpace const *(inset)-params(); - int item = 0; + QString item; very good, this magic constant was pain to manage. p int pattern

[patch] Re: About our bug in treating spaces from copied text

2011-08-29 Thread Uwe Stöhr
Attached is the right approach I think: We need to insert normal spaces as such so pressing SPACE leads to \ , pressing Ctrl+Space leads to ~, inserting a visible space leads to \textvisiblespace. So we only need to call InsetSpace's latex void to do the job. The attached patch does this but

Re: [patch] Re: About our bug in treating spaces from copied text

2011-08-29 Thread Pavel Sanda
Uwe Stöhr wrote: The attached patch does this but does not compile: Illegal call of non-static member function. What am I doing wrong here? you can call methods via class::method() only when they are static. otherwise you need real existing object for that class to call

Re: #7556: Crash when running PDFLatex on my beamer document

2011-08-29 Thread Richard Heck
On 08/29/2011 04:27 AM, Dave Garbutt wrote: Hi, I have tried on windows lyX and it will not open the lyx file downloaded from the ticket. I think we should close this ticket, I will still watch for this issue because I will work on this presentation later this week. It's your bug, so you

Re: Where are the shortcuts translated ?

2011-08-29 Thread Richard Heck
On 08/29/2011 10:40 AM, Jean-Pierre Chrétien wrote: Hello, If I open ToolsPreferencesEditingShortcuts with LyX French localization, and search for 'break-paragraph' shortcuts, I find that 'Return' is translated as 'Retour'. This is bad because it is translated in the docs by 'Entrée', which

Re: r39562 - lyx-devel/trunk/lib

2011-08-29 Thread Enrico Forestieri
On Mon, Aug 29, 2011 at 04:50:09PM -0400, Richard Heck wrote: If you'd like to put this into 2.0.1, with the other configure fixes, that's fine with me, if you think it's needed. I haven't been able to follow everything that's going on here, though Uwe seems to think it will solve a lot of

Re: r39562 - lyx-devel/trunk/lib

2011-08-29 Thread Richard Heck
On 08/29/2011 07:10 PM, Enrico Forestieri wrote: On Mon, Aug 29, 2011 at 04:50:09PM -0400, Richard Heck wrote: If you'd like to put this into 2.0.1, with the other configure fixes, that's fine with me, if you think it's needed. I haven't been able to follow everything that's going on here,

Re: export latex graphics problem

2011-08-29 Thread Guenter Milde
On 2011-08-27, Waluyo Adi Siswanto wrote: > I just encountered a problem using export lyx to latex (plain). > When I export lyx to latex plain, the graphics extension file is not > written in the generated tex file. > for example, only written >

Re: About our bug in treating spaces from copied text

2011-08-29 Thread Guenter Milde
On 2011-08-27, Uwe Stöhr wrote: > Am 23.08.2011 23:18, schrieb Jean-Marc Lasgouttes: >> Could we just use alltt or even verbatim instead? > VFerbatim would not allow any formatting while list does. What is alltt? alltt is an environment of the LaTeX standard package alltt.

language corrections

2011-08-29 Thread Rufat Mirza
Hello dear Lyx developers, I'm quite a new lyx user (before, I was using just Latex).The Lyx project is great. Keep going. I feel that a minor contribution from my side can somehow be also helpful. In the Turkish translation, "float:Table" is translated as "yüzen:Table" 1. The is no such a word

Re: #7556: Crash when running PDFLatex on my beamer document

2011-08-29 Thread Dave Garbutt
Hi, I have tried on windows lyX and it will not open the lyx file downloaded from the ticket. I think we should close this ticket, I will still watch for this issue because I will work on this presentation later this week. thanks, and best regards, Dave --- Dave Garbutt

Re: language corrections

2011-08-29 Thread Liviu Andronic
Hello On Mon, Aug 29, 2011 at 10:03 AM, Rufat Mirza wrote: > Hello dear Lyx developers, > I'm quite a new lyx user (before, I was using just Latex).The Lyx > project is great. Keep going. I feel that a minor contribution from my > side can somehow be also helpful. In the

Re: About our bug in treating spaces from copied text

2011-08-29 Thread Jean-Marc Lasgouttes
Le 27/08/2011 04:58, Uwe Stöhr a écrit : Am 23.08.2011 23:18, schrieb Jean-Marc Lasgouttes: I think lyxcode is fundamentally flawed, but nobody dares fixing it :) The code is correct - it uses LaTeX#s list environment which is designed for this purpose. In which sense is the LaTeX list

Re: LyX 2.0/2.0.1 fails to open documents containing xfig figures, bogus conversions?

2011-08-29 Thread Pavel Sanda
Helge Hafting wrote: > I just noticed that LyX 2.0 (and 2.0.1svn) fail to open files that contain > xfig graphics. did it work in 1.6? can you create new bug and attach example file with .fig file? pavel

Re: r39533 - lyx-devel/trunk/lib

2011-08-29 Thread Julien Rioux
On 28/08/2011 9:02 PM, Enrico Forestieri wrote: Using shell=False on windows allows to explicitly invoke as "cmd /d /c", thus solving #7718. This is not necessary on the other platforms and should even be avoided in order to not occur in the same QTBUG-19885, which affects texlive commands.

Re: r39533 - lyx-devel/trunk/lib

2011-08-29 Thread Pavel Sanda
Julien Rioux wrote: > On 28/08/2011 9:02 PM, Enrico Forestieri wrote: >> Using shell=False on windows allows to explicitly invoke as >> "cmd /d /c", thus solving #7718. This is not necessary on the >> other platforms and should even be avoided in order to not occur in the >> same QTBUG-19885,

Re: About our bug in treating spaces from copied text

2011-08-29 Thread Uwe Stöhr
Am 29.08.2011 12:01, schrieb Jean-Marc Lasgouttes: In which sense is the LaTeX list environment designed to show typewriter code? It allows free spacing, so that you can insert multiple spaces and LaTeX will respect them. It moreover allows to format your text in the way you like - like in

Re: r39533 - lyx-devel/trunk/lib

2011-08-29 Thread Enrico Forestieri
On Mon, Aug 29, 2011 at 01:28:47PM +0200, Julien Rioux wrote: > Thanks for the explanation and the fix. The update to README would > be something like this. OK? That's fine, but, please, also update INSTALL and INSTALL.scons as Python 2.3 is also mentioned there. -- Enrico

Where are the shortcuts translated ?

2011-08-29 Thread Jean-Pierre Chrétien
Hello, If I open Tools>Preferences>Editing>Shortcuts with LyX French localization, and search for 'break-paragraph' shortcuts, I find that 'Return' is translated as 'Retour'. This is bad because it is translated in the docs by 'Entrée', which is better IMHO. Where are these strings

Re: r39557 - in lyx-devel/trunk: development lib lib/lyx2lyx src src/frontends/qt4 src/insets src/mathed

2011-08-29 Thread Pavel Sanda
uwesto...@lyx.org wrote: > @@ -121,97 +117,95 @@ > ? static_cast(inset)->params() > : static_cast(inset)->params(); > > - int item = 0; > + QString item; very good, this magic constant was pain to manage. p > int pattern = 0; > bool protect =

[patch] Re: About our bug in treating spaces from copied text

2011-08-29 Thread Uwe Stöhr
Attached is the right approach I think: We need to insert normal spaces as such so pressing SPACE leads to "\ ", pressing Ctrl+Space leads to "~", inserting a visible space leads to "\textvisiblespace". So we only need to call InsetSpace's latex void to do the job. The attached patch does this

Re: [patch] Re: About our bug in treating spaces from copied text

2011-08-29 Thread Pavel Sanda
Uwe Stöhr wrote: > The attached patch does this but does not compile: "Illegal call of > non-static member function." What am I doing wrong here? you can call methods via class::method() only when they are static. otherwise you need real existing object for that class to call

Re: #7556: Crash when running PDFLatex on my beamer document

2011-08-29 Thread Richard Heck
On 08/29/2011 04:27 AM, Dave Garbutt wrote: > Hi, > > I have tried on windows lyX and it will not open the lyx file > downloaded from the ticket. > > I think we should close this ticket, I will still watch for this issue > because I will work on this presentation later this week. > It's your bug,

Re: Where are the shortcuts translated ?

2011-08-29 Thread Richard Heck
On 08/29/2011 10:40 AM, Jean-Pierre Chrétien wrote: > Hello, > > If I open Tools>Preferences>Editing>Shortcuts with LyX French > localization, and search for 'break-paragraph' shortcuts, I find that > 'Return' is translated as 'Retour'. > > This is bad because it is translated in the docs by

Re: r39562 - lyx-devel/trunk/lib

2011-08-29 Thread Enrico Forestieri
On Mon, Aug 29, 2011 at 04:50:09PM -0400, Richard Heck wrote: > > If you'd like to put this into 2.0.1, with the other configure fixes, > that's fine with me, if you think it's needed. I haven't been able to > follow everything that's going on here, though Uwe seems to think it > will solve a lot

Re: r39562 - lyx-devel/trunk/lib

2011-08-29 Thread Richard Heck
On 08/29/2011 07:10 PM, Enrico Forestieri wrote: > On Mon, Aug 29, 2011 at 04:50:09PM -0400, Richard Heck wrote: >> If you'd like to put this into 2.0.1, with the other configure fixes, >> that's fine with me, if you think it's needed. I haven't been able to >> follow everything that's going on