Why InsetListings does not inherit from InsetFloat?

2008-03-07 Thread Abdelrazak Younes
InsetListings has the look and the feel of a float, so isn't it so? Abdel.

Re: About macro and child buffers

2008-03-07 Thread Stefan Schimanski
I am sorry to say this only now but I am worried about future maintenance of the code. So, if you agree with me and you have the time, please try to do those change before 1.6.0. I know about the complexity. What I really want to do for some time is the following which dramatically reduces

Re: [patch BRANCH] insertInset

2008-03-07 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: Well, the first change is straight forward, Right. See attached patch. but I do not know what is the right semantics to use for the second problem. Me neither. Jürgen Index: src/Text3.cpp === ---

cangeset 23520

2008-03-07 Thread Uwe Stöhr
Hello Bernhard, could you please also add a description of bm.sty to the LaTeXConfig.lyx file and add bm to the checked packages in chkconfig.ltx? thanks and regards Uwe

changeset/23527

2008-03-07 Thread Uwe Stöhr
André, could you please also take care of SCons when deleting/adding/moving files. (I know that you don't use SCons, but I don't use Make but I take care of the Makefiles.) regards Uwe

Re: A few questions

2008-03-07 Thread Raymond Martin
On 6 March 2008 16:52:41 Pavel Sanda wrote: thank you for the detailed description, i'm starting have a clue what you have in mind. its clear these two things are orthogonal - at most bilingual mode could exercise your WM tool as a part of editing process. Perhaps. I will have to look at

Re: Missing \end_layout

2008-03-07 Thread Jürgen Spitzmüller
rgheck wrote: I'm getting some errors when opening the User's Guide etc: Unknown token, Undefinable structure, skipping. Unknown token, \end_layout, skipping. Paragraph ended in line 16837 Missing \end_layout. Unknown token, subcaptionText, skipping. Unknown token, Platypus, skipping.

Re: Missing \end_layout

2008-03-07 Thread José Matos
On Friday 07 March 2008 11:50:05 Jürgen Spitzmüller wrote: Looks like my conversion routine for subfloats is not yet perfect. José, could you have a look at this too, when you fix revert_subfig? Sure. Thanks, Jürgen -- José Abílio

The wiki page Mac.Mac now requiers a password

2008-03-07 Thread christian . ridderstrom
Hi, I changed the wiki page Mac.Mac so that it now requires the usual password, i.e. the one mentioned in the file /home/lyx/www/pmwiki/passwords.txt on aussie (a.k.a. wiki.lyx.org etc). Whenever I add a password to a wiki page (which I generally would like to avoid), I try to make

Re: Layout Categories

2008-03-07 Thread Stefan Schimanski
Am 06.03.2008 um 07:23 schrieb rgheck: This is in. See 23501-3. You want Layout::category(). inline: Bild 3.png Stefan

Re: Layout Categories

2008-03-07 Thread Edwin Leuven
nice. would unnumbered not be better than starred?

Re: Layout Categories

2008-03-07 Thread Jean-Marc Lasgouttes
Edwin Leuven [EMAIL PROTECTED] writes: nice. would unnumbered not be better than starred? Unnumbered sections, even. And is it possible (optionally?), to show that as a hierarchical menu? Or a double-column think like the mac file selector? JMarc

Re: Layout Categories

2008-03-07 Thread Stefan Schimanski
Am 07.03.2008 um 16:21 schrieb Jean-Marc Lasgouttes: Edwin Leuven [EMAIL PROTECTED] writes: nice. would unnumbered not be better than starred? Unnumbered sections, even. And is it possible (optionally?), to show that as a hierarchical menu? Or a double-column think like the mac file

Re: Layout Categories

2008-03-07 Thread Stefan Schimanski
Am 07.03.2008 um 16:14 schrieb Edwin Leuven: nice. would unnumbered not be better than starred? Should we put a translation step in between the TextClass and the layout list? If yes, how? Just a big case distinction, mapping TextClass categories to visible category names? Stefan

Re: Layout Categories

