Re: [Cvslog] r21127 - /lyx-devel/trunk/src/Paragraph.cpp

2007-10-23 Thread Andre Poenitz
On Tue, Oct 23, 2007 at 12:13:55AM +0200, Lars Gullik Bjønnes wrote: Andre Poenitz [EMAIL PROTECTED] writes: | On Mon, Oct 22, 2007 at 10:41:13PM +0200, Abdelrazak Younes wrote: | Andre Poenitz wrote: | On Mon, Oct 22, 2007 at 08:05:42PM -, [EMAIL PROTECTED] wrote: | Author: younes

Re: Patch Candidate List #6

2007-10-23 Thread Jürgen Spitzmüller
Enrico Forestieri wrote: Here it is. May I apply it? A few questions and comments. Generally: do I get it right that knownLangChars knows that the proper lang is set from the return value of latexChar? I.e., if the language is set to greek, econding.latexChar returns 'α', while it returns

Re: Buffer LaTeX

2007-10-23 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: Actually it's starting to scare me... Andel ^^^ it really should. Jürgen

Re: shortcuts

2007-10-23 Thread Andre Poenitz
On Mon, Oct 22, 2007 at 05:38:55PM -0500, Bo Peng wrote: I adapt Edwin's patch to lyx, with two glitches 1. I need to record multiple keystrokes. 2. I need to write A-, instead of Alt+ Abdel, am I adding the ShortcutEdit correctly? I remove the lineedit from the ui file, and copy the

Re: [Cvslog] r21139 - in /lyx-devel/branches/personal/rgheck/icp: lib/...

2007-10-23 Thread Andre Poenitz
On Tue, Oct 23, 2007 at 02:22:33AM -, [EMAIL PROTECTED] wrote: Modified: lyx-devel/branches/personal/rgheck/icp/src/frontends/qt4/GuiRef.h URL: http://www.lyx.org/trac/file/lyx-devel/branches/personal/rgheck/icp/src/frontends/qt4/GuiRef.h?rev=21139

Re: Buffer LaTeX

2007-10-23 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: Actually it's starting to scare me... Andel ^^^ it really should. That was a tentative of humor actually ;-) Abdel.

Re: [Cvslog] r21127 - /lyx-devel/trunk/src/Paragraph.cpp

2007-10-23 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Andre Poenitz [EMAIL PROTECTED] writes: | On Mon, Oct 22, 2007 at 10:41:13PM +0200, Abdelrazak Younes wrote: | Andre Poenitz wrote: | On Mon, Oct 22, 2007 at 08:05:42PM -, [EMAIL PROTECTED] wrote: | Author: younes | Date: Mon Oct 22 22:05:41 2007 | New

Re: [PATCH] InsetInclude -- InsetCommand

2007-10-23 Thread Richard Heck
Angus Leeming wrote: Richard Heck wrote: The attached patch finishes this bit of work, left over from the InsetCommand conversion. Comments welcome before I commit. This sort of change gives me a nice, warm, fuzzy feeling. It's obvious you've done something right when you can remove

Re: shortcuts

2007-10-23 Thread Abdelrazak Younes
Bo Peng wrote: I adapt Edwin's patch to lyx, with two glitches 1. I need to record multiple keystrokes. 2. I need to write A-, instead of Alt+ Abdel, am I adding the ShortcutEdit correctly? I remove the lineedit from the ui file, and copy the original code from blah_ui.h to GuiPrefs.cpp.

Re: [Cvslog] r21139 - in /lyx-devel/branches/personal/rgheck/icp: lib/...

2007-10-23 Thread Richard Heck
thanks as always Andre Poenitz wrote: On Tue, Oct 23, 2007 at 02:22:33AM -, [EMAIL PROTECTED] wrote: Modified: lyx-devel/branches/personal/rgheck/icp/src/frontends/qt4/GuiRef.h URL:

Re: [PATCH] InsetInclude -- InsetCommand

2007-10-23 Thread Abdelrazak Younes
Richard Heck wrote: The attached patch finishes this bit of work, left over from the InsetCommand conversion. Comments welcome before I commit. Looks obviously good ;-) Next step is to remove the InsetCommandMailer... Abdel.

Re: [PATCH] InsetInclude -- InsetCommand

2007-10-23 Thread Abdelrazak Younes
Richard Heck wrote: Angus Leeming wrote: Richard Heck wrote: The attached patch finishes this bit of work, left over from the InsetCommand conversion. Comments welcome before I commit. This sort of change gives me a nice, warm, fuzzy feeling. It's obvious you've done something right

Re: Buffer LaTeX

2007-10-23 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: That was a tentative of humor actually ;-) Given the location of the substituted and substituting char on the keyboard, it was a really subtle joke ;-) Jürgen

