introduction to programming LyX, anyone?

2011-10-29 Thread PhilipPirrip
As an exercise in programming I'd like to implement foreign language inset I proposed at http://www.lyx.org/trac/ticket/7848. I suppose there are at least two of us at this mailing list that would like to contribute, but have difficulties in understanding all the layers of the code, actions

Re: introduction to programming LyX, anyone?

2011-10-29 Thread Vincent van Ravesteijn
Op 29-10-2011 10:31, PhilipPirrip schreef: As an exercise in programming I'd like to implement foreign language inset I proposed at http://www.lyx.org/trac/ticket/7848. I suppose there are at least two of us at this mailing list that would like to contribute, but have difficulties in

Re: r40058 - in lyx-devel/trunk/src: . frontends/qt4 insets mathed

2011-10-29 Thread Abdelrazak Younes
On 29/10/2011 16:48, v...@lyx.org wrote: Author: vfr Date: Sat Oct 29 16:48:55 2011 New Revision: 40058 URL: http://www.lyx.org/trac/changeset/40058 Log: Change the type of the context menu name to string There is no need for GUI-elements to use docstring. Except if the user changed the

Re: Paste as simple unformatted text

2011-10-29 Thread Tommaso Cucinotta
Il 29/10/2011 03:05, Richard Heck ha scritto: On 10/28/11 6:30 PM, Tommaso Cucinotta wrote: I just updated the patch adding the paste as unformatted text capability to LyX. It fixes enhancement #7226, and it partially addresses #6731. It is attached. Comments are very welcome. This seems

Re: r40058 - in lyx-devel/trunk/src: . frontends/qt4 insets mathed

2011-10-29 Thread Uwe Stöhr
Am 29.10.2011 17:13, schrieb Abdelrazak Younes: There is no need for GUI-elements to use docstring. Except if the user changed the context menu name in the ui file with something else than ASCII... I agree with Abdel, there might be unforeseen cases where Unicode is necessary. I think it

View Source Format Options

2011-10-29 Thread Richard Heck
I'm seeing PNG and EPS as output format options in the source view window. That seems wrong. Would it be better here just to list the possible backends? i.e., the formats LyX can output directly? Richard

Re: r40058 - in lyx-devel/trunk/src: . frontends/qt4 insets mathed

2011-10-29 Thread Vincent van Ravesteijn
Op 29-10-2011 20:33, Uwe Stöhr schreef: Am 29.10.2011 17:13, schrieb Abdelrazak Younes: There is no need for GUI-elements to use docstring. Except if the user changed the context menu name in the ui file with something else than ASCII... I agree with Abdel, there might be unforeseen cases

Re: View Source Format Options

2011-10-29 Thread Vincent van Ravesteijn
Op 29-10-2011 21:11, Richard Heck schreef: I'm seeing PNG and EPS as output format options in the source view window. That seems wrong. Would it be better here just to list the possible backends? i.e., the formats LyX can output directly? Richard I don't see PNG and EPS. By the way, the

Re: View Source Format Options

2011-10-29 Thread Richard Heck
On 10/29/2011 03:48 PM, Vincent van Ravesteijn wrote: Op 29-10-2011 21:11, Richard Heck schreef: I'm seeing PNG and EPS as output format options in the source view window. That seems wrong. Would it be better here just to list the possible backends? i.e., the formats LyX can output directly?

Re: View Source Format Options

2011-10-29 Thread Vincent van Ravesteijn
Op 29-10-2011 21:54, Richard Heck schreef: On 10/29/2011 03:48 PM, Vincent van Ravesteijn wrote: Op 29-10-2011 21:11, Richard Heck schreef: I'm seeing PNG and EPS as output format options in the source view window. That seems wrong. Would it be better here just to list the possible backends?

Re: Paste as simple unformatted text

2011-10-29 Thread Uwe Stöhr
Am 29.10.2011 17:43, schrieb Tommaso Cucinotta: I just updated the patch adding the paste as unformatted text capability to LyX. It fixes enhancement #7226, and it partially addresses #6731. So I've committed it as r40060. If this will not be backported to branch, can you please add an

