A wishlist for LyX

2007-10-28 Thread Alexander Streit
Hi developers, been writing on my thesis (love LyX for that) and collecting random ideas in a text file about improvements. Some of these may already be planned, some not. But if anyone is looking for something to add to LyX, then these are what I would have enjoyed. They are in rough order of

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Martin Vermeer wrote: But then there is an essential difference between ERT and Listing: the content of ERT is executable code, i.e., the rendered document contains its output, not the code itself. An ERT's content will

Re: Questions: latex_language

2007-10-28 Thread Abdelrazak Younes
Martin Vermeer wrote: I have two questions about latex_language: 1)is it true that all it does is prevent the text from being spell checked (and bluelined)? And 2) is is also true that it differs from ignore_language in that the latter means that language _changes_ are ignored ... meaning

Re: A GuiKeySymbol setKeySymbol bug?

2007-10-28 Thread Edwin Leuven
Bo Peng wrote: There is a bug with the new Shortcut input dialog. Namely, you can input Alt-x, Shift-x, but not Ctrl-x (C- is displayed), despite the fact that these modifiers are handled in the same way. i don't see this on windows ... in the meantime setting a shortcut screws up my

cell alignment in v1.4.5.1

2007-10-28 Thread pol
Here enclosed my test file containing two tables. In the first one, vertical alignment is not properly accomplished. In the second one, it is ok. That has been obtained by copying the first table and replacing blue underlined cell content (where probably a different lang was set - i have not

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Martin Vermeer wrote: There's another consideration which you may already be aware of, but which I only just found out now, after playing around

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 12:02:17PM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Now, there's also another problem with the URL inset. Currently, I'm having ... the same

Re: [Cvslog] r21198 [2/2] - in /lyx-devel/trunk/src: BranchList.cpp Bu...

2007-10-28 Thread Andre Poenitz
On Fri, Oct 26, 2007 at 09:56:18AM +0200, Abdelrazak Younes wrote: Andre Poenitz wrote: On Thu, Oct 25, 2007 at 12:41:06PM -, [EMAIL PROTECTED] wrote: URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/mathed/InsetMathFrameBox.cpp?rev=21198

Re: [Cvslog] r21198 [2/2] - in /lyx-devel/trunk/src: BranchList.cpp Bu...

2007-10-28 Thread Abdelrazak Younes
Andre Poenitz wrote: As the name for the type I'd like to have CapitaliedCamelBump, that's how 95% of our types look like. Agreed. Slightly augmented version of your list: colorForeground foregroundColor colorforeground foreground_COLOR foregroundCOLOR foreground_color

Re: Questions: latex_language

2007-10-28 Thread Abdelrazak Younes
Martin Vermeer wrote: On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Martin Vermeer wrote: There's another consideration which you may already be aware of, but which I only just found out now, after

Re: [Cvslog] r21198 [2/2] - in /lyx-devel/trunk/src: BranchList.cpp Bu...

2007-10-28 Thread Andre Poenitz
On Sun, Oct 28, 2007 at 11:54:38AM +0100, Abdelrazak Younes wrote: Andre Poenitz wrote: As the name for the type I'd like to have CapitaliedCamelBump, that's how 95% of our types look like. Agreed. Slightly augmented version of your list: colorForeground foregroundColor

Re: [Cvslog] r21198 [2/2] - in /lyx-devel/trunk/src: BranchList.cpp Bu...

2007-10-28 Thread Abdelrazak Younes
Andre Poenitz wrote: On Sun, Oct 28, 2007 at 11:54:38AM +0100, Abdelrazak Younes wrote: color_Foreground This one looks weird. foreground_Color Huh.. did I write the last two? Yes :-) I mean color_foreground and foreground_color. Not good IMHO. This one looks OK as it is

Re: [Cvslog] r21198 [2/2] - in /lyx-devel/trunk/src: BranchList.cpp Bu...