2008-03-07 Thread Jean-Marc Lasgouttes
Stefan Schimanski [EMAIL PROTECTED] writes: Should we put a translation step in between the TextClass and the layout list? If yes, how? Just a big case distinction, mapping TextClass categories to visible category names? You mean translation by gettext? Sure. But I am not sure this is what

Re: Layout Categories

2008-03-07 Thread Jean-Marc Lasgouttes
Stefan Schimanski [EMAIL PROTECTED] writes: And is it possible (optionally?), to show that as a hierarchical menu? Or a double-column think like the mac file selector? Don't whether QComboBox supports tree models. One has to check. I can easily provide a model to it with a tree structure. A

Re: Layout Categories

2008-03-07 Thread Stefan Schimanski
Am 07.03.2008 um 16:49 schrieb Jean-Marc Lasgouttes: Stefan Schimanski [EMAIL PROTECTED] writes: Should we put a translation step in between the TextClass and the layout list? If yes, how? Just a big case distinction, mapping TextClass categories to visible category names? You mean

Re: Layout Categories

2008-03-07 Thread Jean-Marc Lasgouttes
Stefan Schimanski [EMAIL PROTECTED] writes: Ok, that's what I meant. So the category there is supposed to be the string shown in the list. Yes. JMarc

amsmaths.inc

2008-03-07 Thread Jean-Pierre Chrétien
Hello, While creating a new layout, I had an error (\theoremstyle missing). Jean-Marc pointed out that this was defined in amsthm.sty. Checking AMS in Document-Settings is useless, this does not load amsthm, only amsmath and amsfonts. I guess that this patch --- amsmaths.inc.orig 2008-03-07

Re: changeset/23527

2008-03-07 Thread Andre Poenitz
On Fri, Mar 07, 2008 at 11:40:01AM +0100, Uwe Stöhr wrote: André, could you please also take care of SCons when deleting/adding/moving files. (I know that you don't use SCons, but I don't use Make but I take care of the Makefiles.) I'll try to do better in the future. Andre' PS: On the

Re: Layout Categories

2008-03-07 Thread Andre Poenitz
On Fri, Mar 07, 2008 at 04:34:25PM +0100, Stefan Schimanski wrote: Am 07.03.2008 um 16:21 schrieb Jean-Marc Lasgouttes: Edwin Leuven [EMAIL PROTECTED] writes: nice. would unnumbered not be better than starred? Unnumbered sections, even. And is it possible (optionally?), to show that as

kb_action

2008-03-07 Thread Andre Poenitz
What would be a good name for the 'kb_action' enum? It's a bit similar to 'InsetCode'... LFunCode? FunctionCode? FuncCode? Andre'

Re: kb_action

2008-03-07 Thread Pavel Sanda
What would be a good name for the 'kb_action' enum? It's a bit similar to 'InsetCode'... LFunCode? +1 FunctionCode? FuncCode? p

Re: kb_action

2008-03-07 Thread Abdelrazak Younes
Andre Poenitz wrote: What would be a good name for the 'kb_action' enum? It's a bit similar to 'InsetCode'... LFunCode? FunctionCode? FuncCode? FuncCode looks good, inline with FuncRequest. Abdel.

Re: Layout Categories

2008-03-07 Thread Stefan Schimanski
Am 07.03.2008 um 19:40 schrieb Andre Poenitz: On Fri, Mar 07, 2008 at 04:34:25PM +0100, Stefan Schimanski wrote: Am 07.03.2008 um 16:21 schrieb Jean-Marc Lasgouttes: Edwin Leuven [EMAIL PROTECTED] writes: nice. would unnumbered not be better than starred? Unnumbered sections, even.

Re: amsmaths.inc

2008-03-07 Thread rgheck
Jean-Pierre Chrétien wrote: Hello, While creating a new layout, I had an error (\theoremstyle missing). Jean-Marc pointed out that this was defined in amsthm.sty. Checking AMS in Document-Settings is useless, this does not load amsthm, only amsmath and amsfonts. I guess that this patch ---

Re: cangeset 23520 - crash

2008-03-07 Thread Bernhard Roider
Uwe Stöhr schrieb: Hello Bernhard, could you please also add a description of bm.sty to the LaTeXConfig.lyx I tried to open this document with current trunk and got a crash. The attached patch avoids the crash but someone familiar with InsetText.cpp should have a look at it. bernhard