Re: [patch] support for \\baselineskip

2011-10-29 Thread Uwe Stöhr
Am 28.10.2011 09:36, schrieb Jürgen Spitzmüller: You are right, that it is not in every case the exact value, but in, lets say, 90%. I think that the impossibility to get for all 100% the exact value should not prevent us from supporting \baselineskip. 90% or 80% or whatever is not the

Re: #7301: Issues with svmono.layout

2011-10-29 Thread Uwe Stöhr
Am 24.09.2011 20:20, schrieb Richard Heck: On 09/24/2011 12:01 PM, Uwe Stöhr wrote: We should of course add a sentence in the announcement of LyX 2.0.2 that the Springer files created with 2.0.2 and newer won't be compilable with LyX 2.0.0 and 2.0.1. Please add this to the RELEASE-NOTES

String Freeze for 2.0.2

2011-10-29 Thread Richard Heck
As mentioned previously, we have done enough work to plan a release of LyX 2.0.2. I have asked our translators to prepare the po files, so strings are now frozen. If you have time to look at some bugs, please have a look at this list:

Re: View Source Format Options

2011-10-29 Thread Richard Heck
On 10/29/2011 03:57 PM, Vincent van Ravesteijn wrote: Op 29-10-2011 21:54, Richard Heck schreef: On 10/29/2011 03:48 PM, Vincent van Ravesteijn wrote: Op 29-10-2011 21:11, Richard Heck schreef: I'm seeing PNG and EPS as output format options in the source view window. That seems wrong. Would

Re: r40073 - in lyx-devel/trunk/src: . frontends/qt4 frontends/qt4/ui

2011-10-29 Thread Tommaso Cucinotta
Il 29/10/2011 23:00, rgh...@lyx.org ha scritto: Author: rgheck Date: Sat Oct 29 23:00:23 2011 New Revision: 40073 URL: http://www.lyx.org/trac/changeset/40073 Log: Initial work for view source improvements. Just to add a comment to the initial posting: I can remember that, apparently, I was

Re: Paste as simple unformatted text

2011-10-29 Thread Tommaso Cucinotta
Il 29/10/2011 23:29, Uwe Stöhr ha scritto: If this will not be backported to branch, can you please add an entry here: http://wiki.lyx.org/LyX/NewInLyX21 If should go to branch can you please give me a short description what the new menu entries do exactly so that I can update the docs?

Re: Paste as simple unformatted text

2011-10-29 Thread Tommaso Cucinotta
Il 29/10/2011 23:29, Uwe Stöhr ha scritto: If should go to branch can you please give me a short description what the new menu entries do exactly so that I can update the docs? I have a couple of suggestions for menus and shortcuts: 1) The [Edit]-[Paste Special...]-[Plain Text] seems to me

Re: Paste as simple unformatted text

2011-10-29 Thread Uwe Stöhr
Am 30.10.2011 00:10, schrieb Tommaso Cucinotta: If should go to branch can you please give me a short description what the new menu entries do exactly so that I can update the docs? AFAICS, this is a small feature enhancement, not really a bug fixing. Therefore, I'd not reflect it to

Re: Paste as simple unformatted text

2011-10-29 Thread Uwe Stöhr
Am 30.10.2011 00:23, schrieb Tommaso Cucinotta: I have a couple of suggestions for menus and shortcuts: 1) The [Edit]-[Paste Special...]-[Plain Text] seems to me somewhat misleading. I would be tempted to invoke it exactly to paste as plain (unformatted text). But, what it does, is actually

Re: Paste as simple unformatted text

2011-10-29 Thread Enrico Forestieri
On Sun, Oct 30, 2011 at 12:23:00AM +0200, Tommaso Cucinotta wrote: 2) The current C-S-v shortcut is bound to the clipboard-paste command, i.e., the same feature mentioned above, which pastes only the text from the clipboard along with its format. I'd suggest to change it to the new

Re: introduction to programming LyX, anyone?