Re: [Cvslog] r21118 - /lyx-devel/trunk/src/frontends/qt4/GuiPrefs.cpp

2007-10-23 Thread Jean-Marc Lasgouttes
Bo Peng [EMAIL PROTECTED] writes: Bo, note that using hardcoded colors is not a good idea. Do you want me to add them to Colors.h/cpp so that they can be configurable? I am also wondering whether we need so many colors and cases. I do not understand what UserBind and UserExtraUnbind are good

Re: [Cvslog] r21130 - /lyx-devel/branches/BRANCH_1_5_X/status.15x

2007-10-23 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] writes: Author: uwestoehr Date: Tue Oct 23 01:03:10 2007 New Revision: 21130 URL: http://www.lyx.org/trac/changeset/21130 Log: status.15x: - reintroduce an entry that was accidentally removed in r21120 - rewrite two entries for better understanding Oops!

Re: Buffer LaTeX

2007-10-23 Thread Andre Poenitz
On Tue, Oct 23, 2007 at 08:14:17AM +0200, Abdelrazak Younes wrote: Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: Actually it's starting to scare me... Andel ^^^ it really should. That was a tentative of humor actually ;-) Throwing humour at Germans is generally a lost cause.

Re: Support request for Japanese without CJK

2007-10-23 Thread Jean-Marc Lasgouttes
Uwe Stöhr [EMAIL PROTECTED] writes: Koji Yokota schrieb: Currently, platex cannot find these classes with configure.py because it is not recognized as a latex binary. Could you apply the attached patches (or else) so that it can find the classes (and also preview of math to work)? I

Re: Dynamic Macro - documentation and updated patch

2007-10-23 Thread Jean-Marc Lasgouttes
Stefan Schimanski [EMAIL PROTECTED] writes: Well, I reorganize the insets in the MathData. Not sure if it makes sense to use mutable here. In fact this question suggests that updateMacros should be called from somewhere else, not the metrics method. But of course I don't want to integrate a

Re: [PATCH] Embedded child document type.

2007-10-23 Thread Jean-Marc Lasgouttes
Bo Peng [EMAIL PROTECTED] writes: This feature aims at particular cls file provided by journals and publishers. For example, the book I am writing uses wiley monograph latex template, which has .bst, .sty, .cls and .ist files, and a layout file prepared by myself. It would be a lot of work to

Re: LaTex progress widget

2007-10-23 Thread Jean-Marc Lasgouttes
Andre Poenitz [EMAIL PROTECTED] writes: Windows has 'CreatePipe'. and no popen? Hmm, looking at ms documentation, I see there is a _popen, but it only works for console applications (??). In essence, when you encapsulated that into a class on top of popen/ CreatePipe including detailed

Re: LaTex progress widget

2007-10-23 Thread Jean-Marc Lasgouttes
Peter Kümmel [EMAIL PROTECTED] writes: Jean-Marc Lasgouttes wrote: Peter Kümmel [EMAIL PROTECTED] writes: Here the updated patch, it only needs an menu entry for hideing/showing the dock widget. A naive question: what does QProcess gives us that popen would not provide for this particular

Re: LaTex progress widget

2007-10-23 Thread Jean-Marc Lasgouttes
Andre Poenitz [EMAIL PROTECTED] writes: if lock-in is technical or political is a debate of its own I guess. Locked in by the GPL. Sure, that's a problem. Ahh, a new debate, at last ! JMarc

Re: shortcuts

2007-10-23 Thread Jean-Marc Lasgouttes
Bo Peng [EMAIL PROTECTED] writes: I adapt Edwin's patch to lyx, with two glitches 1. I need to record multiple keystrokes. 2. I need to write A-, instead of Alt+ You should not need to write anything, but just to use the converting functions that already exist between Qt keycodes and our

Re: Buffer LaTeX

2007-10-23 Thread Andre Poenitz
On Tue, Oct 23, 2007 at 08:42:46AM +0200, Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: That was a tentative of humor actually ;-) Given the location of the substituted and substituting char on the keyboard, it was a really subtle joke ;-) But he tried that already a while ago. By

Re: [patch] Re: trunk doesn't compile, GuiPrefs, Qt 4.2.1

2007-10-23 Thread Jean-Marc Lasgouttes
Bo Peng [EMAIL PROTECTED] writes: #if QT_VERSION = 0x040200 - item-setForeground(0, QBrush(color)); - item-setForeground(1, QBrush(color)); + item-setForeground(0, QBrush(QColor(color))); + item-setForeground(1, QBrush(QColor(color))); #else

Re: Buffer LaTeX

