Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-30 Thread Andre Poenitz
On Fri, Aug 30, 2002 at 03:30:28AM +0900, R. Lahaye wrote: I did this, because we were continuously translating between the GUI-keywords, the LyX-keywords, and the LaTeX keywords. This complicated scheme is reduced to the commen GUI - LyX/LaTeX conversion, using a Translator for that.

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-30 Thread José Abílio Oliveira Matos
On Thursday 29 August 2002 23:39, Lars Gullik Bjønnes wrote: | No, reducing the readability of the lyx file should not be an issue. | Eventually the lyx file will be saved via a zip filter and is then | unreadable anyway. I am not so sure about that... Then to see the file use zless (how

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-30 Thread John Levon
On Fri, Aug 30, 2002 at 08:45:00AM +0200, Andre Poenitz wrote: As enums could be explicitly converted to ints I don't think they are necessary. Erm, implicit behaviour depending on the exact ordering and numbering of a particular widget is NOT a good enough. We most definitely SHOULD be

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-30 Thread Andre Poenitz
On Fri, Aug 30, 2002 at 01:03:10PM +0100, John Levon wrote: Erm, implicit behaviour depending on the exact ordering and numbering of a particular widget is NOT a good enough. We most definitely SHOULD be explicit (for starters Qt will have to be because it's not pascal-numbered) But not by

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-30 Thread Andre Poenitz
On Sat, Aug 31, 2002 at 01:01:13AM +0900, Rob Lahaye wrote: I say: keep the switches for the sake of localization per UI. It's simple and straightforward. Than for ${DEITY}s sake, put that conversion into helper functions. Andre' -- Those who desire to give up Freedom in order to gain

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-30 Thread Andre Poenitz
On Sat, Aug 31, 2002 at 02:03:47AM +0900, R. Lahaye wrote: Are you saying I should do something like: frnt::OriginType GUI_conversion(int const GUI_choiceItem) { switch (GUI_choiceItem) { case 11: return(frnt::RightBaseline); case 10:

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-30 Thread Andre Poenitz
On Fri, Aug 30, 2002 at 03:30:28AM +0900, R. Lahaye wrote: > I did this, because we were continuously translating between the > GUI-keywords, the LyX-keywords, and the LaTeX keywords. This complicated > scheme is reduced to the commen GUI - LyX/LaTeX conversion, using a > Translator for that. >

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-30 Thread José Abílio Oliveira Matos
On Thursday 29 August 2002 23:39, Lars Gullik Bjønnes wrote: > > | No, reducing the readability of the lyx file should not be an issue. > | Eventually the lyx file will be saved via a zip filter and is then > | unreadable anyway. > > I am not so sure about that... Then to see the file use

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-30 Thread John Levon
On Fri, Aug 30, 2002 at 08:45:00AM +0200, Andre Poenitz wrote: > As enums could be explicitly converted to ints I don't think they are > necessary. Erm, implicit behaviour depending on the exact ordering and numbering of a particular widget is NOT a good enough. We most definitely SHOULD be

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-30 Thread Andre Poenitz
On Fri, Aug 30, 2002 at 01:03:10PM +0100, John Levon wrote: > Erm, implicit behaviour depending on the exact ordering and numbering of > a particular widget is NOT a good enough. We most definitely SHOULD be > explicit (for starters Qt will have to be because it's not > pascal-numbered) But not

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-30 Thread Andre Poenitz
On Sat, Aug 31, 2002 at 01:01:13AM +0900, Rob Lahaye wrote: > I say: keep the switches for the sake of localization per UI. > It's simple and straightforward. Than for ${DEITY}s sake, put that conversion into helper functions. Andre' -- Those who desire to give up Freedom in order to gain

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-30 Thread Andre Poenitz
On Sat, Aug 31, 2002 at 02:03:47AM +0900, R. Lahaye wrote: > Are you saying I should do something like: > > frnt::OriginType GUI_conversion(int const GUI_choiceItem) > { > switch (GUI_choiceItem) { > case 11: return(frnt::RightBaseline); > case 10:

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-29 Thread John Levon
On Fri, Aug 30, 2002 at 03:30:28AM +0900, R. Lahaye wrote: I did this, because we were continuously translating between the GUI-keywords, the LyX-keywords, and the LaTeX keywords. This complicated scheme is reduced to the commen GUI - LyX/LaTeX conversion, using a Translator for that. Too

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-29 Thread John Levon
On Fri, Aug 30, 2002 at 04:58:49AM +0900, R. Lahaye wrote: What is Reference point in Qt origin's choice? No idea, ask Edwin regards john -- Take the ideas you find useful. Try not to get hung up on the labels. - Jonathan S. Shapiro

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-29 Thread Lars Gullik Bjønnes
R. Lahaye [EMAIL PROTECTED] writes: | This is a patch that removes the LyX-keywords for origin of rotation, and uses the | short LaTeX ones instead. This means there's no translation necessary between the | two. However, this implies a change in the graphics inset format. | For example: | |

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-29 Thread John Levon
On Fri, Aug 30, 2002 at 03:30:28AM +0900, R. Lahaye wrote: > I did this, because we were continuously translating between the > GUI-keywords, > the LyX-keywords, and the LaTeX keywords. This complicated scheme is reduced > to the commen GUI - LyX/LaTeX conversion, using a Translator for that.

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-29 Thread John Levon
On Fri, Aug 30, 2002 at 04:58:49AM +0900, R. Lahaye wrote: > What is "Reference point" in Qt origin's choice? No idea, ask Edwin regards john -- "Take the ideas you find useful. Try not to get hung up on the labels." - Jonathan S. Shapiro

Re: [PATCH] Origin of rotation simplified in originTranslator; graphics inset format change.

2002-08-29 Thread Lars Gullik Bjønnes
"R. Lahaye" <[EMAIL PROTECTED]> writes: | This is a patch that removes the LyX-keywords for origin of rotation, and uses the | short LaTeX ones instead. This means there's no translation necessary between the | two. However, this implies a change in the graphics inset format. | For example: | |