Re: cangeset 23520 - crash

2008-03-07 Thread Bernhard Roider
Uwe Stöhr schrieb: Hello Bernhard, could you please also add a description of bm.sty to the LaTeXConfig.lyx I tried to open this document with current trunk and got a crash. The attached patch avoids the crash but someone familiar with InsetText.cpp should have a look at it. bernhard

Re: cangeset 23520 - crash

2008-03-07 Thread Abdelrazak Younes
Bernhard Roider wrote: Uwe Stöhr schrieb: Hello Bernhard, could you please also add a description of bm.sty to the LaTeXConfig.lyx I tried to open this document with current trunk and got a crash. The attached patch avoids the crash but someone familiar with InsetText.cpp should have a

Re: Why InsetListings does not inherit from InsetFloat?

2008-03-07 Thread Bo Peng
On Fri, Mar 7, 2008 at 3:01 AM, Abdelrazak Younes [EMAIL PROTECTED] wrote: InsetListings has the look and the feel of a float, so isn't it so? Because we need to enter verbatim code in this inset, although InsetERT does a bad job in the handling of spaces and tabs. Bo

svnusers can now read passwords.txt (Was: The wiki page Mac.Mac now requiers a password)

2008-03-07 Thread christian . ridderstrom
This file /home/lyx/www/pmwiki/passwords.txt used to only be readable by members of the group 'wiki'. I've now changed this to 'svnusers'. So hopefully most developers can now read it. Best regards, /Christian -- Christian Ridderström, +46-8-768 39 44

InsetText Crash

2008-03-07 Thread rgheck
I've fixed the crash reported by Bernhard at r23549. But I'm still puzzled about something. The crash is probably a consequence of my attempt to work on Paragraph.cpp, but I'm not sure exactly what's happened. The backtrace gives me a crash in the Layout constructor, and from there in

Re: InsetText Crash

2008-03-07 Thread rgheck
One more clue: It's a docstring, basic_stringwchar_t, according ot gdb. rh rgheck wrote: I've fixed the crash reported by Bernhard at r23549. But I'm still puzzled about something. The crash is probably a consequence of my attempt to work on Paragraph.cpp, but I'm not sure exactly what's

unrtf