2007-10-28 Thread Andre Poenitz
On Sun, Oct 28, 2007 at 12:26:46PM +0100, Abdelrazak Younes wrote: Andre Poenitz wrote: On Sun, Oct 28, 2007 at 11:54:38AM +0100, Abdelrazak Younes wrote: color_Foreground This one looks weird. foreground_Color Huh.. did I write the last two? Yes :-) I mean color_foreground and

request to remove the file TabellenBeispiel.lyx from 1.5.x branch

2007-10-28 Thread Uwe Stöhr
The file TableExamples.lyx has been removed some months ago because its content is much better described in the Embedded Objects manual. Since LyX 1.5.2 the EmbeddedObjects manual is available in German, so I remove the German version of TableExamples.lyx in trunk. Am I allowed to do the

[patch] fix bug 4305: add support for \tbinom and \dbinom

2007-10-28 Thread Uwe Stöhr
Attached a patch for bug 4305 http://bugzilla.lyx.org/show_bug.cgi?id=4305 The patch is simple copy and paste from the \tfrac and \dfrac routines with the metrics of \binom. It works like expected, like \tfrac and \dfrac, so when there are no objections I would like to put it in. There's no

[patch] fix bug 4308 for LyX 1.5.3

2007-10-28 Thread Uwe Stöhr
Attached a patch for bug 4308 http://bugzilla.lyx.org/show_bug.cgi?id=4308 for LyX 1.5.3. Jürgen, OK? regards Uwe Index: InsetMathBinom.cpp === --- InsetMathBinom.cpp (revision 21229) +++ InsetMathBinom.cpp (working copy) @@ -47,7

Re: cell alignment in v1.4.5.1

2007-10-28 Thread Uwe Stöhr
i have not inspected the lyx file You should, it contains a LaTeX-preamble irrelevant for what you have in the example file. Attached is a slightly modified file Is that a bug? That table 2 in the attached file is displayed with too much space is a consequence of bug 1925

Re: [patch] fix bug 4305: add support for \tbinom and \dbinom

2007-10-28 Thread Andre Poenitz
On Sun, Oct 28, 2007 at 02:38:15PM +0100, Uwe Stöhr wrote: Attached a patch for bug 4305 http://bugzilla.lyx.org/show_bug.cgi?id=4305 The patch is simple copy and paste from the \tfrac and \dfrac routines with the metrics of \binom. It works like expected, like \tfrac and \dfrac, so when

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 11:56:51AM +0100, Abdelrazak Younes wrote: Martin Vermeer wrote: On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Martin Vermeer wrote: ... I would not be happy about this as I said.

Re: Questions: latex_language

2007-10-28 Thread Dov Feldstern
Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Now, there's also another problem with the URL inset. Currently, I'm having the same problem we were having a few weeks back with the ERT insets: if I try to insert a URL while typing Hebrew text, the font

Re: Questions: latex_language

2007-10-28 Thread Abdelrazak Younes
Martin Vermeer wrote: On Sun, Oct 28, 2007 at 11:56:51AM +0100, Abdelrazak Younes wrote: Martin Vermeer wrote: On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Martin Vermeer wrote: ... I would not be happy

Re: Questions: latex_language

2007-10-28 Thread Dov Feldstern
Martin Vermeer wrote: On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Now, there's also another problem with the URL inset. Currently, I'm having the same problem we were having a few weeks back with the ERT

Re: Questions: latex_language

2007-10-28 Thread Dov Feldstern
Martin Vermeer wrote: On Sun, Oct 28, 2007 at 12:02:17PM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Now, there's also another problem with the URL inset. Currently, I'm having

Re: A GuiKeySymbol setKeySymbol bug?

2007-10-28 Thread Bo Peng
There is a bug with the new Shortcut input dialog. Namely, you can input Alt-x, Shift-x, but not Ctrl-x (C- is displayed), despite the fact that these modifiers are handled in the same way. i don't see this on windows Could you please give me more details? I compiled the current trunk

About font and language...