2007-10-23 Thread Abdelrazak Younes
Andre Poenitz wrote: On Tue, Oct 23, 2007 at 08:42:46AM +0200, Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: That was a tentative of humor actually ;-) Given the location of the substituted and substituting char on the keyboard, it was a really subtle joke ;-) But he tried that already

Re: Dynamic Macro - documentation and updated patch

2007-10-23 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Stefan Schimanski [EMAIL PROTECTED] writes: Well, I reorganize the insets in the MathData. Not sure if it makes sense to use mutable here. In fact this question suggests that updateMacros should be called from somewhere else, not the metrics method. But of course I

Re: [patch] Re: trunk doesn't compile, GuiPrefs, Qt 4.2.1

2007-10-23 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Bo Peng [EMAIL PROTECTED] writes: #if QT_VERSION = 0x040200 - item-setForeground(0, QBrush(color)); - item-setForeground(1, QBrush(color)); + item-setForeground(0, QBrush(QColor(color))); + item-setForeground(1, QBrush(QColor(color)));

Re: ERT bug with RTL (was: Re: r21121 also breaks bidi)

2007-10-23 Thread Martin Vermeer
On Mon, 22 Oct 2007 23:33:32 +0200 Dov Feldstern [EMAIL PROTECTED] wrote: Abdelrazak Younes wrote: Dov Feldstern wrote: (This all relates to the situation after undoing the changes to Text.cpp from r21117) At the risk of being proved wrong again (but that's how we learn ;) ) ---

Re: Lyx 1.5: formulae in wide table only appear offscreen while being edited

2007-10-23 Thread Helge Hafting
Darren Freeman wrote: On Sun, 2007-10-14 at 09:39 -0700, Sarah Olsen wrote: In Gutsy's latest LyX, as well as in the more recent version 1.5.2, it is impossible to edit any math in cells of a table that extend off the screen to the right, ie a table which is wider than the screen.

Re: [Cvslog] r21144 - in /lyx-devel/trunk/src/frontends/qt4: GuiParagr...

2007-10-23 Thread Jürgen Spitzmüller
BTW, when opening the paragraph dialog in trunk, I get QLayout: Attempting to add QLayout to lyx::frontend::GuiParagraph ParagraphUi, which already has a layout Also, the dialog is _much_ too small here, initally. Jürgen spitz wrote: Author: spitz Date: Tue Oct 23 10:10:55 2007 New

Re: [Cvslog] r20970 - /lyx-devel/trunk/po/postats.py

2007-10-23 Thread José Matos
On Friday 19 October 2007 14:43:03 Jean-Marc Lasgouttes wrote: Thanks. Now there is the problem of scrambling addresses like foo () example ! com and postats.py will be a replacement for postats.sh. Done. JMarc -- José Abílio

Re: [PATCH] InsetInclude -- InsetCommand

2007-10-23 Thread Richard Heck
Abdelrazak Younes wrote: Richard Heck wrote: Angus Leeming wrote: Richard Heck wrote: The attached patch finishes this bit of work, left over from the InsetCommand conversion. Comments welcome before I commit. This sort of change gives me a nice, warm, fuzzy feeling. It's obvious

Re: [PATCH] InsetInclude -- InsetCommand

2007-10-23 Thread Richard Heck
Abdelrazak Younes wrote: Richard Heck wrote: The attached patch finishes this bit of work, left over from the InsetCommand conversion. Comments welcome before I commit. Looks obviously good ;-) Next step is to remove the InsetCommandMailer... That's a different project rh --

Re: [PATCH] Embedded child document type.

2007-10-23 Thread Helge Hafting
Richard Heck wrote: Jürgen Spitzmüller wrote: Lars Gullik Bjønnes wrote: Doesn't the latex log mention most of these files? \listfiles does. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=filesused Yes, but then what is the proposal? Run LaTeX on some file and extract what needs to

Re: r21147 - /lyx-devel/trunk/src/Paragraph.cpp

2007-10-23 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: Author: younes Date: Tue Oct 23 11:53:06 2007 New Revision: 21147 URL: http://www.lyx.org/trac/changeset/21147 Log: * Paragraph:latex(): de-spaghettization step 2: split out T1 encoding, Typewriter font and 'special phrases' special cases. FYI, I have of course

Re: Patch Candidate List #6

2007-10-23 Thread Enrico Forestieri
On Tue, Oct 23, 2007 at 08:04:49AM +0200, Jürgen Spitzmüller wrote: A few questions and comments. Generally: do I get it right that knownLangChars knows that the proper lang is set from the return value of latexChar? I.e., if the language is set to greek, econding.latexChar returns

Re: r21147 - /lyx-devel/trunk/src/Paragraph.cpp

