LyX Development News 20001115

2000-11-15 Thread Allan Rae
Just out: http://www.lyx.org/news/20001115.php3 Allan. (ARRae)

Re: CVS: FormPreferences.h:110: parse error before `>'

2000-11-15 Thread Garst R. Reese
"Lars Gullik Bjønnes" wrote: > > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | Yes. I am now getting this very same error on Linux with gcc-2.95.2 as well. > | > | This is a clean checkout. > > I have a fix in my tree, but I'd like to compile it first and > since I am testing gcc 2.9

Re: [patch] default.ui

2000-11-15 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars> R> The File->Fax entry has gone. | | I reverted this change, as Lars> Dekel requested. Lars> Hmmm, but did he have a valid reason? The reason is that Fax is handled by

Re: [patch] default.ui

2000-11-15 Thread R. Lahaye
Jean-Marc Lasgouttes wrote: > The reason is that Fax is handled by sending to an external fax > program which does the GUI part. Is this the reason why my "Fax..." menu entry is always greyed out ? We could make it an OptItem in the menu. Then it won't bother people who don't have the external p

Re: [patch] default.ui

2000-11-15 Thread Jean-Marc Lasgouttes
> "R" == R Lahaye <[EMAIL PROTECTED]> writes: R> Is this the reason why my "Fax..." menu entry is always greyed out R> ? R> We could make it an OptItem in the menu. Then it won't bother R> people who don't have the external program, and it will R> automatically be there for those who have.

Re: [patch] default.ui

2000-11-15 Thread R. Lahaye
Jean-Marc Lasgouttes wrote: > > > "R" == R Lahaye <[EMAIL PROTECTED]> writes: > R> So is Item "Fax..." -> OptItem "Fax..." a reasonable compromise? > > Yes, I would say so. The attached patch does so. Rob. 2000_11_15.diff.bz2

Re: stray LyX-random-name files ?

2000-11-15 Thread Lars Gullik Bjønnes
"R. Lahaye" <[EMAIL PROTECTED]> writes: | Hi, | | In my LyX working directory (so NOT in the LyX /tmp directories), | I find occassionally filenames like: | | 3793.ohmZbg | 3793.hO9eVi | | All these files are empty (0 bytes). | Any idea where the files come from, why they are in my | working d

Re: CVS: FormPreferences.h:110: parse error before `>'

2000-11-15 Thread Garst R. Reese
"Garst R. Reese" wrote: > > It looks as though lyx is scribbling on some memory somewhere that it > shouldn't. > I can start other big stuff like netscape with no ill effects. > Garst Well, replying to myself. It looks like this is a linux kernel 2.4bleedingedge problem. 2.2.17 did not exhibit t

Re: CVS: FormPreferences.h:110: parse error before `>'

2000-11-15 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars, | | I've been looking at your fix. Sometimes you use | make_pair(string(), string()) | Sometimes | pair() | | which should I use? Indeed, should I use | string str1=...; | string str2=...; | make_pair(str1, str2) |

Re: Small patch for kbsequence.[Ch]

2000-11-15 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | ... under http://mathematik.htwm.de/tmp/kbmap.diff | | It only replaces this home made storages scheme for 'sequence' and | 'modifiers' with std::vector. | | Next step should be replacing this 'if length is negative' hack... I decided to include th

Re: CVS: FormPreferences.h:110: parse error before `>'

2000-11-15 Thread Angus Leeming
So, I can use tie(name,dir) in all those places where I've been doing: pair dir1(name, dir); ? I'll have a go. Here is another question for you. In LyXRC::output() there are the lines: //case RC_SET_COLOR: // color bindings not written to preference file.

Re: Gnome Documentation Project Template

2000-11-15 Thread Jose Abilio Oliveira Matos
On Mon, Oct 23, 2000 at 08:49:31PM -0400, David Burley wrote: > > Hello, > > I have been using LyX for a while now to write my LDP HOWTO. I have > decided I now want to work on a GDP Manual. However there is no template > for it for LyX and there are not selections for some of the docbook tags