2011-10-29 Thread PhilipPirrip
Hi Vincent. Thanks for the reply. One day I hope there would emerge a sort of an overview of the whole code, to help the new beginners. I'm sure that making inset by coping some other shouldn't be that hard. But then it comes to all sorts of things that are interconnected (translations, input

Re: r40073 - in lyx-devel/trunk/src: . frontends/qt4 frontends/qt4/ui

2011-10-29 Thread Richard Heck
On 10/29/2011 05:59 PM, Tommaso Cucinotta wrote: Il 29/10/2011 23:00, rgh...@lyx.org ha scritto: Author: rgheck Date: Sat Oct 29 23:00:23 2011 New Revision: 40073 URL: http://www.lyx.org/trac/changeset/40073 Log: Initial work for view source improvements. Just to add a comment to the

chaining file converters

2011-10-29 Thread PhilipPirrip
I hoped to have my grace files included into a document and being able to produce a pdf (by pdflatex), but that seems not to work. Grace simply does not export to PDF. I tried to chain the conversion process in LyX under Linux, but that seemed not to work: gracebat -hardcopy -printfile out.eps

Re: r39856 - lyx-devel/trunk/po

2011-10-29 Thread Uwe Stöhr
Am 16.10.2011 10:27, schrieb Jürgen Spitzmüller: If 'Use Old Style Figures' is checked, old style figures (also known as medieval or text figures) are used (if the font provides them). Old style figures are numerals with ascenders and descenders, which makes them fit nicely with lower letters.

question about roff command in LyX's preferences

2011-10-29 Thread Uwe Stöhr
In LyX 1.6.x we had in the preferences under Output-Plain text a field for the roff command. Where is this gone in LyX 2.0? I cannot find anything about it in the preferences and also not in the document settings. The description of this feature was: roff command defines an additional command

Re: introduction to programming LyX, anyone?

2011-10-29 Thread Xu Wang
I agree with you Philip! I have been wanting to write a similar email for a while. I would love to help develop LyX. In fact, I learned C++ with that being my primary purpose. But I am still lost when trying to navigate the code. I would love for some of the experienced developers to maybe

introduction to programming LyX, anyone?

2011-10-29 Thread PhilipPirrip
As an exercise in programming I'd like to implement "foreign language inset" I proposed at http://www.lyx.org/trac/ticket/7848. I suppose there are at least two of us at this mailing list that would like to contribute, but have difficulties in understanding all the layers of the code, actions

Re: introduction to programming LyX, anyone?

2011-10-29 Thread Vincent van Ravesteijn
Op 29-10-2011 10:31, PhilipPirrip schreef: As an exercise in programming I'd like to implement "foreign language inset" I proposed at http://www.lyx.org/trac/ticket/7848. I suppose there are at least two of us at this mailing list that would like to contribute, but have difficulties in

Re: r40058 - in lyx-devel/trunk/src: . frontends/qt4 insets mathed

2011-10-29 Thread Abdelrazak Younes
On 29/10/2011 16:48, v...@lyx.org wrote: Author: vfr Date: Sat Oct 29 16:48:55 2011 New Revision: 40058 URL: http://www.lyx.org/trac/changeset/40058 Log: Change the type of the context menu name to string There is no need for GUI-elements to use docstring. Except if the user changed the

Re: Paste as simple unformatted text

2011-10-29 Thread Tommaso Cucinotta
Il 29/10/2011 03:05, Richard Heck ha scritto: On 10/28/11 6:30 PM, Tommaso Cucinotta wrote: I just updated the patch adding the "paste as unformatted text" capability to LyX. It fixes enhancement #7226, and it partially addresses #6731. It is attached. Comments are very welcome. This seems

Re: r40058 - in lyx-devel/trunk/src: . frontends/qt4 insets mathed

2011-10-29 Thread Uwe Stöhr
Am 29.10.2011 17:13, schrieb Abdelrazak Younes: There is no need for GUI-elements to use docstring. Except if the user changed the context menu name in the ui file with something else than ASCII... I agree with Abdel, there might be unforeseen cases where Unicode is necessary. I think it

View Source Format Options

2011-10-29 Thread Richard Heck
I'm seeing PNG and EPS as output format options in the source view window. That seems wrong. Would it be better here just to list the possible backends? i.e., the formats LyX can output directly? Richard

Re: r40058 - in lyx-devel/trunk/src: . frontends/qt4 insets mathed

2011-10-29 Thread Vincent van Ravesteijn
Op 29-10-2011 20:33, Uwe Stöhr schreef: Am 29.10.2011 17:13, schrieb Abdelrazak Younes: There is no need for GUI-elements to use docstring. Except if the user changed the context menu name in the ui file with something else than ASCII... I agree with Abdel, there might be unforeseen cases

Re: View Source Format Options

2011-10-29 Thread Vincent van Ravesteijn
Op 29-10-2011 21:11, Richard Heck schreef: I'm seeing PNG and EPS as output format options in the source view window. That seems wrong. Would it be better here just to list the possible backends? i.e., the formats LyX can output directly? Richard I don't see PNG and EPS. By the way, the

Re: View Source Format Options

2011-10-29 Thread Richard Heck
On 10/29/2011 03:48 PM, Vincent van Ravesteijn wrote: > Op 29-10-2011 21:11, Richard Heck schreef: >> I'm seeing PNG and EPS as output format options in the source view >> window. That seems wrong. Would it be better here just to list the >> possible backends? i.e., the formats LyX can output

Re: View Source Format Options

2011-10-29 Thread Vincent van Ravesteijn
Op 29-10-2011 21:54, Richard Heck schreef: On 10/29/2011 03:48 PM, Vincent van Ravesteijn wrote: Op 29-10-2011 21:11, Richard Heck schreef: I'm seeing PNG and EPS as output format options in the source view window. That seems wrong. Would it be better here just to list the possible backends?

Re: Paste as simple unformatted text

2011-10-29 Thread Uwe Stöhr
Am 29.10.2011 17:43, schrieb Tommaso Cucinotta: I just updated the patch adding the "paste as unformatted text" capability to LyX. It fixes enhancement #7226, and it partially addresses #6731. So I've committed it as r40060. If this will not be backported to branch, can you please add an

Re: [patch] support for \\baselineskip

2011-10-29 Thread Uwe Stöhr
Am 28.10.2011 09:36, schrieb Jürgen Spitzmüller: You are right, that it is not in every case the exact value, but in, lets say, 90%. I think that the impossibility to get for all 100% the exact value should not prevent us from supporting \baselineskip. "90%" or "80%" or whatever is not the

Re: #7301: Issues with svmono.layout

2011-10-29 Thread Uwe Stöhr
Am 24.09.2011 20:20, schrieb Richard Heck: On 09/24/2011 12:01 PM, Uwe Stöhr wrote: We should of course add a sentence in the announcement of LyX 2.0.2 that the Springer files created with 2.0.2 and newer won't be compilable with LyX 2.0.0 and 2.0.1. Please add this to the RELEASE-NOTES

String Freeze for 2.0.2

2011-10-29 Thread Richard Heck
As mentioned previously, we have done enough work to plan a release of LyX 2.0.2. I have asked our translators to prepare the po files, so strings are now frozen. If you have time to look at some bugs, please have a look at this list:

Re: View Source Format Options

2011-10-29 Thread Richard Heck
On 10/29/2011 03:57 PM, Vincent van Ravesteijn wrote: > Op 29-10-2011 21:54, Richard Heck schreef: >> On 10/29/2011 03:48 PM, Vincent van Ravesteijn wrote: >>> Op 29-10-2011 21:11, Richard Heck schreef: I'm seeing PNG and EPS as output format options in the source view window. That seems

Re: r40073 - in lyx-devel/trunk/src: . frontends/qt4 frontends/qt4/ui

2011-10-29 Thread Tommaso Cucinotta
Il 29/10/2011 23:00, rgh...@lyx.org ha scritto: Author: rgheck Date: Sat Oct 29 23:00:23 2011 New Revision: 40073 URL: http://www.lyx.org/trac/changeset/40073 Log: Initial work for view source improvements. Just to add a comment to the initial posting: I can remember that, apparently, I was

Re: Paste as simple unformatted text

2011-10-29 Thread Tommaso Cucinotta
Il 29/10/2011 23:29, Uwe Stöhr ha scritto: If this will not be backported to branch, can you please add an entry here: http://wiki.lyx.org/LyX/NewInLyX21 If should go to branch can you please give me a short description what the new menu entries do exactly so that I can update the docs?

Re: Paste as simple unformatted text

2011-10-29 Thread Tommaso Cucinotta
Il 29/10/2011 23:29, Uwe Stöhr ha scritto: If should go to branch can you please give me a short description what the new menu entries do exactly so that I can update the docs? I have a couple of suggestions for menus and shortcuts: 1) The [Edit]->[Paste Special...]->[Plain Text] seems to me