2008-03-07 Thread Pavel Sanda
hi, if there are no objections i would like to add this convertor to configure script. pavel diff --git a/lib/configure.py b/lib/configure.py index 84bbbe6..76057ef 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -390,6 +390,9 @@ def checkConverterEntries(): checkProg('a LaTeX - RTF

Re: InsetText Crash

2008-03-07 Thread rgheck
Ignore all of this: I finally figured out what the problem was. rh One more clue: It's a docstring, basic_stringwchar_t, according ot gdb. rh rgheck wrote: I've fixed the crash reported by Bernhard at r23549. But I'm still puzzled about something. The crash is probably a consequence of

Re: amsmaths.inc

2008-03-07 Thread Paul A. Rubin
Jean-Pierre Chrétien wrote: I guess that this patch --- amsmaths.inc.orig 2008-03-07 18:52:57.501637000 +0100 +++ amsmaths.inc2008-03-07 17:43:27.94189 +0100 @@ -68,6 +68,7 @@ Series Bold EndFont Preamble + \usepackage{amsthm}

Re: InsetText Crash

2008-03-07 Thread Andre Poenitz
On Fri, Mar 07, 2008 at 07:16:50PM -0500, rgheck wrote: I've fixed the crash reported by Bernhard at r23549. But I'm still puzzled about something. The crash is probably a consequence of my attempt to work on Paragraph.cpp, but I'm not sure exactly what's happened. The backtrace gives me a

Re: InsetText Crash

2008-03-07 Thread Andre Poenitz
On Fri, Mar 07, 2008 at 07:16:50PM -0500, rgheck wrote: I've fixed the crash reported by Bernhard at r23549. But I'm still puzzled about something. The crash is probably a consequence of my attempt to work on Paragraph.cpp, but I'm not sure exactly what's happened. The backtrace gives me a

Why InsetListings does not inherit from InsetFloat?

2008-03-07 Thread Abdelrazak Younes
InsetListings has the look and the feel of a float, so isn't it so? Abdel.

Re: About macro and child buffers

2008-03-07 Thread Stefan Schimanski
I am sorry to say this only now but I am worried about future maintenance of the code. So, if you agree with me and you have the time, please try to do those change before 1.6.0. I know about the complexity. What I really want to do for some time is the following which dramatically reduces

Re: [patch BRANCH] insertInset

2008-03-07 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Well, the first change is straight forward, Right. See attached patch. > but I do not know what is > the right semantics to use for the second problem. Me neither. Jürgen Index: src/Text3.cpp ===

cangeset 23520

2008-03-07 Thread Uwe Stöhr
Hello Bernhard, could you please also add a description of bm.sty to the LaTeXConfig.lyx file and add bm to the checked packages in chkconfig.ltx? thanks and regards Uwe

changeset/23527

2008-03-07 Thread Uwe Stöhr
André, could you please also take care of SCons when deleting/adding/moving files. (I know that you don't use SCons, but I don't use Make but I take care of the Makefiles.) regards Uwe

Re: A few questions

2008-03-07 Thread Raymond Martin
On 6 March 2008 16:52:41 Pavel Sanda wrote: > thank you for the detailed description, i'm starting have a clue what you > have in mind. > its clear these two things are orthogonal - at most bilingual mode could > exercise > your WM tool as a part of editing process. Perhaps. I will have to look

Re: Missing \end_layout

2008-03-07 Thread Jürgen Spitzmüller
rgheck wrote: > I'm getting some errors when opening the User's Guide etc: > Unknown token, Undefinable structure, skipping. > Unknown token, \end_layout, skipping. > Paragraph ended in line 16837 > Missing \end_layout. > Unknown token, subcaptionText, skipping. > Unknown token, Platypus,

Re: Missing \end_layout

2008-03-07 Thread José Matos
On Friday 07 March 2008 11:50:05 Jürgen Spitzmüller wrote: > Looks like my conversion routine for subfloats is not yet perfect. José, > could you have a look at this too, when you fix revert_subfig? Sure. > Thanks, > Jürgen -- José Abílio

The wiki page Mac.Mac now requiers a password

2008-03-07 Thread christian . ridderstrom
Hi, I changed the wiki page Mac.Mac so that it now requires the usual password, i.e. the one mentioned in the file /home/lyx/www/pmwiki/passwords.txt on aussie (a.k.a. wiki.lyx.org etc). Whenever I add a password to a wiki page (which I generally would like to avoid), I try to make

Re: Layout Categories

2008-03-07 Thread Stefan Schimanski
Am 06.03.2008 um 07:23 schrieb rgheck: This is in. See 23501-3. You want Layout::category(). <> Stefan

Re: Layout Categories

2008-03-07 Thread Edwin Leuven
nice. would "unnumbered" not be better than "starred"?

Re: Layout Categories

2008-03-07 Thread Jean-Marc Lasgouttes
Edwin Leuven <[EMAIL PROTECTED]> writes: > nice. > > would "unnumbered" not be better than "starred"? "Unnumbered sections", even. And is it possible (optionally?), to show that as a hierarchical menu? Or a double-column think like the mac file selector? JMarc

Re: Layout Categories

2008-03-07 Thread Stefan Schimanski
Am 07.03.2008 um 16:21 schrieb Jean-Marc Lasgouttes: Edwin Leuven <[EMAIL PROTECTED]> writes: nice. would "unnumbered" not be better than "starred"? "Unnumbered sections", even. And is it possible (optionally?), to show that as a hierarchical menu? Or a double-column think like the mac

Re: Layout Categories

2008-03-07 Thread Stefan Schimanski
Am 07.03.2008 um 16:14 schrieb Edwin Leuven: nice. would "unnumbered" not be better than "starred"? Should we put a translation step in between the TextClass and the layout list? If yes, how? Just a big case distinction, mapping TextClass categories to visible category names? Stefan

Re: Layout Categories

2008-03-07 Thread Jean-Marc Lasgouttes
Stefan Schimanski <[EMAIL PROTECTED]> writes: > Should we put a translation step in between the TextClass and the > layout list? If yes, how? Just a big case distinction, mapping > TextClass categories to visible category names? You mean translation by gettext? Sure. But I am not sure this is

Re: Layout Categories

2008-03-07 Thread Jean-Marc Lasgouttes
Stefan Schimanski <[EMAIL PROTECTED]> writes: >> And is it possible (optionally?), to show that as a hierarchical menu? >> Or a double-column think like the mac file selector? > > Don't whether QComboBox supports tree models. One has to check. I can > easily provide a model to it with a tree

Re: Layout Categories

2008-03-07 Thread Stefan Schimanski
Am 07.03.2008 um 16:49 schrieb Jean-Marc Lasgouttes: Stefan Schimanski <[EMAIL PROTECTED]> writes: Should we put a translation step in between the TextClass and the layout list? If yes, how? Just a big case distinction, mapping TextClass categories to visible category names? You mean

Re: Layout Categories

2008-03-07 Thread Jean-Marc Lasgouttes
Stefan Schimanski <[EMAIL PROTECTED]> writes: > Ok, that's what I meant. So the category there is supposed to be the > string shown in the list. Yes. JMarc

amsmaths.inc

2008-03-07 Thread Jean-Pierre Chrétien
Hello, While creating a new layout, I had an error (\theoremstyle missing). Jean-Marc pointed out that this was defined in amsthm.sty. Checking AMS in Document->Settings is useless, this does not load amsthm, only amsmath and amsfonts. I guess that this patch --- amsmaths.inc.orig 2008-03-07

Re: changeset/23527

2008-03-07 Thread Andre Poenitz
On Fri, Mar 07, 2008 at 11:40:01AM +0100, Uwe Stöhr wrote: > André, > > could you please also take care of SCons when deleting/adding/moving files. > (I know that you don't use SCons, but I don't use Make but I take care of > the Makefiles.) I'll try to do better in the future. Andre' PS: On

Re: Layout Categories

2008-03-07 Thread Andre Poenitz
On Fri, Mar 07, 2008 at 04:34:25PM +0100, Stefan Schimanski wrote: > > Am 07.03.2008 um 16:21 schrieb Jean-Marc Lasgouttes: > >> Edwin Leuven <[EMAIL PROTECTED]> writes: >> >>> nice. >>> >>> would "unnumbered" not be better than "starred"? >> >> "Unnumbered sections", even. >> >> And is it

kb_action

2008-03-07 Thread Andre Poenitz
What would be a good name for the 'kb_action' enum? It's a bit similar to 'InsetCode'... LFunCode? FunctionCode? FuncCode? Andre'

Re: kb_action

2008-03-07 Thread Pavel Sanda
> What would be a good name for the 'kb_action' enum? > It's a bit similar to 'InsetCode'... > > LFunCode? +1 > FunctionCode? > FuncCode? p

Re: kb_action

2008-03-07 Thread Abdelrazak Younes
Andre Poenitz wrote: What would be a good name for the 'kb_action' enum? It's a bit similar to 'InsetCode'... LFunCode? FunctionCode? FuncCode? FuncCode looks good, inline with FuncRequest. Abdel.

Re: Layout Categories

2008-03-07 Thread Stefan Schimanski
Am 07.03.2008 um 19:40 schrieb Andre Poenitz: On Fri, Mar 07, 2008 at 04:34:25PM +0100, Stefan Schimanski wrote: Am 07.03.2008 um 16:21 schrieb Jean-Marc Lasgouttes: Edwin Leuven <[EMAIL PROTECTED]> writes: nice. would "unnumbered" not be better than "starred"? "Unnumbered sections",

Re: amsmaths.inc

2008-03-07 Thread rgheck
Jean-Pierre Chrétien wrote: Hello, While creating a new layout, I had an error (\theoremstyle missing). Jean-Marc pointed out that this was defined in amsthm.sty. Checking AMS in Document->Settings is useless, this does not load amsthm, only amsmath and amsfonts. I guess that this patch ---

Re: cangeset 23520 - crash

2008-03-07 Thread Bernhard Roider
Uwe Stöhr schrieb: Hello Bernhard, could you please also add a description of bm.sty to the LaTeXConfig.lyx I tried to open this document with current trunk and got a crash. The attached patch avoids the crash but someone familiar with InsetText.cpp should have a look at it. bernhard

Re: cangeset 23520 - crash

2008-03-07 Thread Bernhard Roider
Uwe Stöhr schrieb: Hello Bernhard, could you please also add a description of bm.sty to the LaTeXConfig.lyx I tried to open this document with current trunk and got a crash. The attached patch avoids the crash but someone familiar with InsetText.cpp should have a look at it. bernhard

Re: cangeset 23520 - crash

2008-03-07 Thread Abdelrazak Younes
Bernhard Roider wrote: Uwe Stöhr schrieb: Hello Bernhard, could you please also add a description of bm.sty to the LaTeXConfig.lyx I tried to open this document with current trunk and got a crash. The attached patch avoids the crash but someone familiar with InsetText.cpp should have a

Re: Why InsetListings does not inherit from InsetFloat?

2008-03-07 Thread Bo Peng
On Fri, Mar 7, 2008 at 3:01 AM, Abdelrazak Younes <[EMAIL PROTECTED]> wrote: > InsetListings has the look and the feel of a float, so isn't it so? Because we need to enter verbatim code in this inset, although InsetERT does a bad job in the handling of spaces and tabs. Bo

svnusers can now read passwords.txt (Was: The wiki page Mac.Mac now requiers a password)

2008-03-07 Thread christian . ridderstrom
This file /home/lyx/www/pmwiki/passwords.txt used to only be readable by members of the group 'wiki'. I've now changed this to 'svnusers'. So hopefully most developers can now read it. Best regards, /Christian -- Christian Ridderström, +46-8-768 39 44

InsetText Crash

2008-03-07 Thread rgheck
I've fixed the crash reported by Bernhard at r23549. But I'm still puzzled about something. The crash is probably a consequence of my attempt to work on Paragraph.cpp, but I'm not sure exactly what's happened. The backtrace gives me a crash in the Layout constructor, and from there in

Re: InsetText Crash

2008-03-07 Thread rgheck
One more clue: It's a docstring, basic_string, according ot gdb. rh rgheck wrote: I've fixed the crash reported by Bernhard at r23549. But I'm still puzzled about something. The crash is probably a consequence of my attempt to work on Paragraph.cpp, but I'm not sure exactly what's

unrtf

2008-03-07 Thread Pavel Sanda
hi, if there are no objections i would like to add this convertor to configure script. pavel diff --git a/lib/configure.py b/lib/configure.py index 84bbbe6..76057ef 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -390,6 +390,9 @@ def checkConverterEntries(): checkProg('a LaTeX ->

Re: InsetText Crash

2008-03-07 Thread rgheck
Ignore all of this: I finally figured out what the problem was. rh One more clue: It's a docstring, basic_string, according ot gdb. rh rgheck wrote: I've fixed the crash reported by Bernhard at r23549. But I'm still puzzled about something. The crash is probably a consequence of my

Re: amsmaths.inc

2008-03-07 Thread Paul A. Rubin
Jean-Pierre Chrétien wrote: I guess that this patch --- amsmaths.inc.orig 2008-03-07 18:52:57.501637000 +0100 +++ amsmaths.inc2008-03-07 17:43:27.94189 +0100 @@ -68,6 +68,7 @@ Series Bold EndFont Preamble + \usepackage{amsthm}

Re: InsetText Crash

2008-03-07 Thread Andre Poenitz
On Fri, Mar 07, 2008 at 07:16:50PM -0500, rgheck wrote: > > I've fixed the crash reported by Bernhard at r23549. But I'm still puzzled > about something. The crash is probably a consequence of my attempt to work > on Paragraph.cpp, but I'm not sure exactly what's happened. The backtrace > gives

Re: InsetText Crash

2008-03-07 Thread Andre Poenitz
On Fri, Mar 07, 2008 at 07:16:50PM -0500, rgheck wrote: > > I've fixed the crash reported by Bernhard at r23549. But I'm still puzzled > about something. The crash is probably a consequence of my attempt to work > on Paragraph.cpp, but I'm not sure exactly what's happened. The backtrace > gives