Re: CVS: FormPreferences.h:110: parse error before `>'

2000-11-15 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | So, I can use tie(name,dir) in all those places where I've been doing: | pair dir1(name, dir); | ? I'll have a go. No... I don't think so... tie is used to move a returned pair into to separate variables. | Here is another question for y

LDN

2000-11-15 Thread Amir Karger
Well done, Allan. I like the thread thing, especially since I'm not reading lyx-users anymore. By the way, "it's new home" should be "its new home". "It's" is an abbreviation for "It is", while "Its" is an adjective meaning "belonging to it". Ah, I haven't been pedantic in a long time. -Amir

Re: LDN

2000-11-15 Thread Jose Abilio Oliveira Matos
On Wed, Nov 15, 2000 at 09:17:36AM -0500, Amir Karger wrote: > Well done, Allan. > > I like the thread thing, especially since I'm not reading lyx-users anymore. I intend to give it a similar look next time. Did you like the format? I'm trying several formats obeying two main principles:

Re: ["Steven T. Hatton" ] XML, SGML, DSSSL, DocBook: Newbie suggestions

2000-11-15 Thread Jose Abilio Oliveira Matos
On Tue, Aug 22, 2000 at 04:12:01PM +0200, Lars Gullik Bjønnes wrote: > Date: Mon, 21 Aug 2000 13:44:48 -0400 > From: "Steven T. Hatton" <[EMAIL PROTECTED]> > Subject: XML, SGML, DSSSL, DocBook: Newbie suggestions > To: [EMAIL PROTECTED] > X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.16 i686) >

Re: LDN

2000-11-15 Thread John Levon
On Wed, 15 Nov 2000, Jose Abilio Oliveira Matos wrote: > On Wed, Nov 15, 2000 at 09:17:36AM -0500, Amir Karger wrote: > > Well done, Allan. > > > > I like the thread thing, especially since I'm not reading lyx-users anymore. > > I intend to give it a similar look next time. Did you like the f

[PATCH] fix glue lengths for FormParagraph/Document

2000-11-15 Thread John Levon
As I reported a while ago, IsValidGlueLength is broken (it cannot handle the Glue part of the Length). Attached patch fixes it. I hope its good (comments on std c++ string usage welcome !) thanks john p.s. Baruch's www-devel patch looks good to me ... should I apply it or is someone el

Re: [PATCH] fix glue lengths for FormParagraph/Document

2000-11-15 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | | As I reported a while ago, IsValidGlueLength is broken (it cannot handle | the Glue part of the Length). | | Attached patch fixes it. I hope its good (comments on std c++ string usage | welcome !) no comments on c++ string usage... but some on

Re: FormPreferences patch

2000-11-15 Thread Angus Leeming
Two patches attached. patch1 is very small. Just a couple of tiny things. patch2 continues the FormPreferences clean up, but it also allows you to change the LyX LColors. A couple of bugs remain, but I'd be grateful of some help/advice. See the ChangeLog entry. Finally, a useability quest

Re: FormPreferences patch

2000-11-15 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | browser. Not a straight alphabetical sort, but into a "rainbow" sort so that | all names containing "red" ane grouped together, then those containing | "orange" etc. What do people think? Why not sort on rgb numbers? and also remove "indian red" if "

Re: FormPreferences patch

2000-11-15 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Why not sort on rgb numbers? and also remove "indian red" if Lars> "IndianRed" exists and have the same rgb value. How do you know which one should be removed? JMarc

Re: FormPreferences patch

2000-11-15 Thread John Levon
On Wed, 15 Nov 2000, Angus Leeming wrote: > Two patches attached. > > patch1 is very small. Just a couple of tiny things. > > patch2 continues the FormPreferences clean up, but > it also allows you to change the LyX LColors. > > A couple of bugs remain, but I'd be grateful of some help/adv

Re: [PATCH] fix glue lengths for FormParagraph/Document

2000-11-15 Thread John Levon
On 15 Nov 2000, Lars Gullik Bjønnes wrote: > John Levon <[EMAIL PROTECTED]> writes: > > | > | As I reported a while ago, IsValidGlueLength is broken (it cannot handle > | the Glue part of the Length). > | > | Attached patch fixes it. I hope its good (comments on std c++ string usage > | we

Re: FormPreferences patch

2000-11-15 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Why not sort on rgb numbers? and also remove "indian red" if | Lars> "IndianRed" exists and have the same rgb value. | | How do you know which one should be removed? ptt

Re: FormPreferences patch

2000-11-15 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | patch2 continues the FormPreferences clean up, but Why do we want to have: int IsDirWriteable (string const & path); bool IsFileReadable (string const & path); int IsFileWriteable (string const & path); _and_ (WriteableDir, ReadableDir, Writeabl

Re: FormPreferences patch

2000-11-15 Thread Angus Leeming
good question! Note that the new functions are more sophisticated than the old ones. In particular, they can tell you WHY the dir/file isn't read/writeable. Note also, that a writeable file need not yet exist but the directory should be writeable. Allan wrote them because he wanted the feedba

Re: FormPreferences patch

2000-11-15 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Note that the new functions are more sophisticated than the old ones. In | particular, they can tell you WHY the dir/file isn't read/writeable. I feel that this is a bit too much of hand holding. And they are not core support functions... I'd say move

Two C++ questions.

2000-11-15 Thread Angus Leeming
QUESTION 1 == If I have a struct NamedColor struct RGBColor { int r, g, b; }; struct NamedColor : public RGBColor { string name; }; and then I create a database of colors, so: vector colorDB; then why can't I do:

Re: FormPreferences patch

2000-11-15 Thread Angus Leeming
On Wednesday 15 November 2000 16:39, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > | Note that the new functions are more sophisticated than the old ones. In > | particular, they can tell you WHY the dir/file isn't read/writeable. > > I feel that this is a bit too much o

Re: Two C++ questions.

2000-11-15 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | QUESTION 1 | == | If I have a struct NamedColor | struct RGBColor { | int r, g, b; | }; | struct NamedColor : public RGBColor { | string name; | }; | | and then I create a database of colors,

Re: FormPreferences patch

2000-11-15 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | if( !ReadWriteInfo::ReadableFile(file) ) | std::cerr << ReadWriteInfo::ErrorMessage() << std::endl; | | I'll do this anyway and put it into xform_helpers.[Ch]. If you like it, we | can always move it into support. | | Does this mean that you a

Re: Two C++ questions.

2000-11-15 Thread Angus Leeming
Thank you. A On Wednesday 15 November 2000 16:56, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > | QUESTION 1 > | == > | If I have a struct NamedColor > | struct RGBColor { > | int r, g, b; > | }; > | struct NamedColor : public RGBColor {

Re: LDN

2000-11-15 Thread Amir Karger
On Wed, Nov 15, 2000 at 02:29:03PM +, Jose Abilio Oliveira Matos wrote: > On Wed, Nov 15, 2000 at 09:17:36AM -0500, Amir Karger wrote: > > I intend to give it a similar look next time. Did you like the format? Sure. > I'm trying several formats obeying two main principles: > > * lo

Update of Czech keyboard

2000-11-15 Thread Matej Cepl
I have just add apostroph mark to the Czech keyboard (as it is in fix2 release), see attached. Would anybody be so kind and put in in CVS, please? Thanks Matej Cepl # # Key definition file for Czech national keyboard for LyX - hope it's OK # # (c)1995 by Ivan Schreter, [EMAIL PROTECTED]