2007-10-28 Thread Abdelrazak Younes
Hello, I've just split the Font class in saner bits: * Font::FontBits - FontInfo * Font::FONT_XXX - all enums transfered to FontEnums.h and renamed to FontXxx I've replaced Font uses with FontInfo were the language() member was not needed, basically all draw() and metrics methods. There was

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 12:11:23PM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 12:02:17PM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Now, there's also another

Re: Questions: latex_language

2007-10-28 Thread Dov Feldstern
Abdelrazak Younes wrote: Martin Vermeer wrote: On Sun, Oct 28, 2007 at 11:56:51AM +0100, Abdelrazak Younes wrote: Martin Vermeer wrote: On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Martin Vermeer wrote: ...

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 08:51:33PM +0200, Dov Feldstern wrote: Martin Vermeer wrote: On Sun, Oct 28, 2007 at 12:02:17PM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Now, there's

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 08:42:11PM +0200, Dov Feldstern wrote: Martin Vermeer wrote: On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Now, there's also another problem with the URL inset. Currently, I'm

Re: Questions: latex_language

2007-10-28 Thread Dov Feldstern
Martin Vermeer wrote: To answer my own question, it seems to be LFUN_LANGUAGE. Does the attached patch allow you to modify language inside a verbatim inset (but not ERT)? - Martin Yes, it does. But nonetheless, it is not correct. First of all, the output is still in Hebrew, as there's no

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 08:27:33PM +0200, Dov Feldstern wrote: ... Have you tried to change the language around the URL inset (i.e., at the location of the inset in the external lyxtext) to English? No, this won't work (I mean, it will work, but it's wrong for a different reason):

Re: About font and language...

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 08:05:10PM +0100, Abdelrazak Younes wrote: Hello, I've just split the Font class in saner bits: * Font::FontBits - FontInfo * Font::FONT_XXX - all enums transfered to FontEnums.h and renamed to FontXxx I've replaced Font uses with FontInfo were the language()

Re: A GuiKeySymbol setKeySymbol bug?

2007-10-28 Thread Edwin Leuven
Bo Peng wrote: Could you please give me more details? I compiled the current trunk under windows, open lyx, Tool-Preference-Shortcuts-New, and when I type Ctrl-S, I get C-, and see 'C-_' in user.bind. This is qt 422. there are no more details: i get C-s in the meantime setting a shortcut

Re: About font and language...

2007-10-28 Thread Dov Feldstern
Abdelrazak Younes wrote: Hello, I've just split the Font class in saner bits: * Font::FontBits - FontInfo * Font::FONT_XXX - all enums transfered to FontEnums.h and renamed to FontXxx I've replaced Font uses with FontInfo were the language() member was not needed, basically all draw() and

Re: About font and language...

2007-10-28 Thread Edwin Leuven
Dov Feldstern wrote: ATM it doesn't compile, though, so it's hard to test it ;) . compiles here...

Re: Questions: latex_language

2007-10-28 Thread Dov Feldstern
Martin Vermeer wrote: On Sun, Oct 28, 2007 at 08:27:33PM +0200, Dov Feldstern wrote: ... Have you tried to change the language around the URL inset (i.e., at the location of the inset in the external lyxtext) to English? No, this won't work (I mean, it will work, but it's wrong for a

Re: About font and language...

2007-10-28 Thread Dov Feldstern
Edwin Leuven wrote: Dov Feldstern wrote: ATM it doesn't compile, though, so it's hard to test it ;) . compiles here... not here... Linux, g++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_ST R

Re: A GuiKeySymbol setKeySymbol bug?

2007-10-28 Thread Bo Peng
Could you please give me more details? I compiled the current trunk under windows, open lyx, Tool-Preference-Shortcuts-New, and when I type Ctrl-S, I get C-, and see 'C-_' in user.bind. This is qt 422. there are no more details: i get C-s That is weird, because JMarc seems to have the

Re: About font and language...

2007-10-28 Thread Abdelrazak Younes
Dov Feldstern wrote: Abdelrazak Younes wrote: PS: Dov, there could be some problems with this last commit and bidi support. I've tried hard to only change the interfaces and to maintain the logic but bugs happen. Please let me know if there's anything wrong. Yeah, I'm sitting here