2007-10-23 Thread Jean-Marc Lasgouttes
Abdelrazak Younes [EMAIL PROTECTED] writes: [EMAIL PROTECTED] wrote: Author: younes Date: Tue Oct 23 11:53:06 2007 New Revision: 21147 URL: http://www.lyx.org/trac/changeset/21147 Log: * Paragraph:latex(): de-spaghettization step 2: split out T1 encoding, Typewriter font and 'special

Re: Support request for Japanese without CJK

2007-10-23 Thread Koji Yokota
Jean-Marc Lasgouttes wrote: But doesn't this mean that somebody who has platex installed is now unable to use LyX to prepare documents in, say, latin1? Yes, that's the problem. It should work well for a user who changed the default converter of latex - DVI to platex and writes only

Re: [PATCH] InsetInclude -- InsetCommand

2007-10-23 Thread Jean-Marc Lasgouttes
Richard Heck [EMAIL PROTECTED] writes: Hum, if these are command strings you should not use to_utf8() but to_ascii(). ok. Note that the only difference is an assertion if the string is not ascii. You must therefore be sure that the user can never make this assumption false. JMarc

Re: Support request for Japanese without CJK

2007-10-23 Thread Koji Yokota
Dear Uwe, Uwe Stöhr wrote: Besides the problem that the platex encoding must be checked by configure.py, we are now ready, right? Yes. I think we have all building blocks by now. It's running well for Japanese documents. Thank you very much. Could you anyway please create a bug report for

Re: [patch] Re: trunk doesn't compile, GuiPrefs, Qt 4.2.1

2007-10-23 Thread Jean-Marc Lasgouttes
Abdelrazak Younes [EMAIL PROTECTED] writes: You are probably confused, QBrush doesn't take a QString nor a char *, it needs a QColor. But QColor can take both: QColor ( const QString name ) QColor ( const char * name ) All I know is that the code I removed was like: -#if QT_VERSION =

Re: Two-screen setup problem

2007-10-23 Thread Jean-Marc Lasgouttes
Stefano Franchi [EMAIL PROTECTED] writes: I recently posted on the Ly Users' forum about a problem with double monitor configuration. As I received no reply, I am trying again in the developers' forum: Here it is: I saw your message at the time, but I do not have any idea right now. the

Invitation to Libre Graphics Meeting 2008

2007-10-23 Thread Jolanta Soja
Hi, I'm Jolanta Soja, and I'm an organizator of Libre Graphics Meeting 2008 (Check http://www.libregraphicsmeeting.org for more info, please). LGM is all about participation. Artists and developers, feel free to bring your laptops and show us what you can (and can't yet) do. Libre Graphics

Re: Dynamic Macro - documentation and updated patch

2007-10-23 Thread Jean-Marc Lasgouttes
Abdelrazak Younes [EMAIL PROTECTED] writes: That makes sense. The best solution would be to just update all reference to the currently edited macro. Could you enlighten me as to why this is not possible actually? This would mean that each macro keeps its own list of reference but I don't see

Re: [Cvslog] r21118 - /lyx-devel/trunk/src/frontends/qt4/GuiPrefs.cpp

2007-10-23 Thread Bo Peng
I am also wondering whether we need so many colors and cases. I do not understand what UserBind and UserExtraUnbind are good for. In this GUI, master bindings (from a bind file) can not be removed. Removals and additions to the shortcut lists are done in user.bind, and items in user.bind can

Re: shortcuts

2007-10-23 Thread Bo Peng
On 10/23/07, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote: Bo Peng [EMAIL PROTECTED] writes: I adapt Edwin's patch to lyx, with two glitches 1. I need to record multiple keystrokes. 2. I need to write A-, instead of Alt+ You should not need to write anything, but just to use the

Re: [Cvslog] r21118 - /lyx-devel/trunk/src/frontends/qt4/GuiPrefs.cpp

2007-10-23 Thread Jean-Marc Lasgouttes
Bo Peng [EMAIL PROTECTED] writes: In this GUI, master bindings (from a bind file) can not be removed. Removals and additions to the shortcut lists are done in user.bind, and items in user.bind can be removed. What would be wrong with only considering overriding, especially when a shortcut

Re: shortcuts

2007-10-23 Thread Jean-Marc Lasgouttes
Bo Peng [EMAIL PROTECTED] writes: I am leaving for a conference, just want to say that I have submitted something different, and please have a look. Note that I did not use QKeySequence, and convert directly from QEvent to KeySymbol. I saw that :) and I do not like it... Have a good

Re: [PATCH] InsetInclude -- InsetCommand