Re: Paste as simple unformatted text

2011-10-29 Thread Uwe Stöhr
Am 30.10.2011 00:10, schrieb Tommaso Cucinotta: If should go to branch can you please give me a short description what the new menu entries do exactly so that I can update the docs? AFAICS, this is a small feature enhancement, not really a bug fixing. Therefore, I'd not reflect it to

Re: Paste as simple unformatted text

2011-10-29 Thread Uwe Stöhr
Am 30.10.2011 00:23, schrieb Tommaso Cucinotta: I have a couple of suggestions for menus and shortcuts: 1) The [Edit]->[Paste Special...]->[Plain Text] seems to me somewhat misleading. I would be tempted to invoke it exactly to paste as plain (unformatted text). But, what it does, is actually

Re: Paste as simple unformatted text

2011-10-29 Thread Enrico Forestieri
On Sun, Oct 30, 2011 at 12:23:00AM +0200, Tommaso Cucinotta wrote: > 2) The current "C-S-v" shortcut is bound to the "clipboard-paste" > command, i.e., > the same feature mentioned above, which pastes only the text from the > clipboard along with its format. I'd suggest to change it to

Re: introduction to programming LyX, anyone?

2011-10-29 Thread PhilipPirrip
Hi Vincent. Thanks for the reply. One day I hope there would emerge a sort of an overview of the whole code, to help the new beginners. I'm sure that making inset by coping some other shouldn't be that hard. But then it comes to all sorts of things that are interconnected (translations, input

Re: r40073 - in lyx-devel/trunk/src: . frontends/qt4 frontends/qt4/ui

2011-10-29 Thread Richard Heck
On 10/29/2011 05:59 PM, Tommaso Cucinotta wrote: > Il 29/10/2011 23:00, rgh...@lyx.org ha scritto: >> Author: rgheck >> Date: Sat Oct 29 23:00:23 2011 >> New Revision: 40073 >> URL: http://www.lyx.org/trac/changeset/40073 >> >> Log: >> Initial work for view source improvements. > > Just to add a

chaining file converters

2011-10-29 Thread PhilipPirrip
I hoped to have my grace files included into a document and being able to produce a pdf (by pdflatex), but that seems not to work. Grace simply does not export to PDF. I tried to chain the conversion process in LyX under Linux, but that seemed not to work: gracebat -hardcopy -printfile out.eps

Re: r39856 - lyx-devel/trunk/po

2011-10-29 Thread Uwe Stöhr
Am 16.10.2011 10:27, schrieb Jürgen Spitzmüller: "If 'Use Old Style Figures' is checked, old style figures (also known as medieval or text figures) are used (if the font provides them). Old style figures are numerals with ascenders and descenders, which makes them fit nicely with lower

question about roff command in LyX's preferences

2011-10-29 Thread Uwe Stöhr
In LyX 1.6.x we had in the preferences under Output->Plain text a field for the "roff command". Where is this gone in LyX 2.0? I cannot find anything about it in the preferences and also not in the document settings. The description of this feature was: "roff command" defines an additional

Re: introduction to programming LyX, anyone?

2011-10-29 Thread Xu Wang
I agree with you Philip! I have been wanting to write a similar email for a while. I would love to help develop LyX. In fact, I learned C++ with that being my primary purpose. But I am still lost when trying to navigate the code. I would love for some of the experienced developers to maybe