Re: About font and language...

2007-10-28 Thread Andre Poenitz
On Sun, Oct 28, 2007 at 08:05:10PM +0100, Abdelrazak Younes wrote: Anyway, I think the language and font information should not be in the same class. I don't understand why we are forced to set a font when we only want to set the language for example. What we need is a templated 'Range' class

Re: A GuiKeySymbol setKeySymbol bug?

2007-10-28 Thread Abdelrazak Younes
Bo Peng wrote: another bug is that applying actually save the changes... I see no reason for this apply, and it is not clear to me if 'save' will imply 'apply', or if 'apply' means 'no need to restart lyx'. I would suggest that we remove all apply buttons. Have you noticed the bug where

Re: About font and language...

2007-10-28 Thread Abdelrazak Younes
Andre Poenitz wrote: On Sun, Oct 28, 2007 at 08:05:10PM +0100, Abdelrazak Younes wrote: Anyway, I think the language and font information should not be in the same class. I don't understand why we are forced to set a font when we only want to set the language for example. What we need is a

Re: About font and language...

2007-10-28 Thread Abdelrazak Younes
Dov Feldstern wrote: Edwin Leuven wrote: Dov Feldstern wrote: ATM it doesn't compile, though, so it's hard to test it ;) . compiles here... not here... Linux, g++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) My fault, sorry. It's fixed now. Abdel.

Re: About font and language...

2007-10-28 Thread Abdelrazak Younes
Martin Vermeer wrote: On Sun, Oct 28, 2007 at 08:05:10PM +0100, Abdelrazak Younes wrote: Anyway, I think the language and font information should not be in the same class. I don't understand why we are forced to set a font when we only want to set the language for example. What we need is a

Re: About font and language...

2007-10-28 Thread Dov Feldstern
Abdelrazak Younes wrote: Dov Feldstern wrote: Abdelrazak Younes wrote: PS: Dov, there could be some problems with this last commit and bidi support. I've tried hard to only change the interfaces and to maintain the logic but bugs happen. Please let me know if there's anything wrong.

Re: About font and language...

2007-10-28 Thread Abdelrazak Younes
Dov Feldstern wrote: Abdelrazak Younes wrote: Dov Feldstern wrote: Abdelrazak Younes wrote: PS: Dov, there could be some problems with this last commit and bidi support. I've tried hard to only change the interfaces and to maintain the logic but bugs happen. Please let me know if there's

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 10:17:37PM +0200, Dov Feldstern wrote: Martin Vermeer wrote: On Sun, Oct 28, 2007 at 08:27:33PM +0200, Dov Feldstern wrote: ... Have you tried to change the language around the URL inset (i.e., at the location of the inset in the external lyxtext) to English?

Re: [patch] fix bug 4305: add support for \tbinom and \dbinom

2007-10-28 Thread Uwe Stöhr
Andre Poenitz schrieb: Looks good. I've put it in. regards Uwe

changeset/21240: FontEnums.cpp is missing

2007-10-28 Thread Uwe Stöhr
Abdel, you forgot to upload also the file FontEnums.cpp. Uwe

Re: About font and language...

2007-10-28 Thread Dov Feldstern
Abdelrazak Younes wrote: PS: Dov, there could be some problems with this last commit and bidi support. I've tried hard to only change the interfaces and to maintain the logic but bugs happen. Please let me know if there's anything wrong. Abdel. Hmm, yes, there are: it looks like the

Re: [patch] fix bug 4305: add support for \tbinom and \dbinom

2007-10-28 Thread Uwe Stöhr
Andé, there are some long standing mathed bugs and enhancements, to be exact 111 bug reports: http://tinyurl.com/389d53 Do you plan to start working on mathed again? The macro bugs will be squashed by Stefan Steins' new macro code but there are many bugs that need a mathed expert like you.

Re: changeset/21240: FontEnums.cpp is missing

2007-10-28 Thread Abdelrazak Younes
Uwe Stöhr wrote: Abdel, you forgot to upload also the file FontEnums.cpp. There is no such file. Abdel.