2007-10-23 Thread Richard Heck
Jean-Marc Lasgouttes wrote: Richard Heck [EMAIL PROTECTED] writes: Hum, if these are command strings you should not use to_utf8() but to_ascii(). ok. Note that the only difference is an assertion if the string is not ascii. You must therefore be sure that the user can never

Re: [Cvslog] r21149 - in /lyx-devel/trunk: lib/lyx2lyx/LyX.py lib/lyx2...

2007-10-23 Thread Richard Heck
Some of what needs fixing here will be fixed in the next commit, e.g., whitespace, parentheses. rh [EMAIL PROTECTED] wrote: Author: rgheck Date: Tue Oct 23 17:02:15 2007 New Revision: 21149 URL: http://www.lyx.org/trac/changeset/21149 Log: InsetInclude becomes an InsetCommand.

Re: [PATCH] InsetInclude -- InsetCommand

2007-10-23 Thread Georg Baum
Richard Heck wrote: The attached patch finishes this bit of work, left over from the InsetCommand conversion. Comments welcome before I commit. I don't have time to read the patch, but this goes definitely into the right direction. Since I was thinking to do the very same thing some time ago

Re: Patch Candidate List #6

2007-10-23 Thread Jürgen Spitzmüller
Enrico Forestieri wrote: If so, do you really have to enter this loop in knownLangChars in any case? Can't you return earlier if a proper language is set? I guess you only need to do the check for if (prefixIs(latex1, from_ascii(\\ + preamble))) before the loop, no? Yes, but why? You

Re: [Cvslog] r20963 - /lyx-devel/trunk/src/insets/InsetHyperlink.cpp

2007-10-23 Thread Georg Baum
Uwe Stöhr wrote: I couldn't get to make .find() work with docstrings. Could you implement this? No time. But docstrings work exactly like std::string, so you should not need to do more than changing the types string-docstring and char-char_type. This is what I did but I get

crash 1.5.2 with math

2007-10-23 Thread Edwin Leuven
recipe: insert a 3x1 math matrix put cursor in 1st cell type a home shift-end arrow down ctrl-c ctrl-v 1.5.2 crashes, but trunk doesn't like it either: Line ~0: Math parse error: The input stream is not well...

Re: [Patch] User guide

2007-10-23 Thread Georg Baum
Martin Vermeer wrote: Converting old, manually inserted LaTeX constructs in lyx2lyx could be an endless job BTW. Not only the escaped LaTeX active characters, but also manually inserted things like \textbf{...}. Is it worth even trying? What are the most common constructs worth doing? IMHO

Re: LaTex progress widget

2007-10-23 Thread Georg Baum
Peter Kümmel wrote: Jean-Marc Lasgouttes wrote: A naive question: what does QProcess gives us that popen would not provide for this particular use case? Or is it that windows does not provide popen? It does, and LyX already uses it. I don't know how to get the output of the process. Use

Feedback to 1.5.2

2007-10-23 Thread Pavel Sanda
hi, i had to start some real work under 1.5.2 and after hour or so of work emerged this list of oddities: - when deleting first few lines of text inside Box in the way that there remains empty line, the cursor movement outside of Box does not make that empty line vanish. the same at the end

Re: [patch] Re: trunk doesn't compile, GuiPrefs, Qt 4.2.1

2007-10-23 Thread Andre Poenitz
On Tue, Oct 23, 2007 at 09:22:28AM +0200, Jean-Marc Lasgouttes wrote: Bo Peng [EMAIL PROTECTED] writes: #if QT_VERSION = 0x040200 - item-setForeground(0, QBrush(color)); - item-setForeground(1, QBrush(color)); + item-setForeground(0, QBrush(QColor(color))); +

Re: [PATCH] InsetInclude -- InsetCommand

2007-10-23 Thread Andre Poenitz
On Tue, Oct 23, 2007 at 04:26:31AM -0400, Richard Heck wrote: [...] By the way Richard, I always forget to ask you but... could you please add some 'air' in your replies? Adding some empty lines eases the reading... will do. *grin* I guess you'll need a second attempt ;-) Andre'

Re: [PATCH] InsetInclude -- InsetCommand

2007-10-23 Thread Richard Heck
Georg Baum wrote: Richard Heck wrote: The attached patch finishes this bit of work, left over from the InsetCommand conversion. Comments welcome before I commit. I don't have time to read the patch, but this goes definitely into the right direction. Since I was thinking to do the

Re: [Cvslog] r21149 - in /lyx-devel/trunk: lib/lyx2lyx/LyX.py lib/lyx2...

2007-10-23 Thread Andre Poenitz
On Tue, Oct 23, 2007 at 11:09:20AM -0400, Richard Heck wrote: Some of what needs fixing here will be fixed in the next commit, e.g., whitespace, parentheses. It usually works the other way round: First fix, then commit. At least for whitespace etc. this should be easy to follow...

Re: Feedback to 1.5.2

2007-10-23 Thread Jürgen Spitzmüller
Pavel Sanda wrote: i had to start some real work under 1.5.2 and after hour or so of work emerged this list of oddities: please file bug reports for these to remind us. I'll be busy next week. Jürgen

Re: Patch Candidate List #6

2007-10-23 Thread Enrico Forestieri
On Tue, Oct 23, 2007 at 05:24:52PM +0200, Jürgen Spitzmüller wrote: Enrico Forestieri wrote: +       // When the proper language is set, we are simply passed a code +       // point, so we should not try to close the \textLANG command. grammar fix, please.

Re: Patch Candidate List #6

2007-10-23 Thread Jürgen Spitzmüller
Enrico Forestieri wrote: No. Replace we are simply passed a code point by something that makes sense. Please, search for we are passed at the URLs below, then tell me what doesn't make sense. Aha, so that's passive voice (in the sense of we received a code point)?! This was obviously

Re: [Cvslog] r20963 - /lyx-devel/trunk/src/insets/InsetHyperlink.cpp

2007-10-23 Thread Martin Vermeer
On Tue, Oct 23, 2007 at 05:31:29PM +0200, Georg Baum wrote: Uwe Stöhr wrote: I couldn't get to make .find() work with docstrings. Could you implement this? No time. But docstrings work exactly like std::string, so you should not need to do more than changing the types

Re: [Patch] User guide

2007-10-23 Thread Martin Vermeer
On Tue, Oct 23, 2007 at 05:42:12PM +0200, Georg Baum wrote: Martin Vermeer wrote: Converting old, manually inserted LaTeX constructs in lyx2lyx could be an endless job BTW. Not only the escaped LaTeX active characters, but also manually inserted things like \textbf{...}. Is it worth

Re: Two-screen setup problem

2007-10-23 Thread franchi
On 10/23/07, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote: Stefano Franchi [EMAIL PROTECTED] writes: I recently posted on the Ly Users' forum about a problem with double monitor configuration. As I received no reply, I am trying again in the developers' forum: Here it is: I saw your

Re: Dynamic Macro - documentation and updated patch

2007-10-23 Thread Stefan Schimanski
Am 23.10.2007 um 08:59 schrieb Jean-Marc Lasgouttes: Stefan Schimanski [EMAIL PROTECTED] writes: Well, I reorganize the insets in the MathData. Not sure if it makes sense to use mutable here. In fact this question suggests that updateMacros should be called from somewhere else, not the

Re: [Cvslog] r21149 - in /lyx-devel/trunk: lib/lyx2lyx/LyX.py lib/lyx2...

2007-10-23 Thread Richard Heck
Andre Poenitz wrote: On Tue, Oct 23, 2007 at 11:09:20AM -0400, Richard Heck wrote: Some of what needs fixing here will be fixed in the next commit, e.g., whitespace, parentheses. It usually works the other way round: First fix, then commit. At least for whitespace etc. this should

Re: [Cvslog] r20963 - /lyx-devel/trunk/src/insets/InsetHyperlink.cpp

2007-10-23 Thread Uwe Stöhr
No, they are not treated as before. A \% in an URL style results now in \\\% in .tex file, previously it resulted in \%. This is IMHO not acceptable. I said: When you have a LyX file created with LyX 1.5 or before that contains \% in a URL inset, this will be converted to an URL character

Re: New Warning: Bo?

2007-10-23 Thread Bernhard Roider
Richard Heck schrieb: Someone should check this out: LyXFunc.cpp:2410: warning: enumeration value 'RC_DEFFILE' not handled in switch i think it's my fault. i'll have a look at it the next days. bernhard

SCons problem when executing update_po

2007-10-23 Thread Uwe Stöhr
Hello Bo, when I execute: scons update_po I get this error message: scons: *** Source `D:\LyXSVN\lyx-devel\src\LayoutPtr.h' not found, needed by target `D:\LyXSVN\lyx-devel\po\POTFILES.in'. Stop. But there is no longer a POTFILES.in in trunk but the new lyx_pot.py. Could you have a look

Re: Return doesnt work in trunk

2007-10-23 Thread Pavel Sanda
hi, when i press enter in text i get the note character instead of new line. can anybody confirm ? slightly different receipt: 1. new file 2. tools preferences, change something so you can use apply button 3. go back to edit nad try to put enter or backspace still i'm the only one

Re: Return doesnt work in trunk

2007-10-23 Thread Enrico Forestieri
On Tue, Oct 23, 2007 at 11:43:22PM +0200, Pavel Sanda wrote: hi, when i press enter in text i get the note character instead of new line. can anybody confirm ? slightly different receipt: 1. new file 2. tools preferences, change something so you can use apply button 3. go back to edit