Re: About font and language...

2007-10-28 Thread Abdelrazak Younes
Dov Feldstern wrote: Abdelrazak Younes wrote: PS: Dov, there could be some problems with this last commit and bidi support. I've tried hard to only change the interfaces and to maintain the logic but bugs happen. Please let me know if there's anything wrong. Abdel. Hmm, yes, there are: it

Re: Questions: latex_language

2007-10-28 Thread Dov Feldstern
Martin Vermeer wrote: On Sun, Oct 28, 2007 at 10:17:37PM +0200, Dov Feldstern wrote: Martin Vermeer wrote: On Sun, Oct 28, 2007 at 08:27:33PM +0200, Dov Feldstern wrote: ... Have you tried to change the language around the URL inset (i.e., at the location of the inset in the external

Re: About font and language...

2007-10-28 Thread Abdelrazak Younes
Dov Feldstern wrote: Abdelrazak Younes wrote: PS: Dov, there could be some problems with this last commit and bidi support. I've tried hard to only change the interfaces and to maintain the logic but bugs happen. Please let me know if there's anything wrong. Abdel. Hmm, yes, there are: it

Re: A GuiKeySymbol setKeySymbol bug?

2007-10-28 Thread Bo Peng
Have you noticed the bug where typing enter does not work anymore after clicking on the Apply button of the Prefs setting dialog? I think I know what is going on. Lyx inserts a bunch of hard-coded \bind after all bind files are read. When the apply button is pressed, all bindings are removed,

Re: changeset/21240: FontEnums.cpp is missing

2007-10-28 Thread Uwe Stöhr
There is no such file. But you registered it to scons_manifest.py in r21240. Therefore I thought that you forgot it. Is it correct that there is now a FontEnums.h but no FontEnums.cpp? Uwe

Re: changeset/21240: FontEnums.cpp is missing

2007-10-28 Thread Abdelrazak Younes
Uwe Stöhr wrote: There is no such file. But you registered it to scons_manifest.py in r21240. Therefore I thought that you forgot it. Ah, sorry. Is it correct that there is now a FontEnums.h but no FontEnums.cpp? Correct. Abdel.

Re: A GuiKeySymbol setKeySymbol bug?

2007-10-28 Thread Bo Peng
Abdel. Could you please test if you can enter 'C-s' in the shortcut configuration panel? Bo

Re: A wishlist for LyX

2007-10-28 Thread Richard Heck
Many of these are reasonable ideas. You're welcome to add them to bugzilla. 1. todo tag puts a tag in (much like a comment), but also adds this to a list of some sort so that you can switch between items todo perhaps this todo tag could be placed in the headings to flag a section as

Re: About font and language...

2007-10-28 Thread Dov Feldstern
Abdelrazak Younes wrote: Dov Feldstern wrote: Abdelrazak Younes wrote: PS: Dov, there could be some problems with this last commit and bidi support. I've tried hard to only change the interfaces and to maintain the logic but bugs happen. Please let me know if there's anything wrong. Abdel.

Re: A wishlist for LyX

2007-10-28 Thread Alexander Streit
Hi Richard, thanks for your comments. I've made my own inline below to clarify some points. On 10/29/07, Richard Heck [EMAIL PROTECTED] wrote: 3. auto-complete cite/crossref press a magic key and start typing. lyx will try to auto-complete the author name year. press enter to accept,

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Mon, Oct 29, 2007 at 12:45:22AM +0200, Dov Feldstern wrote: ... (And out of interest, does the workaround abc \R{[DEF \L{{url}} GHI]} jkl work, with [...] being, e.g., a branch inset?) Interesting... Yes, it does work. But I don't want to have to do this every time I switch

A wishlist for LyX

2007-10-28 Thread Alexander Streit
Hi developers, been writing on my thesis (love LyX for that) and collecting random ideas in a text file about improvements. Some of these may already be planned, some not. But if anyone is looking for something to add to LyX, then these are what I would have enjoyed. They are in rough order of

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: > > > Martin Vermeer wrote: > > But then there is an essential difference between ERT and Listing: the > > content of ERT is executable code, i.e., the rendered document contains > > its output, not the code itself. An ERT's content

Re: Questions: latex_language

2007-10-28 Thread Abdelrazak Younes
Martin Vermeer wrote: I have two questions about latex_language: 1)is it true that all it does is prevent the text from being spell checked (and bluelined)? And 2) is is also true that it differs from ignore_language in that the latter means that language _changes_ are ignored ... meaning