Re: Patch Candidate List #6

2007-10-23 Thread Enrico Forestieri
On Tue, Oct 23, 2007 at 05:24:52PM +0200, Jürgen Spitzmüller wrote: Enrico Forestieri wrote: If so, do you really have to enter this loop in knownLangChars in any case? Can't you return earlier if a proper language is set? I guess you only need to do the check for if (prefixIs(latex1,

Re: [Patch] Bug 2739 - Alphabetical sort of environments in the toolbar

2007-10-23 Thread Pavel Sanda
besides all the previous comments i see now one problem, which has to be resolved before the patch can go in. aha, this problem is in trunk itself. so use the last posted patch. pavel

Re: Return doesnt work in trunk

2007-10-23 Thread Pavel Sanda
still i'm the only one experiencing this ? No, you're not alone. Here's another one: 1. open any file 2. View-Source 3. File-Close LyX crashes. confirmed. i added both to wiki regressions. pavel

Re: Return doesnt work in trunk

2007-10-23 Thread Andre Poenitz
On Tue, Oct 23, 2007 at 11:43:22PM +0200, Pavel Sanda wrote: hi, when i press enter in text i get the note character instead of new line. can anybody confirm ? slightly different receipt: 1. new file 2. tools preferences, change something so you can use apply button 3. go back to edit

Re: ERT bug with RTL

2007-10-23 Thread Dov Feldstern
Martin Vermeer wrote: On Mon, 22 Oct 2007 23:33:32 +0200 Dov Feldstern [EMAIL PROTECTED] wrote: This thread is about a separate problem, which is due to Martin's change in r21121. I have described above what the problem is, and provided a sample file with both the incorrect output, and

Re: Return doesnt work in trunk

2007-10-23 Thread Richard Heck
Andre Poenitz wrote: On Tue, Oct 23, 2007 at 11:43:22PM +0200, Pavel Sanda wrote: hi, when i press enter in text i get the note character instead of new line. can anybody confirm ? slightly different receipt: 1. new file 2. tools preferences, change something so you can use apply

Re: InsetCommandParams Question

2007-10-23 Thread Richard Heck
Sorry for the top-post, but, after lots of thought about this, I've come to the conclusion that Georg is right, and we shouldn't go the way I was suggesting. There's then a different design problem that arises, but I'll post a note about that later. That said: IMHO the text classes are

Re: SCons problem when executing update_po

2007-10-23 Thread Bo Peng
I get this error message: scons: *** Source `D:\LyXSVN\lyx-devel\src\LayoutPtr.h' not found, needed by target `D:\LyXSVN\lyx-devel\po\POTFILES.in'. Stop. But there is no longer a POTFILES.in in trunk but the new lyx_pot.py. Could you have a look to make update_po work again when you find

Re: SCons problem when executing update_po

2007-10-23 Thread Uwe Stöhr
Bo Peng schrieb: But there is no longer a POTFILES.in in trunk but the new lyx_pot.py. Could you have a look to make update_po work again when you find time? Fixed. Not yet. Now I get scons: *** Source `D:\LyXSVN\lyx-devel\src\TextClass_sptr.h' not found, needed by target

Design Problem: HELP

2007-10-23 Thread Richard Heck
In reworking the InsetCommand stuff, I've run into the following problem. Each InsetCommand needs to have an InsetCommandParams to represent its parameters. At present, it is assumed that the parameters an InsetCommand accepts are determined statically, by the C++ type of the inset. For

Is There a Better Way To Do This?

2007-10-23 Thread Richard Heck
This is very boring: CommandInfo const * InsetCommandParams::findInfo( InsetCode code, std::string const cmdName) { switch (code) { case BIBITEM_CODE: return InsetBibitem::findInfo(cmdName); case BIBTEX_CODE: return InsetBibtex::findInfo(cmdName); case CITE_CODE:

Re: Patch Candidate List #6

2007-10-23 Thread Bennett Helm
On Oct 22, 2007, at 3:57 AM, Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: ? http://www.lyx.org/trac/changeset/20523 - Crash fix for in mathed cursor. Don't think so (Abdel?) Not sure. The patch fix the crash but also enable paragraph settings when the cursor is within mathed. If we

Re: ERT bug with RTL

2007-10-23 Thread Martin Vermeer
On Wed, Oct 24, 2007 at 12:51:00AM +0200, Dov Feldstern wrote: Martin Vermeer wrote: On Mon, 22 Oct 2007 23:33:32 +0200 Dov Feldstern [EMAIL PROTECTED] wrote: This thread is about a separate problem, which is due to Martin's change in r21121. I have described above what the problem is, and

Re: SCons problem when executing update_po

2007-10-23 Thread Bo Peng
Not yet. Now I get scons: *** Source `D:\LyXSVN\lyx-devel\src\TextClass_sptr.h' not found, needed by target `D:\LyXSVN\lyx-devel\po\POTFILES.in'. Stop. There is currently no such file TextClass_sptr.h in SVN. But anyway, there's still the code in SCons to create a Potfiles.in although