Re: A GuiKeySymbol setKeySymbol bug?

2007-10-28 Thread Edwin Leuven
Bo Peng wrote: There is a bug with the new Shortcut input dialog. Namely, you can input Alt-x, Shift-x, but not Ctrl-x (C- is displayed), despite the fact that these modifiers are handled in the same way. i don't see this on windows ... in the meantime setting a shortcut screws up my

cell alignment in v1.4.5.1

2007-10-28 Thread pol
Here enclosed my test file containing two tables. In the first one, vertical alignment is not properly accomplished. In the second one, it is ok. That has been obtained by copying the first table and replacing blue underlined cell content (where probably a different lang was set - i have not

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: > On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: > > > > > > Martin Vermeer wrote: > > There's another consideration which you may already be aware of, but which > > I > > only just found out now, after

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 12:02:17PM +0200, Martin Vermeer wrote: > On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: > > On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: > > > Now, there's also another problem with the URL inset. Currently, I'm > > > having ... > >

Re: [Cvslog] r21198 [2/2] - in /lyx-devel/trunk/src: BranchList.cpp Bu...

2007-10-28 Thread Andre Poenitz
On Fri, Oct 26, 2007 at 09:56:18AM +0200, Abdelrazak Younes wrote: > Andre Poenitz wrote: >> On Thu, Oct 25, 2007 at 12:41:06PM -, [EMAIL PROTECTED] wrote: >>> URL: >>> http://www.lyx.org/trac/file/lyx-devel/trunk/src/mathed/InsetMathFrameBox.cpp?rev=21198 >>>

Re: [Cvslog] r21198 [2/2] - in /lyx-devel/trunk/src: BranchList.cpp Bu...

2007-10-28 Thread Abdelrazak Younes
Andre Poenitz wrote: As the name for the type I'd like to have CapitaliedCamelBump, that's how >95% of our types look like. Agreed. Slightly augmented version of your list: colorForeground foregroundColor colorforeground foreground_COLOR foregroundCOLOR foreground_color

Re: Questions: latex_language

2007-10-28 Thread Abdelrazak Younes
Martin Vermeer wrote: On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Martin Vermeer wrote: There's another consideration which you may already be aware of, but which I only just found out now, after

Re: [Cvslog] r21198 [2/2] - in /lyx-devel/trunk/src: BranchList.cpp Bu...

2007-10-28 Thread Andre Poenitz
On Sun, Oct 28, 2007 at 11:54:38AM +0100, Abdelrazak Younes wrote: > Andre Poenitz wrote: >> As the name for the type I'd like to have CapitaliedCamelBump, >> that's how >95% of our types look like. > > Agreed. > >> Slightly augmented version of your list: >> colorForeground >> foregroundColor

Re: [Cvslog] r21198 [2/2] - in /lyx-devel/trunk/src: BranchList.cpp Bu...

2007-10-28 Thread Abdelrazak Younes
Andre Poenitz wrote: On Sun, Oct 28, 2007 at 11:54:38AM +0100, Abdelrazak Younes wrote: color_Foreground This one looks weird. foreground_Color Huh.. did I write the last two? Yes :-) I mean color_foreground and foreground_color. Not good IMHO. This one looks OK as it is

Re: [Cvslog] r21198 [2/2] - in /lyx-devel/trunk/src: BranchList.cpp Bu...

2007-10-28 Thread Andre Poenitz
On Sun, Oct 28, 2007 at 12:26:46PM +0100, Abdelrazak Younes wrote: > Andre Poenitz wrote: >> On Sun, Oct 28, 2007 at 11:54:38AM +0100, Abdelrazak Younes wrote: > color_Foreground >>> This one looks weird. >>> foreground_Color >> Huh.. did I write the last two? > > Yes :-) > >> I mean

request to remove the file "TabellenBeispiel.lyx" from 1.5.x branch

2007-10-28 Thread Uwe Stöhr
The file "TableExamples.lyx" has been removed some months ago because its content is much better described in the Embedded Objects manual. Since LyX 1.5.2 the EmbeddedObjects manual is available in German, so I remove the German version of "TableExamples.lyx" in trunk. Am I allowed to do the

[patch] fix bug 4305: add support for \tbinom and \dbinom

2007-10-28 Thread Uwe Stöhr
Attached a patch for bug 4305 http://bugzilla.lyx.org/show_bug.cgi?id=4305 The patch is simple copy and paste from the \tfrac and \dfrac routines with the metrics of \binom. It works like expected, like \tfrac and \dfrac, so when there are no objections I would like to put it in. There's no

[patch] fix bug 4308 for LyX 1.5.3

2007-10-28 Thread Uwe Stöhr
Attached a patch for bug 4308 http://bugzilla.lyx.org/show_bug.cgi?id=4308 for LyX 1.5.3. Jürgen, OK? regards Uwe Index: InsetMathBinom.cpp === --- InsetMathBinom.cpp (revision 21229) +++ InsetMathBinom.cpp (working copy) @@ -47,7

Re: cell alignment in v1.4.5.1

2007-10-28 Thread Uwe Stöhr
> i have not inspected the lyx file You should, it contains a LaTeX-preamble irrelevant for what you have in the example file. Attached is a slightly modified file > Is that a bug? That table 2 in the attached file is displayed with too much space is a consequence of bug 1925

Re: [patch] fix bug 4305: add support for \tbinom and \dbinom

2007-10-28 Thread Andre Poenitz
On Sun, Oct 28, 2007 at 02:38:15PM +0100, Uwe Stöhr wrote: > Attached a patch for bug 4305 > http://bugzilla.lyx.org/show_bug.cgi?id=4305 > > The patch is simple copy and paste from the \tfrac and \dfrac routines with > the metrics of \binom. It works like expected, like \tfrac and \dfrac, so >

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 11:56:51AM +0100, Abdelrazak Younes wrote: > Martin Vermeer wrote: > >On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: > >>On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: > >>> > >>> Martin Vermeer wrote: > > ... > >I would not be happy about

Re: Questions: latex_language

2007-10-28 Thread Dov Feldstern
Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Now, there's also another problem with the URL inset. Currently, I'm having the same problem we were having a few weeks back with the ERT insets: if I try to insert a URL while typing Hebrew text, the font

Re: Questions: latex_language

2007-10-28 Thread Abdelrazak Younes
Martin Vermeer wrote: On Sun, Oct 28, 2007 at 11:56:51AM +0100, Abdelrazak Younes wrote: Martin Vermeer wrote: On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Martin Vermeer wrote: ... I would not be happy

Re: Questions: latex_language

2007-10-28 Thread Dov Feldstern
Martin Vermeer wrote: On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Now, there's also another problem with the URL inset. Currently, I'm having the same problem we were having a few weeks back with the ERT

Re: Questions: latex_language

2007-10-28 Thread Dov Feldstern
Martin Vermeer wrote: On Sun, Oct 28, 2007 at 12:02:17PM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Now, there's also another problem with the URL inset. Currently, I'm having

Re: A GuiKeySymbol setKeySymbol bug?

2007-10-28 Thread Bo Peng
> > There is a bug with the new Shortcut input dialog. Namely, you can > > input Alt-x, Shift-x, but not Ctrl-x (C- is displayed), despite the > > fact that these modifiers are handled in the same way. > > i don't see this on windows Could you please give me more details? I compiled the current

About font and language...