Re: Is There a Better Way To Do This?

2007-10-23 Thread Andre Poenitz
On Tue, Oct 23, 2007 at 10:05:10PM -0400, Richard Heck wrote: This is very boring: CommandInfo const * InsetCommandParams::findInfo( InsetCode code, std::string const cmdName) { switch (code) { case BIBITEM_CODE: return InsetBibitem::findInfo(cmdName); case

Re: [Cvslog] r21127 - /lyx-devel/trunk/src/Paragraph.cpp

2007-10-23 Thread Andre Poenitz
On Tue, Oct 23, 2007 at 12:13:55AM +0200, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | On Mon, Oct 22, 2007 at 10:41:13PM +0200, Abdelrazak Younes wrote: > | > Andre Poenitz wrote: > | > >On Mon, Oct 22, 2007 at 08:05:42PM -, [EMAIL PROTECTED] wrote: > | >

Re: Patch Candidate List #6

2007-10-23 Thread Jürgen Spitzmüller
Enrico Forestieri wrote: > Here it is. May I apply it? A few questions and comments. Generally: do I get it right that knownLangChars knows that the proper lang is set from the return value of latexChar? I.e., if the language is set to greek, econding.latexChar returns 'α', while it returns

Re: Buffer & LaTeX

2007-10-23 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > Actually it's starting to scare me... > > Andel ^^^ it really should. Jürgen

Re: shortcuts

2007-10-23 Thread Andre Poenitz
On Mon, Oct 22, 2007 at 05:38:55PM -0500, Bo Peng wrote: > I adapt Edwin's patch to lyx, with two glitches > > 1. I need to record multiple keystrokes. > 2. I need to write A-, instead of Alt+ > > Abdel, am I adding the ShortcutEdit correctly? I remove the lineedit > from the ui file, and copy

Re: [Cvslog] r21139 - in /lyx-devel/branches/personal/rgheck/icp: lib/...

2007-10-23 Thread Andre Poenitz
On Tue, Oct 23, 2007 at 02:22:33AM -, [EMAIL PROTECTED] wrote: > Modified: lyx-devel/branches/personal/rgheck/icp/src/frontends/qt4/GuiRef.h > URL: > http://www.lyx.org/trac/file/lyx-devel/branches/personal/rgheck/icp/src/frontends/qt4/GuiRef.h?rev=21139 >

Re: Buffer & LaTeX

2007-10-23 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: Actually it's starting to scare me... Andel ^^^ it really should. That was a tentative of humor actually ;-) Abdel.

Re: [Cvslog] r21127 - /lyx-devel/trunk/src/Paragraph.cpp

2007-10-23 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Andre Poenitz <[EMAIL PROTECTED]> writes: | On Mon, Oct 22, 2007 at 10:41:13PM +0200, Abdelrazak Younes wrote: | > Andre Poenitz wrote: | > >On Mon, Oct 22, 2007 at 08:05:42PM -, [EMAIL PROTECTED] wrote: | > >>Author: younes | > >>Date: Mon Oct 22 22:05:41 2007 |

Re: [PATCH] InsetInclude --> InsetCommand

2007-10-23 Thread Richard Heck
Angus Leeming wrote: Richard Heck wrote: The attached patch finishes this bit of work, left over from the InsetCommand conversion. Comments welcome before I commit. This sort of change gives me a nice, warm, fuzzy feeling. It's obvious you've done something right when you can remove

Re: shortcuts

2007-10-23 Thread Abdelrazak Younes
Bo Peng wrote: I adapt Edwin's patch to lyx, with two glitches 1. I need to record multiple keystrokes. 2. I need to write A-, instead of Alt+ Abdel, am I adding the ShortcutEdit correctly? I remove the lineedit from the ui file, and copy the original code from blah_ui.h to GuiPrefs.cpp.

Re: [Cvslog] r21139 - in /lyx-devel/branches/personal/rgheck/icp: lib/...

2007-10-23 Thread Richard Heck
thanks as always Andre Poenitz wrote: On Tue, Oct 23, 2007 at 02:22:33AM -, [EMAIL PROTECTED] wrote: Modified: lyx-devel/branches/personal/rgheck/icp/src/frontends/qt4/GuiRef.h URL:

  1   2   >