2007-10-28 Thread Abdelrazak Younes
Hello, I've just split the Font class in saner bits: * Font::FontBits -> FontInfo * Font::FONT_XXX -> all enums transfered to FontEnums.h and renamed to FontXxx I've replaced Font uses with FontInfo were the language() member was not needed, basically all draw() and metrics methods. There

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 12:11:23PM +0200, Martin Vermeer wrote: > On Sun, Oct 28, 2007 at 12:02:17PM +0200, Martin Vermeer wrote: > > On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: > > > On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: > > > > Now, there's also

Re: Questions: latex_language

2007-10-28 Thread Dov Feldstern
Abdelrazak Younes wrote: Martin Vermeer wrote: On Sun, Oct 28, 2007 at 11:56:51AM +0100, Abdelrazak Younes wrote: Martin Vermeer wrote: On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: Martin Vermeer wrote: ...

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 08:51:33PM +0200, Dov Feldstern wrote: > Martin Vermeer wrote: > >On Sun, Oct 28, 2007 at 12:02:17PM +0200, Martin Vermeer wrote: > >>On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: > >>>On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: >

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 08:42:11PM +0200, Dov Feldstern wrote: > > > Martin Vermeer wrote: > >On Sun, Oct 28, 2007 at 09:37:36AM +0200, Martin Vermeer wrote: > >>On Sun, Oct 28, 2007 at 02:27:25AM +0200, Dov Feldstern wrote: > > >>> Now, there's also another problem with the URL inset.

Re: Questions: latex_language

2007-10-28 Thread Dov Feldstern
Martin Vermeer wrote: To answer my own question, it seems to be LFUN_LANGUAGE. Does the attached patch allow you to modify language inside a verbatim inset (but not ERT)? - Martin Yes, it does. But nonetheless, it is not correct. First of all, the output is still "in Hebrew", as there's no

Re: Questions: latex_language

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 08:27:33PM +0200, Dov Feldstern wrote: ... > >Have you tried to change the language around the URL inset (i.e., at the > >location of the inset in the external lyxtext) to English? > > No, this won't work (I mean, it will work, but it's wrong for a > different

Re: About font and language...

2007-10-28 Thread Martin Vermeer
On Sun, Oct 28, 2007 at 08:05:10PM +0100, Abdelrazak Younes wrote: > Hello, > > I've just split the Font class in saner bits: > > * Font::FontBits -> FontInfo > * Font::FONT_XXX -> all enums transfered to FontEnums.h and renamed to > FontXxx > > I've replaced Font uses with FontInfo were the

Re: A GuiKeySymbol setKeySymbol bug?

2007-10-28 Thread Edwin Leuven
Bo Peng wrote: Could you please give me more details? I compiled the current trunk under windows, open lyx, Tool->Preference->Shortcuts->New, and when I type Ctrl-S, I get C-, and see 'C-_' in user.bind. This is qt 422. there are no more details: i get C-s in the meantime setting a shortcut

Re: About font and language...

2007-10-28 Thread Dov Feldstern
Abdelrazak Younes wrote: Hello, I've just split the Font class in saner bits: * Font::FontBits -> FontInfo * Font::FONT_XXX -> all enums transfered to FontEnums.h and renamed to FontXxx I've replaced Font uses with FontInfo were the language() member was not needed, basically all draw()

Re: About font and language...

2007-10-28 Thread Edwin Leuven
Dov Feldstern wrote: ATM it doesn't compile, though, so it's hard to test it ;) . compiles here...

Re: Questions: latex_language

2007-10-28 Thread Dov Feldstern
Martin Vermeer wrote: On Sun, Oct 28, 2007 at 08:27:33PM +0200, Dov Feldstern wrote: ... Have you tried to change the language around the URL inset (i.e., at the location of the inset in the external lyxtext) to English? No, this won't work (I mean, it will work, but it's wrong for a

Re: About font and language...

2007-10-28 Thread Dov Feldstern
Edwin Leuven wrote: Dov Feldstern wrote: ATM it doesn't compile, though, so it's hard to test it ;) . compiles here... not here... Linux, g++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_ST R

  1   2   >